Constructor and Description |
---|
FileSystemDepot() |
FileSystemDepot(String root) |
Modifier and Type | Method and Description |
---|---|
static String |
checkRoot(String fsRoot)
post-initialization stuff
|
String |
describe(String pName,
String pType)
Describe the underlying resource that is used if someone asks for an input stream with the given name and type.
|
Depot |
getDepot(String pUri)
Supports file uri's like "file:/my/directory/" or "/my/directory/".
|
String |
getFileSystemRoot() |
InputStream |
getInputStreamFor(String name,
String type)
Returns an Input Stream that contains the information,
or null if the requested configuration data was not found.
|
void |
setFileSystemRoot(String newFileSystemRoot) |
String |
toString() |
public FileSystemDepot()
public FileSystemDepot(String root)
public String getFileSystemRoot()
public void setFileSystemRoot(String newFileSystemRoot)
public Depot getDepot(String pUri) throws BusException
getDepot
in interface Depot
pUri
- The uri for the depot or null if the implementation
does not support this uri.BusException
- if an error occursDepot.getDepot(String)
public InputStream getInputStreamFor(String name, String type) throws IOException
Depot
getInputStreamFor
in interface Depot
IOException
- if there is an error reading the requested informationpublic String describe(String pName, String pType)
Depot
© 1998- 2021 Escenic AS