public class JarFileObject extends AbstractFileObject
Constructor and Description |
---|
JarFileObject(JarFileObject parent,
JarEntry entry) |
JarFileObject(SchemaProvider schemaProvider,
String resource) |
Modifier and Type | Method and Description |
---|---|
void |
clean()
对FileObject对象执行清理操作,清理完成后,可能会导致此对象不再可用
|
void |
delete()
删除目录或文件
|
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() |
equals, foreach, foreach, getFileObject, getParent, getSchemaProvider, hashCode, isModified, resetModified, setParent, substringAfter
public JarFileObject(SchemaProvider schemaProvider, String resource)
public JarFileObject(JarFileObject parent, JarEntry 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()
public void delete()
FileObject
delete
in interface FileObject
delete
in class AbstractFileObject
Copyright © 2006–2018 TinyGroup. All rights reserved.