|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.izforge.izpack.installer.unpacker.AbstractPackResources
public abstract class AbstractPackResources
Abstract implementation of the PackResources interface.
| Field Summary | |
|---|---|
protected static String |
WEB_TEMP_SUB_PATH
Temporary directory for web installers. |
| Constructor Summary | |
|---|---|
AbstractPackResources(Resources resources,
InstallData installData)
Constructs an AbstractPackResources. |
|
| Method Summary | |
|---|---|
InputStream |
getInputStream(String name)
Returns the stream to a resource. |
protected InstallData |
getInstallData()
Returns the installation data. |
InputStream |
getPackStream(String name)
Returns the stream to a resource. |
protected abstract InputStream |
getWebPackStream(String name,
String webDirURL)
Returns the stream to a web-based pack resource. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final String WEB_TEMP_SUB_PATH
| Constructor Detail |
|---|
public AbstractPackResources(Resources resources,
InstallData installData)
AbstractPackResources.
resources - the resourcesinstallData - the installation data| Method Detail |
|---|
public InputStream getPackStream(String name)
getPackStream in interface PackResourcesname - the resource name
ResourceNotFoundException - if the resource cannot be found
ResourceInterruptedException - if resource retrieval is interrupted
ResourceException - for any other resource errorpublic InputStream getInputStream(String name)
getInputStream in interface PackResourcesname - the resource name
ResourceNotFoundException - if the resource cannot be found
ResourceException - for any other resource error
protected abstract InputStream getWebPackStream(String name,
String webDirURL)
name - the resource namewebDirURL - the web URL to load the resource from
ResourceNotFoundException - if the resource cannot be found
ResourceInterruptedException - if resource retrieval is interruptedprotected InstallData getInstallData()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||