eXo Kernel :: Commons Utils 2.4.10-UXP01

org.exoplatform.commons.utils
Class ExoExpression

java.lang.Object
  extended by org.exoplatform.commons.utils.ExoExpression

Deprecated.

@Deprecated
public class ExoExpression
extends Object

Created by The eXo Platform SAS Author : Chung Nguyen nguyenchung136@yahoo.com Feb 8, 2006


Field Summary
protected static int BUFFER
          Deprecated.  
static String entryName
          Deprecated.  
protected static int EOF
          Deprecated.  
static String outFileName
          Deprecated.  
static String pathOut
          Deprecated.  
 
Constructor Summary
ExoExpression()
          Deprecated.  
 
Method Summary
 ZipOutputStream addToArchive(ZipOutputStream zipOutput, InputStream input, String entryName1)
          Deprecated.  
 String getDirOut()
          Deprecated.  
static String getEntry()
          Deprecated.  
 File getFileToByte(ByteArrayInputStream bais)
          Deprecated. Create File with ByteArrInputStrem Zip
static String getOutFileName()
          Deprecated.  
static String getPathOut()
          Deprecated.  
 ByteArrayInputStream getZipByteToFolder(File input, boolean containParent)
          Deprecated. Mothed accept Zip one Folder and Return ByteArrayInputStream of it after Zip
 ByteArrayInputStream getZipOutputStream(ByteArrayInputStream bais)
          Deprecated. Method create File Zip with
static void setEntry(String entry)
          Deprecated.  
static void setOutFileName(String fileName)
          Deprecated.  
static void setPathOut(String dir)
          Deprecated.  
 ByteArrayInputStream ZipExcute(ByteArrayInputStream bytesStream)
          Deprecated. Method accept Zip one ByteArrayInputStream
 ByteArrayInputStream ZipExcute(File file)
          Deprecated. Method accept Zip one File
 ByteArrayInputStream ZipExcute(InputStream is)
          Deprecated. Method accept Zip one InputStream
 ByteArrayInputStream ZipExcute(String url)
          Deprecated. Method accept download File with URL and Zip it
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EOF

protected static final int EOF
Deprecated. 
See Also:
Constant Field Values

BUFFER

protected static final int BUFFER
Deprecated. 
See Also:
Constant Field Values

entryName

public static String entryName
Deprecated. 

outFileName

public static String outFileName
Deprecated. 

pathOut

public static String pathOut
Deprecated. 
Constructor Detail

ExoExpression

public ExoExpression()
Deprecated. 
Method Detail

ZipExcute

public ByteArrayInputStream ZipExcute(InputStream is)
                               throws Exception
Deprecated. 
Method accept Zip one InputStream

Parameters:
is - : InputStream
Returns:
: ByteArrayInputStream
Throws:
Exception

ZipExcute

public ByteArrayInputStream ZipExcute(File file)
                               throws Exception
Deprecated. 
Method accept Zip one File

Parameters:
file - : File input
Returns:
: ByteArrayInputStream
Throws:
Exception - : FileNotFoundException

ZipExcute

public ByteArrayInputStream ZipExcute(ByteArrayInputStream bytesStream)
                               throws Exception
Deprecated. 
Method accept Zip one ByteArrayInputStream

Parameters:
bytesStream -
Returns:
ByteArrayInputStream
Throws:
Exception

ZipExcute

public ByteArrayInputStream ZipExcute(String url)
                               throws Exception
Deprecated. 
Method accept download File with URL and Zip it

Parameters:
url -
Returns:
: ByteArrayInputStream
Throws:
Exception

getZipOutputStream

public ByteArrayInputStream getZipOutputStream(ByteArrayInputStream bais)
                                        throws Exception
Deprecated. 
Method create File Zip with

Throws:
Exception

getFileToByte

public File getFileToByte(ByteArrayInputStream bais)
                   throws Exception
Deprecated. 
Create File with ByteArrInputStrem Zip

Parameters:
bais -
Returns:
File Zip
Throws:
Exception

setEntry

public static void setEntry(String entry)
Deprecated. 

getEntry

public static String getEntry()
Deprecated. 

setOutFileName

public static void setOutFileName(String fileName)
Deprecated. 
Parameters:
fileName - : Name of File Zip out

getOutFileName

public static String getOutFileName()
Deprecated. 

setPathOut

public static void setPathOut(String dir)
Deprecated. 
Parameters:
dir - : Directory Out

getPathOut

public static String getPathOut()
Deprecated. 

getDirOut

public String getDirOut()
Deprecated. 
Returns:
Dir of Zip File

getZipByteToFolder

public ByteArrayInputStream getZipByteToFolder(File input,
                                               boolean containParent)
                                        throws Exception
Deprecated. 
Mothed accept Zip one Folder and Return ByteArrayInputStream of it after Zip

Parameters:
input - : File Folder input
containParent - = true Folder is Parent
Returns:
ByteArrayInputStream after Zip
Throws:
Exception

addToArchive

public ZipOutputStream addToArchive(ZipOutputStream zipOutput,
                                    InputStream input,
                                    String entryName1)
                             throws Exception
Deprecated. 
Throws:
Exception

eXo Kernel :: Commons Utils 2.4.10-UXP01

Copyright © 2014 eXo Platform SAS. All Rights Reserved.