Modifier and Type | Field and Description |
---|---|
protected org.slf4j.Logger |
mLogger |
Constructor and Description |
---|
JarFileDepot() |
JarFileDepot(String pJarFile) |
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)
Supports file uri's like "/my/directory/my.jar".
|
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(String pJarFile) |
String |
toString() |
public JarFileDepot()
public JarFileDepot(String pJarFile) throws BusException
BusException
protected File toFile(String pJarFile) throws BusException
BusException
public Depot getDepot(String pURI) throws BusException
pURI
- The uri for the depot or null if the implementation
does not support this uri.BusException
- if an error occursDepot.getDepot(String)
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- 2018 Stibo DX