com.sun.tools.javac.file
Class SymbolArchive

java.lang.Object
  extended by com.sun.tools.javac.file.ZipArchive
      extended by com.sun.tools.javac.file.SymbolArchive
All Implemented Interfaces:
JavacFileManager.Archive

public class SymbolArchive
extends ZipArchive


Nested Class Summary
static class SymbolArchive.SymbolFileObject
          A subclass of JavaFileObject representing zip entries in a symbol file.
 
Nested classes/interfaces inherited from class com.sun.tools.javac.file.ZipArchive
ZipArchive.ZipFileObject
 
Field Summary
(package private)  java.io.File origFile
           
(package private)  RelativePath.RelativeDirectory prefix
           
 
Fields inherited from class com.sun.tools.javac.file.ZipArchive
fileManager, map, zdir
 
Constructor Summary
SymbolArchive(JavacFileManager fileManager, java.io.File orig, java.util.zip.ZipFile zdir, RelativePath.RelativeDirectory prefix)
           
 
Method Summary
(package private)  void addZipEntry(java.util.zip.ZipEntry entry)
           
 JavaFileObject getFileObject(RelativePath.RelativeDirectory subdirectory, java.lang.String file)
           
 java.lang.String toString()
           
 
Methods inherited from class com.sun.tools.javac.file.ZipArchive
close, contains, getFiles, getSubdirectories, initMap
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

origFile

final java.io.File origFile

prefix

final RelativePath.RelativeDirectory prefix
Constructor Detail

SymbolArchive

public SymbolArchive(JavacFileManager fileManager,
                     java.io.File orig,
                     java.util.zip.ZipFile zdir,
                     RelativePath.RelativeDirectory prefix)
              throws java.io.IOException
Throws:
java.io.IOException
Method Detail

addZipEntry

void addZipEntry(java.util.zip.ZipEntry entry)
Overrides:
addZipEntry in class ZipArchive

getFileObject

public JavaFileObject getFileObject(RelativePath.RelativeDirectory subdirectory,
                                    java.lang.String file)
Specified by:
getFileObject in interface JavacFileManager.Archive
Overrides:
getFileObject in class ZipArchive

toString

public java.lang.String toString()
Overrides:
toString in class ZipArchive