public class ZipFileIndexArchive extends Object implements JavacFileManager.Archive
This is NOT part of any supported API. If you write code that depends on this, you do so at your own risk. This code and its internal interfaces are subject to change or deletion without notice.
| Modifier and Type | Class and Description |
|---|---|
static class |
ZipFileIndexArchive.ZipFileIndexFileObject
A subclass of JavaFileObject representing zip entries using the com.sun.tools.javac.file.ZipFileIndex implementation.
|
| Constructor and Description |
|---|
ZipFileIndexArchive(JavacFileManager fileManager,
ZipFileIndex zdir) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
boolean |
contains(RelativePath name) |
JavaFileObject |
getFileObject(RelativePath.RelativeDirectory subdirectory,
String file) |
List<String> |
getFiles(RelativePath.RelativeDirectory subdirectory) |
Set<RelativePath.RelativeDirectory> |
getSubdirectories() |
String |
toString() |
public ZipFileIndexArchive(JavacFileManager fileManager, ZipFileIndex zdir) throws IOException
IOExceptionpublic boolean contains(RelativePath name)
contains in interface JavacFileManager.Archivepublic List<String> getFiles(RelativePath.RelativeDirectory subdirectory)
getFiles in interface JavacFileManager.Archivepublic JavaFileObject getFileObject(RelativePath.RelativeDirectory subdirectory, String file)
getFileObject in interface JavacFileManager.Archivepublic Set<RelativePath.RelativeDirectory> getSubdirectories()
getSubdirectories in interface JavacFileManager.Archivepublic void close()
throws IOException
close in interface JavacFileManager.ArchiveIOExceptionCopyright © 2017 earcam. All rights reserved.