Package org.exoplatform.commons.utils
Class ExoExpression
java.lang.Object
org.exoplatform.commons.utils.ExoExpression
Deprecated.
Created by The eXo Platform SAS Author : Chung Nguyen
nguyenchung136@yahoo.com Feb 8, 2006
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddToArchive(ZipOutputStream zipOutput, InputStream input, String entryName1) Deprecated.Deprecated.static StringgetEntry()Deprecated.Deprecated.Create File with ByteArrInputStrem Zipstatic StringDeprecated.static StringDeprecated.getZipByteToFolder(File input, boolean containParent) Deprecated.Mothed accept Zip one Folder and Return ByteArrayInputStream of it after ZipDeprecated.Method create File Zip withstatic voidDeprecated.static voidsetOutFileName(String fileName) Deprecated.static voidsetPathOut(String dir) Deprecated.ZipExcute(ByteArrayInputStream bytesStream) Deprecated.Method accept Zip one ByteArrayInputStreamDeprecated.Method accept Zip one FileZipExcute(InputStream is) Deprecated.Method accept Zip one InputStreamDeprecated.Method accept download File with URL and Zip it
-
Field Details
-
EOF
protected static final int EOFDeprecated.- See Also:
-
BUFFER
protected static final int BUFFERDeprecated.- See Also:
-
entryName
Deprecated. -
outFileName
Deprecated. -
pathOut
Deprecated.
-
-
Constructor Details
-
ExoExpression
public ExoExpression()Deprecated.
-
-
Method Details
-
ZipExcute
Deprecated.Method accept Zip one InputStream- Parameters:
is- : InputStream- Returns:
- : ByteArrayInputStream
- Throws:
Exception
-
ZipExcute
Deprecated.Method accept Zip one File- Parameters:
file- : File input- Returns:
- : ByteArrayInputStream
- Throws:
Exception- : FileNotFoundException
-
ZipExcute
Deprecated.Method accept Zip one ByteArrayInputStream- Parameters:
bytesStream-- Returns:
- ByteArrayInputStream
- Throws:
Exception
-
ZipExcute
Deprecated.Method accept download File with URL and Zip it- Parameters:
url-- Returns:
- : ByteArrayInputStream
- Throws:
Exception
-
getZipOutputStream
Deprecated.Method create File Zip with- Throws:
Exception
-
getFileToByte
Deprecated.Create File with ByteArrInputStrem Zip- Parameters:
bais-- Returns:
- File Zip
- Throws:
Exception
-
setEntry
Deprecated. -
getEntry
Deprecated. -
setOutFileName
Deprecated.- Parameters:
fileName- : Name of File Zip out
-
getOutFileName
Deprecated. -
setPathOut
Deprecated.- Parameters:
dir- : Directory Out
-
getPathOut
Deprecated. -
getDirOut
Deprecated.- Returns:
- Dir of Zip File
-
getZipByteToFolder
Deprecated.Mothed accept Zip one Folder and Return ByteArrayInputStream of it after Zip- Parameters:
input- : File Folder inputcontainParent- = 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
-