org.exoplatform.services.compress
Class CompressData
java.lang.Object
org.exoplatform.services.compress.CompressData
public class CompressData
- extends Object
Created by The eXo Platform SAS Author : Chung Nguyen
nguyenchung136@yahoo.com Feb 10, 2006
|
Field Summary |
protected static int |
BUFFER
|
protected static int |
EOF
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EOF
protected static final int EOF
- See Also:
- Constant Field Values
BUFFER
protected static final int BUFFER
- See Also:
- Constant Field Values
CompressData
public CompressData()
CompressData
public CompressData(String base)
getBase
public String getBase()
addFile
public void addFile(String entryName,
File file)
addDir
public void addDir(File srcDir)
addInputStream
public void addInputStream(String entryName,
InputStream is)
throws Exception
- Throws:
Exception
createZipFile
public void createZipFile(String fileName)
throws Exception
- Throws:
Exception
createZip
public void createZip(OutputStream os)
throws Exception
- Throws:
Exception
createJarFile
public void createJarFile(String fileName)
throws Exception
- Throws:
Exception
createJar
public void createJar(OutputStream os)
throws Exception
- Throws:
Exception
cleanDataInstance
public void cleanDataInstance()
Copyright © 2015 eXo Platform SAS. All Rights Reserved.