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

java.lang.Object
  extended by com.sun.tools.javac.file.ZipFileIndex.ZipDirectory
Enclosing class:
ZipFileIndex

private class ZipFileIndex.ZipDirectory
extends java.lang.Object


Field Summary
private  RelativePath.RelativeDirectory lastDir
           
private  int lastLen
           
private  int lastStart
           
(package private)  byte[] zipDir
           
(package private)  ZipFileIndex zipFileIndex
           
(package private)  java.io.RandomAccessFile zipRandomFile
           
 
Constructor Summary
ZipFileIndex.ZipDirectory(java.io.RandomAccessFile zipRandomFile, long start, long end, ZipFileIndex index)
           
 
Method Summary
private  void buildIndex()
           
private  void findCENRecord(long start, long end)
           
private  int readEntry(int pos, java.util.List<ZipFileIndex.Entry> entryList, java.util.Map<RelativePath.RelativeDirectory,ZipFileIndex.DirectoryEntry> directories)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

lastDir

private RelativePath.RelativeDirectory lastDir

lastStart

private int lastStart

lastLen

private int lastLen

zipDir

byte[] zipDir

zipRandomFile

java.io.RandomAccessFile zipRandomFile

zipFileIndex

ZipFileIndex zipFileIndex
Constructor Detail

ZipFileIndex.ZipDirectory

public ZipFileIndex.ZipDirectory(java.io.RandomAccessFile zipRandomFile,
                                 long start,
                                 long end,
                                 ZipFileIndex index)
                          throws java.io.IOException
Throws:
java.io.IOException
Method Detail

findCENRecord

private void findCENRecord(long start,
                           long end)
                    throws java.io.IOException
Throws:
java.io.IOException

buildIndex

private void buildIndex()
                 throws java.io.IOException
Throws:
java.io.IOException

readEntry

private int readEntry(int pos,
                      java.util.List<ZipFileIndex.Entry> entryList,
                      java.util.Map<RelativePath.RelativeDirectory,ZipFileIndex.DirectoryEntry> directories)
               throws java.io.IOException
Throws:
java.io.IOException