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
DataSource
getInputStream
in interface DataSource
IOException
- if the file can't be openedpublic String getNiceFileName(boolean shortNames, String inputFileName)
DataSource
getNiceFileName
in interface DataSource
shortNames
- true if short names are being usedinputFileName
- name of a "master" file this file is relative toCopyright © 2002-2015 InfoEther. All Rights Reserved.