com.sun.tools.javac.file
Class ZipFileIndexArchive
java.lang.Object
com.sun.tools.javac.file.ZipFileIndexArchive
- All Implemented Interfaces:
- JavacFileManager.Archive
public class ZipFileIndexArchive
- extends java.lang.Object
- implements JavacFileManager.Archive
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
zfIndex
private final ZipFileIndex zfIndex
fileManager
private JavacFileManager fileManager
ZipFileIndexArchive
public ZipFileIndexArchive(JavacFileManager fileManager,
ZipFileIndex zdir)
throws java.io.IOException
- Throws:
java.io.IOException
contains
public boolean contains(RelativePath name)
- Specified by:
contains in interface JavacFileManager.Archive
getFiles
public List<java.lang.String> getFiles(RelativePath.RelativeDirectory subdirectory)
- Specified by:
getFiles in interface JavacFileManager.Archive
getFileObject
public JavaFileObject getFileObject(RelativePath.RelativeDirectory subdirectory,
java.lang.String file)
- Specified by:
getFileObject in interface JavacFileManager.Archive
getSubdirectories
public java.util.Set<RelativePath.RelativeDirectory> getSubdirectories()
- Specified by:
getSubdirectories in interface JavacFileManager.Archive
close
public void close()
throws java.io.IOException
- Specified by:
close in interface JavacFileManager.Archive
- Throws:
java.io.IOException
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object