public class ZipFileProxy
extends java.io.File
Constructor and Description |
---|
ZipFileProxy(java.io.File file,
java.net.URI base,
java.lang.String localZipRootPath)
Instantiates a new zip file proxy.
|
ZipFileProxy(java.lang.String name,
java.io.File file,
java.net.URI base,
java.lang.String localZipRootPath)
Instantiates a new zip file proxy.
|
Modifier and Type | Method and Description |
---|---|
boolean |
exists()
Exists.
|
java.net.URI |
getBase()
Gets the base.
|
java.io.File |
getCanonicalFile()
Gets the canonical file.
|
java.io.File[] |
getFiles(java.lang.String dir)
Gets the files.
|
java.lang.String |
getName()
Gets the name.
|
java.io.File |
getParentFile()
Gets the parent file.
|
java.lang.String |
getPath()
Gets the path.
|
canExecute, canRead, canWrite, compareTo, createNewFile, createTempFile, createTempFile, delete, deleteOnExit, equals, getAbsoluteFile, getAbsolutePath, getCanonicalPath, getFreeSpace, getParent, getTotalSpace, getUsableSpace, hashCode, isAbsolute, isDirectory, isFile, isHidden, lastModified, length, list, list, listFiles, listFiles, listFiles, listRoots, mkdir, mkdirs, renameTo, setExecutable, setExecutable, setLastModified, setReadable, setReadable, setReadOnly, setWritable, setWritable, toPath, toString, toURI, toURL
public ZipFileProxy(java.io.File file, java.net.URI base, java.lang.String localZipRootPath)
file
- the filebase
- the baselocalZipRootPath
- the local zip path (path inside the ZIP file) only files on this path will be includedpublic ZipFileProxy(java.lang.String name, java.io.File file, java.net.URI base, java.lang.String localZipRootPath)
name
- the namefile
- the filebase
- the baselocalZipRootPath
- the local zip path (path inside the ZIP file) only files on this path will be includedpublic java.lang.String getPath()
getPath
in class java.io.File
public boolean exists()
exists
in class java.io.File
public java.lang.String getName()
getName
in class java.io.File
public java.io.File getParentFile()
getParentFile
in class java.io.File
public java.io.File getCanonicalFile() throws java.io.IOException
getCanonicalFile
in class java.io.File
java.io.IOException
- Signals that an I/O exception has occurred.public java.net.URI getBase()
public java.io.File[] getFiles(java.lang.String dir)
dir
- the dirCopyright 2006-2015 Reporting Standard S.L., C/ Torrecilla del Puerto 1, 28043, Madrid, Espaņa