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