|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.ole.utility.CompressUtils
public class CompressUtils
Class for Utility operations on File Compression.
Constructor Summary | |
---|---|
CompressUtils()
|
Method Summary | |
---|---|
File |
createZipFile(File sourceDir)
Method to zip all files in a given directory. |
File |
createZippedBagFile(File sourceDir)
Method to create a zipped bag file from a given source directory. |
void |
deleteFiles(List<File> files)
|
File |
extractZippedBagFile(String bagFilePath,
String toDir)
Method to extract a given zipped bag file to a given output directory or to a temp directory if toDir is null. |
ArrayList<File> |
getAllFilesList(File directory)
Method to get All Files List in a given directory. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CompressUtils()
Method Detail |
---|
public File createZipFile(File sourceDir) throws IOException
sourceDir
-
IOException
public File createZippedBagFile(File sourceDir) throws IOException
sourceDir
-
IOException
public File extractZippedBagFile(String bagFilePath, String toDir) throws IOException
bagFilePath
- toDir
-
IOException
public ArrayList<File> getAllFilesList(File directory)
directory
-
public void deleteFiles(List<File> files)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |