public abstract class UIResourceFileObjectWrapper extends Object implements FileObject
Constructor and Description |
---|
UIResourceFileObjectWrapper() |
Modifier and Type | Method and Description |
---|---|
void |
delete()
删除目录或文件
|
void |
foreach(FileObjectFilter fileObjectFilter,
FileObjectProcessor fileObjectProcessor) |
void |
foreach(FileObjectFilter fileObjectFilter,
FileObjectProcessor fileObjectProcessor,
boolean parentFirst) |
String |
getAbsolutePath() |
FileObject |
getChild(String fileName) |
List<FileObject> |
getChildren() |
String |
getExtName() |
String |
getFileName() |
FileObject |
getFileObject(String path)
根据路径查找子对象
|
long |
getLastModifiedTime() |
FileObject |
getParent() |
String |
getPath() |
SchemaProvider |
getSchemaProvider() |
long |
getSize() |
URL |
getURL() |
boolean |
isExist() |
boolean |
isFolder() |
boolean |
isInPackage() |
boolean |
isModified() |
void |
resetModified()
重置为未修改状态
|
void |
setParent(FileObject fileObject) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
clean, getInputStream, getOutputStream
protected String path
public SchemaProvider getSchemaProvider()
getSchemaProvider
in interface FileObject
public boolean isModified()
isModified
in interface FileObject
public void resetModified()
FileObject
resetModified
in interface FileObject
public URL getURL()
getURL
in interface FileObject
public String getAbsolutePath()
getAbsolutePath
in interface FileObject
public String getPath()
getPath
in interface FileObject
public String getFileName()
getFileName
in interface FileObject
public String getExtName()
getExtName
in interface FileObject
public boolean isFolder()
isFolder
in interface FileObject
public boolean isInPackage()
isInPackage
in interface FileObject
public boolean isExist()
isExist
in interface FileObject
public long getLastModifiedTime()
getLastModifiedTime
in interface FileObject
public long getSize()
getSize
in interface FileObject
public FileObject getParent()
getParent
in interface FileObject
public void setParent(FileObject fileObject)
setParent
in interface FileObject
public List<FileObject> getChildren()
getChildren
in interface FileObject
public FileObject getChild(String fileName)
getChild
in interface FileObject
public void foreach(FileObjectFilter fileObjectFilter, FileObjectProcessor fileObjectProcessor, boolean parentFirst)
foreach
in interface FileObject
public void foreach(FileObjectFilter fileObjectFilter, FileObjectProcessor fileObjectProcessor)
foreach
in interface FileObject
public void delete()
FileObject
delete
in interface FileObject
public FileObject getFileObject(String path)
FileObject
getFileObject
in interface FileObject
Copyright © 2006–2018 TinyGroup. All rights reserved.