com.sun.tools.javac.file
Class ZipFileIndex.Entry

java.lang.Object
  extended by 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>


Field Summary
(package private)  int compressedSize
           
(package private)  RelativePath.RelativeDirectory dir
           
static ZipFileIndex.Entry[] EMPTY_ARRAY
           
(package private)  boolean isDir
           
(package private)  long javatime
           
(package private)  java.lang.String name
           
private  int nativetime
           
(package private)  int offset
           
(package private)  int size
           
 
Constructor Summary
ZipFileIndex.Entry(RelativePath.RelativeDirectory directory, java.lang.String name)
           
ZipFileIndex.Entry(RelativePath path)
           
 
Method Summary
 int compareTo(ZipFileIndex.Entry other)
           
private static long dosToJavaTime(int dtime)
           
 boolean equals(java.lang.Object o)
           
 java.lang.String getFileName()
           
 long getLastModified()
           
 java.lang.String getName()
           
 int hashCode()
           
 boolean isDirectory()
           
(package private)  void setNativeTime(int natTime)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

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
Constructor Detail

ZipFileIndex.Entry

public ZipFileIndex.Entry(RelativePath path)

ZipFileIndex.Entry

public ZipFileIndex.Entry(RelativePath.RelativeDirectory directory,
                          java.lang.String name)
Method Detail

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