public class FileDataStoreFactory extends AbstractDataStoreFactory
For security purposes, the file's permissions are set to be accessible only by the file's owner.
Note: This class was branched from the primary implementation in google-http-client to allow the mainline implementation to support Windows file permissions.
| Constructor and Description |
|---|
FileDataStoreFactory(File dataDirectory) |
| Modifier and Type | Method and Description |
|---|---|
protected <V extends Serializable> |
createDataStore(String id) |
File |
getDataDirectory()
Returns the data directory.
|
getDataStorepublic FileDataStoreFactory(File dataDirectory) throws IOException
dataDirectory - data directoryIOExceptionpublic final File getDataDirectory()
protected <V extends Serializable> DataStore<V> createDataStore(String id) throws IOException
createDataStore in class AbstractDataStoreFactoryIOExceptionCopyright © 2011–2025 Google. All rights reserved.