static class JavaPath.OrdFileWrapper extends Object implements JavaPath.FileWrapper
file on a file system.| Constructor and Description |
|---|
OrdFileWrapper(File file) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
coversZip()
Returns whether the wrapped file is within a zip-archive.
|
File |
getFile()
Returns the file wrapped.
|
InputStream |
getInputStream()
Returns an input stream for the file wrapped.
|
private final File file
OrdFileWrapper(File file)
public boolean coversZip()
JavaPath.FileWrappercoversZip in interface JavaPath.FileWrapperboolean value signifying
whether the wrapped file is within a zip-archive.public File getFile()
JavaPath.FileWrapperFileWrapper.getFile in interface JavaPath.FileWrapperFile wrapped.public InputStream getInputStream() throws IOException
JavaPath.FileWrappergetInputStream in interface JavaPath.FileWrapperInputStream of the file wrapped.IOException - if an error occursCopyright © 2012–2018 Simuline Organization (l2r). All rights reserved.