com.izforge.izpack.installer.unpacker
Class GUIPackResources

java.lang.Object
  extended by com.izforge.izpack.installer.unpacker.AbstractPackResources
      extended by com.izforge.izpack.installer.unpacker.GUIPackResources
All Implemented Interfaces:
PackResources

public class GUIPackResources
extends AbstractPackResources

PackResources implementation for the GUI-based installer.

This supports both local and web-based pack resources.


Field Summary
 
Fields inherited from class com.izforge.izpack.installer.unpacker.AbstractPackResources
WEB_TEMP_SUB_PATH
 
Constructor Summary
GUIPackResources(Resources resources, InstallData installData)
          Constructs a GUIPackResources.
 
Method Summary
protected  InputStream getWebPackStream(String name, String webDirURL)
          Returns the stream to a web-based pack resource.
 
Methods inherited from class com.izforge.izpack.installer.unpacker.AbstractPackResources
getInputStream, getInstallData, getPackStream
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GUIPackResources

public GUIPackResources(Resources resources,
                        InstallData installData)
Constructs a GUIPackResources.

Parameters:
resources - the resources
installData - the installation data
Method Detail

getWebPackStream

protected InputStream getWebPackStream(String name,
                                       String webDirURL)
Description copied from class: AbstractPackResources
Returns the stream to a web-based pack resource.

Specified by:
getWebPackStream in class AbstractPackResources
Parameters:
name - the resource name
webDirURL - the web URL to load the resource from
Returns:
a stream to the resource


Copyright © 2018. All rights reserved.