com.izforge.izpack.installer.unpacker
Interface PackResources

All Known Implementing Classes:
AbstractPackResources, ConsolePackResources, GUIPackResources

public interface PackResources

Provides access to installation packs.

Author:
Tim Anderson

Method Summary
 InputStream getInputStream(String name)
          Returns the stream to a resource.
 InputStream getPackStream(String name)
          Returns the stream to a pack.
 

Method Detail

getPackStream

InputStream getPackStream(String name)
Returns the stream to a pack.

Parameters:
name - the pack name
Returns:
a stream to the pack
Throws:
ResourceNotFoundException - if the resource cannot be found
ResourceInterruptedException - if resource retrieval is interrupted
ResourceException - for any other resource error

getInputStream

InputStream getInputStream(String name)
Returns the stream to a resource.

Parameters:
name - the resource name
Returns:
a stream to the resource
Throws:
ResourceNotFoundException - if the resource cannot be found
ResourceInterruptedException - if resource retrieval is interrupted
ResourceException - for any other resource error


Copyright © 2018. All rights reserved.