public class ZipDataSource extends Object implements DataSource
| Constructor and Description |
|---|
ZipDataSource(ZipFile zipFile,
ZipEntry zipEntry) |
| Modifier and Type | Method and Description |
|---|---|
InputStream |
getInputStream()
Get an InputStream on the source file.
|
String |
getNiceFileName(boolean shortNames,
String inputFileName)
Return a nice version of the filename.
|
public InputStream getInputStream() throws IOException
DataSourcegetInputStream in interface DataSourceIOException - if the file can't be openedpublic String getNiceFileName(boolean shortNames, String inputFileName)
DataSourcegetNiceFileName in interface DataSourceshortNames - true if short names are being usedinputFileName - name of a "master" file this file is relative toCopyright © 2002-2014 InfoEther. All Rights Reserved.