@Deprecated public class ExoExpression extends Object
| Modifier and Type | Field and Description |
|---|---|
protected static int |
BUFFER
Deprecated.
|
static String |
entryName
Deprecated.
|
protected static int |
EOF
Deprecated.
|
static String |
outFileName
Deprecated.
|
static String |
pathOut
Deprecated.
|
| Constructor and Description |
|---|
ExoExpression()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
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
|
protected static final int EOF
protected static final int BUFFER
public static String entryName
public static String outFileName
public static String pathOut
public ByteArrayInputStream ZipExcute(InputStream is) throws Exception
is - : InputStreamExceptionpublic ByteArrayInputStream ZipExcute(File file) throws Exception
file - : File inputException - : FileNotFoundExceptionpublic ByteArrayInputStream ZipExcute(ByteArrayInputStream bytesStream) throws Exception
bytesStream - Exceptionpublic ByteArrayInputStream ZipExcute(String url) throws Exception
url - Exceptionpublic ByteArrayInputStream getZipOutputStream(ByteArrayInputStream bais) throws Exception
Exceptionpublic 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 ParentExceptionpublic ZipOutputStream addToArchive(ZipOutputStream zipOutput, InputStream input, String entryName1) throws Exception
ExceptionCopyright © 2017 eXo Platform SAS. All Rights Reserved.