filestreamstoragefactory.java
来自「Java的面向对象数据库系统的源代码」· Java 代码 · 共 31 行
JAVA
31 行
// 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 + =
减小字号Ctrl + -
显示快捷键?