org.exoplatform.services.compress
Class CompressData
java.lang.Object
org.exoplatform.services.compress.CompressData
public class CompressData
- extends java.lang.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(java.lang.String base)
addFile
public void addFile(java.lang.String entryName,
java.io.File file)
addDir
public void addDir(java.io.File srcDir)
addInputStream
public void addInputStream(java.lang.String entryName,
java.io.InputStream is)
throws java.lang.Exception
- Throws:
java.lang.Exception
createZipFile
public void createZipFile(java.lang.String fileName)
throws java.lang.Exception
- Throws:
java.lang.Exception
createZip
public void createZip(java.io.OutputStream os)
throws java.lang.Exception
- Throws:
java.lang.Exception
createJarFile
public void createJarFile(java.lang.String fileName)
throws java.lang.Exception
- Throws:
java.lang.Exception
createJar
public void createJar(java.io.OutputStream os)
throws java.lang.Exception
- Throws:
java.lang.Exception
cleanDataInstance
public void cleanDataInstance()
Copyright © 2010 eXo Platform SAS. All Rights Reserved.