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
IOException
public boolean contains(RelativePath name)
contains
in interface JavacFileManager.Archive
public List<String> getFiles(RelativePath.RelativeDirectory subdirectory)
getFiles
in interface JavacFileManager.Archive
public JavaFileObject getFileObject(RelativePath.RelativeDirectory subdirectory, String file)
getFileObject
in interface JavacFileManager.Archive
public Set<RelativePath.RelativeDirectory> getSubdirectories()
getSubdirectories
in interface JavacFileManager.Archive
public void close() throws IOException
close
in interface JavacFileManager.Archive
IOException
Copyright © 2017 earcam. All rights reserved.