public class ZipFileObject extends AbstractFileObject
Constructor and Description |
---|
ZipFileObject(SchemaProvider schemaProvider,
String resource) |
ZipFileObject(ZipFileObject parent,
ZipEntry entry) |
Modifier and Type | Method and Description |
---|---|
void |
clean()
对FileObject对象执行清理操作,清理完成后,可能会导致此对象不再可用
|
String |
getAbsolutePath() |
FileObject |
getChild(String fileName) |
List<FileObject> |
getChildren() |
String |
getExtName() |
String |
getFileName() |
InputStream |
getInputStream() |
long |
getLastModifiedTime() |
OutputStream |
getOutputStream() |
String |
getPath() |
long |
getSize() |
URL |
getURL() |
boolean |
isExist() |
boolean |
isFolder() |
boolean |
isInPackage() |
String |
toString() |
delete, equals, foreach, foreach, getFileObject, getParent, getSchemaProvider, hashCode, isModified, resetModified, setParent, substringAfter
public ZipFileObject(SchemaProvider schemaProvider, String resource)
public ZipFileObject(ZipFileObject parent, ZipEntry entry)
public void clean()
FileObject
clean
in interface FileObject
clean
in class AbstractFileObject
public String getFileName()
public String getPath()
public String getAbsolutePath()
public String getExtName()
public long getSize()
public InputStream getInputStream()
public boolean isFolder()
public List<FileObject> getChildren()
public long getLastModifiedTime()
public boolean isExist()
public boolean isInPackage()
public FileObject getChild(String fileName)
public URL getURL()
public OutputStream getOutputStream()
Copyright © 2006–2018 TinyGroup. All rights reserved.