public interface IFileset
| Modifier and Type | Method and Description |
|---|---|
boolean |
canExecute()
获取文件是否可执行
|
boolean |
canRead()
获取文件是否可读
|
boolean |
canWrite()
获取文件是否可写
|
boolean |
delete()
删除文件
|
String |
getExt()
获取文件后缀
|
IFileStorage |
getFileStorage()
获取文件存储
|
String |
getFullPath()
获取文件全路径
|
boolean |
getIsDirectory()
是否是文件夹
|
Date |
getModifyTime()
获取文件最后修改时间
|
String |
getName()
获取文件名称(包含后缀)
|
String |
getOwnerName()
获取文件所有者
|
IFileset |
getParentFile()
获取上一级文件
|
String |
getRelativePath()
获取文件相对服务器的路径
|
long |
getSize()
获取文件大小
|
List<IFileset> |
listFiles()
获取目录下文件列表
|
InputStream |
openFileStream()
打开文件流
|
String getName()
String getFullPath()
String getRelativePath()
boolean getIsDirectory()
String getExt()
Date getModifyTime()
long getSize()
boolean canRead()
boolean canWrite()
boolean canExecute()
String getOwnerName()
boolean delete()
IFileset getParentFile()
IFileStorage getFileStorage()
InputStream openFileStream()
Copyright © 2025. All rights reserved.