📄 filestreamstoragefactory.java
字号:
// You can redistribute this software and/or modify it under the terms of// the Ozone Core License version 1 published by ozone-db.org.//// Copyright (C) 2003-@year@, Leo Mekenkamp. All rights reserved.//// $Id$package org.ozoneDB.core.storage.gammaStore;import java.io.File;import java.io.IOException;import java.util.Properties;/** * @author <a href="mailto:leoATmekenkampD0Tcom">Leo Mekenkamp (mind the anti sp@m)</a> * @version $Id$ */public class FileStreamStorageFactory extends FileStorageFactory { public FileStreamStorageFactory(Properties properties, String prefix) { super(properties, prefix); } public Storage createStorage(String name) throws IOException { File file = nameToFile(name); ensureParentsExist(file); return new FileStreamStorage(file); } }
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -