public class MFileZip
extends java.lang.Object
implements thredds.inventory.MFile
| Modifier and Type | Class and Description |
|---|---|
static class |
MFileZip.Provider |
| Constructor and Description |
|---|
MFileZip(java.lang.String filename) |
MFileZip(java.util.zip.ZipFile file) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(thredds.inventory.MFile o) |
java.lang.Object |
getAuxInfo() |
long |
getLastModified() |
java.util.List<java.util.zip.ZipEntry> |
getLeafEntries() |
long |
getLength() |
java.lang.String |
getName() |
thredds.inventory.MFile |
getParent() |
java.lang.String |
getPath() |
java.nio.file.Path |
getRelativePath() |
java.nio.file.Path |
getRootPath() |
boolean |
isDirectory() |
boolean |
isReadable() |
void |
setAuxInfo(java.lang.Object info) |
public MFileZip(java.util.zip.ZipFile file)
throws java.io.IOException
java.io.IOExceptionpublic MFileZip(java.lang.String filename)
throws java.io.IOException
java.io.IOExceptionpublic long getLastModified()
getLastModified in interface thredds.inventory.MFilepublic long getLength()
getLength in interface thredds.inventory.MFilepublic boolean isDirectory()
isDirectory in interface thredds.inventory.MFilepublic boolean isReadable()
isReadable in interface thredds.inventory.MFilepublic java.lang.String getPath()
getPath in interface thredds.inventory.MFilepublic java.lang.String getName()
getName in interface thredds.inventory.MFilepublic thredds.inventory.MFile getParent()
getParent in interface thredds.inventory.MFilepublic int compareTo(thredds.inventory.MFile o)
compareTo in interface java.lang.Comparable<thredds.inventory.MFile>compareTo in interface thredds.inventory.MFilepublic java.lang.Object getAuxInfo()
getAuxInfo in interface thredds.inventory.MFilepublic void setAuxInfo(java.lang.Object info)
setAuxInfo in interface thredds.inventory.MFilepublic java.nio.file.Path getRootPath()
public java.nio.file.Path getRelativePath()
public java.util.List<java.util.zip.ZipEntry> getLeafEntries()