您的浏览器已禁用 JavaScript。
跳过导航链接
概览
程序包
类
使用
树
已过时
索引
帮助
上一个
下一个
框架
无框架
所有类
A
C
D
E
F
G
I
K
P
S
T
U
A
AbstractFileStore
-
com.kdgcsoft.power.filestore
中的类
AbstractFileStore()
- 类 的构造器com.kdgcsoft.power.filestore.
AbstractFileStore
addStore(FileStore)
- 类 中的静态方法com.kdgcsoft.power.filestore.
FileStoreManager
设置缺省仓库对象。
addStore(String, FileStore)
- 类 中的静态方法com.kdgcsoft.power.filestore.
FileStoreManager
通过名称记录一个仓库对象实例。
C
checkName(String)
- 类 中的静态方法com.kdgcsoft.power.filestore.
AbstractFileStore
检查仓库名称是否合法。
com.kdgcsoft.power.filestore
- 程序包 com.kdgcsoft.power.filestore
com.kdgcsoft.power.filestore.strategy
- 程序包 com.kdgcsoft.power.filestore.strategy
D
DEFAULT_STORE_NAME
- 类 中的静态变量com.kdgcsoft.power.filestore.
AbstractFileStore
deleteFile(String)
- 接口 中的方法com.kdgcsoft.power.filestore.
FileStore
删除指定key的文件
deleteFile(String)
- 类 中的方法com.kdgcsoft.power.filestore.
SimpleFileStore
E
exist(String)
- 接口 中的方法com.kdgcsoft.power.filestore.
FileStore
判断文件是否存在
exist(String)
- 类 中的方法com.kdgcsoft.power.filestore.
SimpleFileStore
extractKey(String)
- 接口 中的方法com.kdgcsoft.power.filestore.strategy.
IKeyStrategy
基于结合的文件名,解析出原来的文件Key
extractKey(String)
- 类 中的方法com.kdgcsoft.power.filestore.strategy.
TimeStampKeyStrategy
extractKey(String)
- 类 中的方法com.kdgcsoft.power.filestore.strategy.
UUIDKeyStrategy
extractOriginalFileName(String, String)
- 接口 中的方法com.kdgcsoft.power.filestore.strategy.
IKeyStrategy
基于结合的文件名,解析出原来的文件名,有可能为空字符串
extractOriginalFileName(String, String)
- 类 中的方法com.kdgcsoft.power.filestore.strategy.
TimeStampKeyStrategy
extractOriginalFileName(String, String)
- 类 中的方法com.kdgcsoft.power.filestore.strategy.
UUIDKeyStrategy
F
FileInfo
-
com.kdgcsoft.power.filestore
中的类
把文件保存到存储库或查询文件后得到的相关信息,其中最重要的是Key,存储库的所有文件操作接口都需要Key才能进行。
FileInfo()
- 类 的构造器com.kdgcsoft.power.filestore.
FileInfo
FileInfo(String, String, File)
- 类 的构造器com.kdgcsoft.power.filestore.
FileInfo
构造FileInfo对象
FileInfo(String, String, Long, InputStream)
- 类 的构造器com.kdgcsoft.power.filestore.
FileInfo
构造FileInfo对象
FileStore
-
com.kdgcsoft.power.filestore
中的接口
内容仓库实例接口。
FileStoreException
-
com.kdgcsoft.power.filestore
中的异常错误
内容仓库异常封装对象
FileStoreException()
- 异常错误 的构造器com.kdgcsoft.power.filestore.
FileStoreException
FileStoreException(String, Throwable)
- 异常错误 的构造器com.kdgcsoft.power.filestore.
FileStoreException
FileStoreException(String)
- 异常错误 的构造器com.kdgcsoft.power.filestore.
FileStoreException
FileStoreException(Throwable)
- 异常错误 的构造器com.kdgcsoft.power.filestore.
FileStoreException
FileStoreManager
-
com.kdgcsoft.power.filestore
中的类
用于创建和获取内容仓库实例对象的辅助管理类。
FileStoreManager()
- 类 的构造器com.kdgcsoft.power.filestore.
FileStoreManager
G
generateKey()
- 接口 中的方法com.kdgcsoft.power.filestore.strategy.
IKeyStrategy
生成一个Key
generateKey()
- 类 中的方法com.kdgcsoft.power.filestore.strategy.
TimeStampKeyStrategy
使用时间戳作为文件Key,精确到秒,后面添加四位数的计数
generateKey()
- 类 中的方法com.kdgcsoft.power.filestore.strategy.
UUIDKeyStrategy
使用UUID作为文件Key
generateStoreFileName(String, String)
- 接口 中的方法com.kdgcsoft.power.filestore.strategy.
IKeyStrategy
基于Key和原始文件名,生成一个结合的文件名,用于最终的存储结构,避免重复
generateStoreFileName(String, String)
- 类 中的方法com.kdgcsoft.power.filestore.strategy.
TimeStampKeyStrategy
generateStoreFileName(String, String)
- 类 中的方法com.kdgcsoft.power.filestore.strategy.
UUIDKeyStrategy
getFileAsStream(String)
- 接口 中的方法com.kdgcsoft.power.filestore.
FileStore
从内容仓库获取文件流。
getFileAsStream(String)
- 类 中的方法com.kdgcsoft.power.filestore.
SimpleFileStore
getFileInfo(String)
- 接口 中的方法com.kdgcsoft.power.filestore.
FileStore
从内容仓库获取文件信息,不包含文件流InputStream,即返回的FileInfo对象中inputStream属性为null。
getFileInfo(String)
- 类 中的方法com.kdgcsoft.power.filestore.
SimpleFileStore
getFileName()
- 类 中的方法com.kdgcsoft.power.filestore.
FileInfo
获得进入存储库之前的原始文件名
getFilePath()
- 类 中的方法com.kdgcsoft.power.filestore.
FileInfo
返回SimpleFileStore存储库中的文件在本地磁盘上的物理路径,包含文件名。
getFileSize()
- 类 中的方法com.kdgcsoft.power.filestore.
FileInfo
获得文件字节数
getFileSize(String)
- 接口 中的方法com.kdgcsoft.power.filestore.
FileStore
获取文件大小
getFileSize(String)
- 类 中的方法com.kdgcsoft.power.filestore.
SimpleFileStore
getKey()
- 类 中的方法com.kdgcsoft.power.filestore.
FileInfo
获得文件在存储库中的Key。
getRelativePathByKey(String)
- 接口 中的方法com.kdgcsoft.power.filestore.strategy.
IKeyStrategy
根据本策略生成的Key,计算用于存储的相对路径。
getRelativePathByKey(String)
- 类 中的方法com.kdgcsoft.power.filestore.strategy.
TimeStampKeyStrategy
基于时间创建三级相对目录结构,层级为年(4位数字)/月(2位数字)/日(2位数字)
getRelativePathByKey(String)
- 类 中的方法com.kdgcsoft.power.filestore.strategy.
UUIDKeyStrategy
基于uuid的首字母建立目录层级,方便以后用uuid定位查找文件 目前路径使用uuid的前两个字符分别建立两级目录, 即每级目录名为0~F共16个,所有文件总共分配在256个目录下存储。
getStore(String)
- 类 中的静态方法com.kdgcsoft.power.filestore.
FileStoreManager
按照名称获取仓库实例。
getStore()
- 类 中的静态方法com.kdgcsoft.power.filestore.
FileStoreManager
使用默认名称获取仓库实例。
I
IKeyStrategy
-
com.kdgcsoft.power.filestore.strategy
中的接口
文件存储Key策略的实现接口
K
KEY_DATE_FORMAT
- 类 中的静态变量com.kdgcsoft.power.filestore.strategy.
TimeStampKeyStrategy
KEY_LENGTH
- 类 中的静态变量com.kdgcsoft.power.filestore.strategy.
TimeStampKeyStrategy
P
putFile(File)
- 类 中的方法com.kdgcsoft.power.filestore.
AbstractFileStore
putFile(File)
- 接口 中的方法com.kdgcsoft.power.filestore.
FileStore
向内容仓库存储一个文件,并返回将来可用于操作文件的FileInfo,包含将来用于操作文件的Key。
putFile(File, String)
- 接口 中的方法com.kdgcsoft.power.filestore.
FileStore
向内容仓库存储一个文件,并返回将来可用于操作文件的FileInfo,包含将来用于操作文件的Key。
putFile(File, String)
- 类 中的方法com.kdgcsoft.power.filestore.
SimpleFileStore
putFileAsStream(InputStream)
- 类 中的方法com.kdgcsoft.power.filestore.
AbstractFileStore
putFileAsStream(InputStream, String)
- 接口 中的方法com.kdgcsoft.power.filestore.
FileStore
向内容仓库存储一个文件流,并返回包含文件Key的文件信息对象
FileInfo
(但其内部的InputStream为null)。
putFileAsStream(InputStream)
- 接口 中的方法com.kdgcsoft.power.filestore.
FileStore
向内容仓库存储一个文件流,并返回将来可用于操作文件的Key。
putFileAsStream(InputStream, String)
- 类 中的方法com.kdgcsoft.power.filestore.
SimpleFileStore
S
searchFullText(String)
- 接口 中的方法com.kdgcsoft.power.filestore.
FileStore
全文检索 检索出所有匹配关键字的文件Key。
searchFullText(String)
- 类 中的方法com.kdgcsoft.power.filestore.
SimpleFileStore
searchFullTextWithExcerpt(String)
- 接口 中的方法com.kdgcsoft.power.filestore.
FileStore
全文检索并显示摘要。
searchFullTextWithExcerpt(String)
- 类 中的方法com.kdgcsoft.power.filestore.
SimpleFileStore
setFileName(String)
- 类 中的方法com.kdgcsoft.power.filestore.
FileInfo
设置原始文件名
setFilePath(String)
- 类 中的方法com.kdgcsoft.power.filestore.
FileInfo
设置存储库中文件的物理路径
setFileSize(Long)
- 类 中的方法com.kdgcsoft.power.filestore.
FileInfo
设置文件字节数
setKey(String)
- 类 中的方法com.kdgcsoft.power.filestore.
FileInfo
设置文件Key
setLoginAccount(String, String)
- 接口 中的方法com.kdgcsoft.power.filestore.
FileStore
设定访问账号和密码,必须与仓库实际一致。
setLoginAccount(String, String)
- 类 中的方法com.kdgcsoft.power.filestore.
SimpleFileStore
SimpleFileStore不支持此方法,调用无效。
shutdown()
- 接口 中的方法com.kdgcsoft.power.filestore.
FileStore
在不使用文件仓库或应用程序退出时,请调用shutdown()方法,以便某些仓库实现类进行清理退出工作。
shutdown()
- 类 中的方法com.kdgcsoft.power.filestore.
SimpleFileStore
SimpleFileStore
-
com.kdgcsoft.power.filestore
中的类
基于本地磁盘目录方式实现的文件存储库基类,构造时需指定路径策略对象。
SimpleFileStore(File, IKeyStrategy)
- 类 的构造器com.kdgcsoft.power.filestore.
SimpleFileStore
SimpleFileStore(String, IKeyStrategy)
- 类 的构造器com.kdgcsoft.power.filestore.
SimpleFileStore
supportFullTextSearch()
- 接口 中的方法com.kdgcsoft.power.filestore.
FileStore
supportFullTextSearch()
- 类 中的方法com.kdgcsoft.power.filestore.
SimpleFileStore
T
TimeStampKeyStrategy
-
com.kdgcsoft.power.filestore.strategy
中的类
TimeStampKeyStrategy()
- 类 的构造器com.kdgcsoft.power.filestore.strategy.
TimeStampKeyStrategy
TimeStampSimpleFileStore
-
com.kdgcsoft.power.filestore
中的类
使用时间戳+4位序号作为文件Key,并基于时间戳创建年/月/日三级目录层级的本地磁盘文件存储库 其中,4位序号在同一秒内递增,每秒内的序号都从1开始。
TimeStampSimpleFileStore(File)
- 类 的构造器com.kdgcsoft.power.filestore.
TimeStampSimpleFileStore
TimeStampSimpleFileStore(String)
- 类 的构造器com.kdgcsoft.power.filestore.
TimeStampSimpleFileStore
U
UUIDKeyStrategy
-
com.kdgcsoft.power.filestore.strategy
中的类
UUIDKeyStrategy()
- 类 的构造器com.kdgcsoft.power.filestore.strategy.
UUIDKeyStrategy
UUIDSimpleFileStore
-
com.kdgcsoft.power.filestore
中的类
使用UUID作为文件Key,并基于UUID创建目录层级的本地磁盘文件存储库
UUIDSimpleFileStore(File)
- 类 的构造器com.kdgcsoft.power.filestore.
UUIDSimpleFileStore
UUIDSimpleFileStore(String)
- 类 的构造器com.kdgcsoft.power.filestore.
UUIDSimpleFileStore
A
C
D
E
F
G
I
K
P
S
T
U
跳过导航链接
概览
程序包
类
使用
树
已过时
索引
帮助
上一个
下一个
框架
无框架
所有类
Copyright © 2019. All rights reserved.