public class FileStoreManager extends Object
public static FileStore getStore(String storeName) throws FileStoreException
storeName - 仓库名称FileStoreException - 仓库异常public static FileStore getStore() throws FileStoreException
FileStoreException - 仓库异常public static FileStore addStore(FileStore store) throws FileStoreException
getStore()获取。store - 仓库实例FileStoreException - 仓库异常public static FileStore addStore(String storeName, FileStore store) throws FileStoreException
getStore(String)获取该实例。
一个FileStoreManager可以容纳多个不同名称的仓库对象实例。storeName - 仓库名称store - 仓库实例FileStoreException - 仓库异常Copyright © 2019. All rights reserved.