public interface MFile extends Comparable<MFile>
Modifier and Type | Method and Description |
---|---|
int |
compareTo(MFile o) |
Object |
getAuxInfo() |
long |
getLastModified()
Get time of last modification at the time the MFile object was created
|
long |
getLength()
Size of file in bytes
|
String |
getName()
The name is the farthest element from the root in the directory hierarchy.
|
MFile |
getParent()
Get the parent of this
|
String |
getPath()
Get full path name, replace \\ with /
|
boolean |
isDirectory() |
void |
setAuxInfo(Object info) |
long getLastModified()
long getLength()
boolean isDirectory()
String getPath()
String getName()
MFile getParent() throws IOException
IOException
int compareTo(MFile o)
compareTo
in interface Comparable<MFile>
Object getAuxInfo()
void setAuxInfo(Object info)
Copyright © 1999–2019 UCAR/Unidata. All rights reserved.