Modifier and Type | Field and Description |
---|---|
protected org.slf4j.Logger |
mLogger |
Constructor and Description |
---|
JarURIDepot() |
Modifier and Type | Method and Description |
---|---|
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)
Implementers of this method should return a new Depot if the
Depot implementation supports the uri.
|
InputStream |
getInputStreamFor(String pName,
String pType)
Returns an Input Stream that contains the information,
or null if the requested configuration data was not found.
|
T |
getJarFile() |
protected JarFile |
getJarFileHandle() |
void |
setJarFile(T pJarFile) |
protected File |
toFile(URI pJarFile) |
String |
toString() |
public Depot getDepot(String pURI) throws BusException
Depot
pURI
- The uri for the depot or null if the implementation
does not support this uri.BusException
- if an error occursprotected File toFile(URI pJarFile) throws BusException
BusException
public final T getJarFile()
public final void setJarFile(T pJarFile) throws BusException
BusException
public final String describe(String pName, String pType)
Depot
public final InputStream getInputStreamFor(String pName, String pType) throws IOException
Depot
getInputStreamFor
in interface Depot
IOException
- if there is an error reading the requested informationprotected final JarFile getJarFileHandle() throws IOException
IOException
© 1998- 2021 Escenic AS