public class ArchiveFileObject extends Object implements JavaFileObject
JavaFileObject.Kind| Constructor and Description |
|---|
ArchiveFileObject(File file,
ZipFile zipFile,
String entryName,
Charset charset) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
delete() |
boolean |
equals(Object o) |
Modifier |
getAccessLevel() |
CharSequence |
getCharContent(boolean ignoreEncodingErrors) |
JavaFileObject.Kind |
getKind() |
long |
getLastModified() |
String |
getName() |
NestingKind |
getNestingKind() |
boolean |
isNameCompatible(String simpleName,
JavaFileObject.Kind kind) |
InputStream |
openInputStream() |
OutputStream |
openOutputStream() |
Reader |
openReader(boolean ignoreEncodingErrors) |
Writer |
openWriter() |
String |
toString() |
URI |
toUri() |
public Modifier getAccessLevel()
getAccessLevel in interface JavaFileObjectpublic JavaFileObject.Kind getKind()
getKind in interface JavaFileObjectpublic NestingKind getNestingKind()
getNestingKind in interface JavaFileObjectpublic boolean isNameCompatible(String simpleName, JavaFileObject.Kind kind)
isNameCompatible in interface JavaFileObjectpublic boolean delete()
delete in interface FileObjectpublic CharSequence getCharContent(boolean ignoreEncodingErrors) throws IOException
getCharContent in interface FileObjectIOExceptionpublic long getLastModified()
getLastModified in interface FileObjectpublic String getName()
getName in interface FileObjectpublic InputStream openInputStream() throws IOException
openInputStream in interface FileObjectIOExceptionpublic OutputStream openOutputStream() throws IOException
openOutputStream in interface FileObjectIOExceptionpublic Reader openReader(boolean ignoreEncodingErrors) throws IOException
openReader in interface FileObjectIOExceptionpublic Writer openWriter() throws IOException
openWriter in interface FileObjectIOExceptionpublic URI toUri()
toUri in interface FileObjectCopyright © 2015. All rights reserved.