List of all members.
Static Public Member Functions |
| static File | doUnzip (String outputZipFile, File inputFile) throws IOException |
| | Given the full input path, unzip it to the file specified in the output path.
|
| static File | doZip (String outputZipFile, String inputFilePath) |
| | given the full input path, provide the zip file specified in the full output path
|
| static InputStream | createInputStream (URI uri) throws IOException |
| static boolean | getFileFromZip (URI uri, File outFile) |
Static Public Attributes |
| static final int | BUFFER = 2048 |
Member Function Documentation
| static InputStream createInputStream |
( |
URI |
uri | ) |
throws IOException [static] |
| static File doUnzip |
( |
String |
outputZipFile, |
|
|
File |
inputFile |
|
) |
| throws IOException [static] |
- Parameters:
-
| outputZipFile | The directory which will contain the contents of the zip file |
| inputFilePath | The path to the (non-remote) zip file |
- Returns:
- Exceptions:
-
| IOException | TODO add support for a generic progress feedback |
| static File doZip |
( |
String |
outputZipFile, |
|
|
String |
inputFilePath |
|
) |
| [static] |
- Parameters:
-
| outputZipFile | full output file path, including filename |
| inputFilePath | full input file path, specific filename optional |
- Returns:
| static boolean getFileFromZip |
( |
URI |
uri, |
|
|
File |
outFile |
|
) |
| [static] |
Member Data Documentation
final int BUFFER = 2048 [static] |
The documentation for this class was generated from the following file: