1 21 22 package org.apache.derby.io; 23 24 import java.io.IOException ; 25 26 77 public interface StorageFactory 78 { 79 80 106 public void init( String home, String databaseName, String tempDirName, String uniqueName) 107 throws IOException ; 108 109 114 public void shutdown(); 115 116 126 public String getCanonicalName() throws IOException ; 127 128 139 public StorageFile newStorageFile( String path); 140 141 153 public StorageFile newStorageFile( String directoryName, String fileName); 154 155 167 public StorageFile newStorageFile( StorageFile directoryName, String fileName); 168 169 175 public char getSeparator(); 176 177 189 public StorageFile getTempDir(); 190 191 197 public boolean isFast(); 198 199 205 public boolean isReadOnlyDatabase(); 206 207 213 public boolean supportsRandomAccess(); 214 215 218 int VERSION_NUMBER = 1; 219 220 223 public int getStorageFactoryVersion(); 224 } 225 | Popular Tags |