org.ow2.jonas.lib.loader
Interface IMetaInfLocator

All Known Implementing Classes:
MetaInfScanner

public interface IMetaInfLocator

Interface used to search entries located in META-INF/ folder of some bundles.

Author:
Florent Benoit

Method Summary
 URL getResource(String name)
          Gets an URL for a given resource name.
 InputStream getResourceAsStream(String name)
          Gets an input stream for a given resource name.
 Enumeration<URL> getResources(String name)
          Gets list of URL for a given resource name.
 

Method Detail

getResource

URL getResource(String name)
Gets an URL for a given resource name.

Parameters:
name - the name to search
Returns:
value else null if not found

getResources

Enumeration<URL> getResources(String name)
                              throws IOException
Gets list of URL for a given resource name.

Parameters:
name - the name to search
Returns:
value else null if not found
Throws:
IOException - if there is an error while searching

getResourceAsStream

InputStream getResourceAsStream(String name)
Gets an input stream for a given resource name.

Parameters:
name - the name to search
Returns:
value else null if not found


Copyright © 2012 OW2 Consortium. All Rights Reserved.