com.izforge.izpack.installer.unpacker
Class ConsolePackResources

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

public class ConsolePackResources
extends AbstractPackResources

Console-based implementation of the PackResources interface.

Author:
Tim Anderson

Field Summary
 
Fields inherited from class com.izforge.izpack.installer.unpacker.AbstractPackResources
WEB_TEMP_SUB_PATH
 
Constructor Summary
ConsolePackResources(Resources resources, InstallData installData)
          Constructs a DefaultPackResources.
 
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

ConsolePackResources

public ConsolePackResources(Resources resources,
                            InstallData installData)
Constructs a DefaultPackResources.

Parameters:
resources - the local resources
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.