public class NestedZipEntryJavaFileObject extends Object implements JavaFileObject
JavaFileObject.Kind| Constructor and Description |
|---|
NestedZipEntryJavaFileObject(File outerFile,
ZipFile outerZipFile,
ZipEntry innerZipFile,
ZipEntry innerZipFileEntry) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
delete() |
boolean |
equals(Object obj) |
Modifier |
getAccessLevel() |
CharSequence |
getCharContent(boolean ignoreEncodingErrors) |
JavaFileObject.Kind |
getKind() |
long |
getLastModified() |
String |
getName() |
NestingKind |
getNestingKind() |
int |
hashCode() |
boolean |
isNameCompatible(String simpleName,
JavaFileObject.Kind kind) |
InputStream |
openInputStream() |
OutputStream |
openOutputStream() |
Reader |
openReader(boolean ignoreEncodingErrors) |
Writer |
openWriter() |
URI |
toUri() |
public String getName()
getName in interface FileObjectpublic URI toUri()
toUri in interface FileObjectpublic InputStream openInputStream() throws IOException
openInputStream in interface FileObjectIOExceptionpublic Reader openReader(boolean ignoreEncodingErrors) throws IOException
openReader in interface FileObjectIOExceptionpublic long getLastModified()
getLastModified in interface FileObjectpublic JavaFileObject.Kind getKind()
getKind in interface JavaFileObjectpublic boolean delete()
delete in interface FileObjectpublic OutputStream openOutputStream() throws IOException
openOutputStream in interface FileObjectIOExceptionpublic Writer openWriter() throws IOException
openWriter in interface FileObjectIOExceptionpublic boolean isNameCompatible(String simpleName, JavaFileObject.Kind kind)
isNameCompatible in interface JavaFileObjectpublic CharSequence getCharContent(boolean ignoreEncodingErrors) throws IOException
getCharContent in interface FileObjectIOExceptionpublic NestingKind getNestingKind()
getNestingKind in interface JavaFileObjectpublic Modifier getAccessLevel()
getAccessLevel in interface JavaFileObjectCopyright © 2019 Pivotal Software, Inc.. All rights reserved.