public class ZipFileObject extends SimpleJavaFileObject
JavaFileObject.Kind
kind, uri
Constructor and Description |
---|
ZipFileObject(ZipFile zipFile,
ZipEntry zipEntry,
URI uri) |
Modifier and Type | Method and Description |
---|---|
static ZipFileObject |
create(ZipFile zipFile,
ZipEntry entry) |
CharSequence |
getCharContent(boolean b) |
long |
getLastModified() |
String |
getName() |
InputStream |
openInputStream() |
Reader |
openReader(boolean b) |
delete, getAccessLevel, getKind, getNestingKind, isNameCompatible, openOutputStream, openWriter, toString, toUri
public InputStream openInputStream() throws IOException
openInputStream
in interface FileObject
openInputStream
in class SimpleJavaFileObject
IOException
public String getName()
getName
in interface FileObject
getName
in class SimpleJavaFileObject
public CharSequence getCharContent(boolean b) throws IOException
getCharContent
in interface FileObject
getCharContent
in class SimpleJavaFileObject
IOException
public Reader openReader(boolean b) throws IOException
openReader
in interface FileObject
openReader
in class SimpleJavaFileObject
IOException
public long getLastModified()
getLastModified
in interface FileObject
getLastModified
in class SimpleJavaFileObject
public static ZipFileObject create(ZipFile zipFile, ZipEntry entry)
Copyright © 2009–2022. All rights reserved.