|
eXo Kernel :: Commons Utils 2.4.13-GA | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.exoplatform.commons.utils.ExoExpression
@Deprecated public class ExoExpression
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 |
|---|
protected static final int EOF
protected static final int BUFFER
public static String entryName
public static String outFileName
public static String pathOut
| Constructor Detail |
|---|
public ExoExpression()
| Method Detail |
|---|
public ByteArrayInputStream ZipExcute(InputStream is)
throws Exception
is - : InputStream
Exception
public ByteArrayInputStream ZipExcute(File file)
throws Exception
file - : File input
Exception - : FileNotFoundException
public ByteArrayInputStream ZipExcute(ByteArrayInputStream bytesStream)
throws Exception
bytesStream -
Exception
public ByteArrayInputStream ZipExcute(String url)
throws Exception
url -
Exception
public ByteArrayInputStream getZipOutputStream(ByteArrayInputStream bais)
throws Exception
Exception
public File getFileToByte(ByteArrayInputStream bais)
throws Exception
bais -
Exceptionpublic static void setEntry(String entry)
public static String getEntry()
public static void setOutFileName(String fileName)
fileName - : Name of File Zip outpublic static String getOutFileName()
public static void setPathOut(String dir)
dir - : Directory Outpublic static String getPathOut()
public String getDirOut()
public ByteArrayInputStream getZipByteToFolder(File input,
boolean containParent)
throws Exception
input - : File Folder inputcontainParent - = true Folder is Parent
Exception
public ZipOutputStream addToArchive(ZipOutputStream zipOutput,
InputStream input,
String entryName1)
throws Exception
Exception
|
eXo Kernel :: Commons Utils 2.4.13-GA | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||