public abstract class ArchiveBase
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
descriptorLocation |
protected java.net.URL |
rootURL |
| Constructor and Description |
|---|
ArchiveBase()
Default Constructor.
|
ArchiveBase(java.net.URL rootUrl,
java.lang.String descriptorLocation) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getDescriptorLocation() |
java.io.InputStream |
getDescriptorStream() |
abstract java.io.InputStream |
getEntry(java.lang.String entryPath) |
java.net.URL |
getRootURL() |
void |
setDescriptorLocation(java.lang.String descriptorLocation) |
void |
setRootURL(java.net.URL rootURL) |
java.lang.String |
toString() |
protected java.net.URL rootURL
protected java.lang.String descriptorLocation
public ArchiveBase()
public ArchiveBase(java.net.URL rootUrl,
java.lang.String descriptorLocation)
public java.io.InputStream getDescriptorStream()
throws java.io.IOException
java.io.IOExceptionpublic abstract java.io.InputStream getEntry(java.lang.String entryPath)
throws java.io.IOException
java.io.IOExceptionpublic java.net.URL getRootURL()
public void setRootURL(java.net.URL rootURL)
public java.lang.String getDescriptorLocation()
public void setDescriptorLocation(java.lang.String descriptorLocation)
public java.lang.String toString()
toString in class java.lang.Object