com.sibvisions.util.type
Interface IResourceArchive


public interface IResourceArchive

The IResourceArchive defines the access to resources which are available in archives.


Method Summary
 InputStream getInputStream(String pResourceName)
          Gets the stream for the given resource.
 URL getURL(String pResourceName)
          Gets the URL for the given resource.
 

Method Detail

getInputStream

InputStream getInputStream(String pResourceName)
Gets the stream for the given resource.

Parameters:
pResourceName - the name of the resource, e.g. /package/<classname>.class
Returns:
the stream for the resource or null if the resource was not found

getURL

URL getURL(String pResourceName)
Gets the URL for the given resource.

Parameters:
pResourceName - the name of the resource, e.g. /package/<classname>.class
Returns:
the URL for the resource or null if the resource was not found


Copyright © 2009 SIB Visions GmbH. All Rights Reserved.