FileObject, JavaFileObjectpublic class ZipFileObject extends SimpleJavaFileObject
JavaFileObject.Kindkind, uri| Constructor | Description |
|---|---|
ZipFileObject(ZipFile zipFile,
ZipEntry zipEntry,
URI uri) |
| Modifier and Type | Method | Description |
|---|---|---|
static ZipFileObject |
create(ZipFile zipFile,
ZipEntry entry) |
|
CharSequence |
getCharContent(boolean b) |
|
long |
getLastModified() |
|
String |
getName() |
|
InputStream |
openInputStream() |
|
Reader |
openReader(boolean b) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitdelete, getAccessLevel, getKind, getNestingKind, isNameCompatible, openOutputStream, openWriter, toString, toUripublic InputStream openInputStream() throws IOException
openInputStream in interface FileObjectopenInputStream in class SimpleJavaFileObjectIOExceptionpublic String getName()
getName in interface FileObjectgetName in class SimpleJavaFileObjectpublic CharSequence getCharContent(boolean b) throws IOException
getCharContent in interface FileObjectgetCharContent in class SimpleJavaFileObjectIOExceptionpublic Reader openReader(boolean b) throws IOException
openReader in interface FileObjectopenReader in class SimpleJavaFileObjectIOExceptionpublic long getLastModified()
getLastModified in interface FileObjectgetLastModified in class SimpleJavaFileObjectpublic static ZipFileObject create(ZipFile zipFile, ZipEntry entry)
Copyright © 2009–2020. All rights reserved.