public class FileBasedPhysicalStore extends Object implements org.commonjava.storage.pathmapped.spi.PhysicalStore
| Constructor and Description |
|---|
FileBasedPhysicalStore(File baseDir) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
delete(org.commonjava.storage.pathmapped.spi.FileInfo fileInfo) |
org.commonjava.storage.pathmapped.spi.FileInfo |
getFileInfo(String fileSystem,
String path) |
InputStream |
getInputStream(String storageFile) |
OutputStream |
getOutputStream(org.commonjava.storage.pathmapped.spi.FileInfo fileInfo) |
public FileBasedPhysicalStore(File baseDir)
public org.commonjava.storage.pathmapped.spi.FileInfo getFileInfo(String fileSystem, String path)
getFileInfo in interface org.commonjava.storage.pathmapped.spi.PhysicalStorepublic OutputStream getOutputStream(org.commonjava.storage.pathmapped.spi.FileInfo fileInfo) throws IOException
getOutputStream in interface org.commonjava.storage.pathmapped.spi.PhysicalStoreIOExceptionpublic InputStream getInputStream(String storageFile) throws IOException
getInputStream in interface org.commonjava.storage.pathmapped.spi.PhysicalStoreIOExceptionpublic boolean delete(org.commonjava.storage.pathmapped.spi.FileInfo fileInfo)
delete in interface org.commonjava.storage.pathmapped.spi.PhysicalStoreCopyright © 2019. All Rights Reserved.