com.sun.tools.javac.file
Class ZipFileIndex.Entry
java.lang.Object
com.sun.tools.javac.file.ZipFileIndex.Entry
- All Implemented Interfaces:
- java.lang.Comparable<ZipFileIndex.Entry>
- Enclosing class:
- ZipFileIndex
static class ZipFileIndex.Entry
- extends java.lang.Object
- implements java.lang.Comparable<ZipFileIndex.Entry>
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
EMPTY_ARRAY
public static final ZipFileIndex.Entry[] EMPTY_ARRAY
dir
RelativePath.RelativeDirectory dir
isDir
boolean isDir
name
java.lang.String name
offset
int offset
size
int size
compressedSize
int compressedSize
javatime
long javatime
nativetime
private int nativetime
ZipFileIndex.Entry
public ZipFileIndex.Entry(RelativePath path)
ZipFileIndex.Entry
public ZipFileIndex.Entry(RelativePath.RelativeDirectory directory,
java.lang.String name)
getName
public java.lang.String getName()
getFileName
public java.lang.String getFileName()
getLastModified
public long getLastModified()
dosToJavaTime
private static long dosToJavaTime(int dtime)
setNativeTime
void setNativeTime(int natTime)
isDirectory
public boolean isDirectory()
compareTo
public int compareTo(ZipFileIndex.Entry other)
- Specified by:
compareTo in interface java.lang.Comparable<ZipFileIndex.Entry>
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode in class java.lang.Object
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object