jjdh API

jjdh.java.resource.provider
Class StandardProvider

java.lang.Object
  extended by jjdh.java.resource.provider.StandardProvider

public class StandardProvider
extends Object


Field Summary
protected static ResourceProvider loader
           
 
Constructor Summary
private StandardProvider()
           
 
Method Summary
protected static ResourceProvider createLocalResourceLoader()
          Creates a local ResourceProvider wich provides access to the local file system, zip files etc. by parsing the given classpath.
protected static ResourceProvider createStandardResourceLoader()
          Creates a suitable Standard-ResourceProvider which provides full access to the local file system, zip files, WebStart JARs etc., depending of the method how this program was launched.
protected static ResourceProvider createWebStartResourceLoader(ClassLoader cl, String manifestURL)
          Creates a WebStart based ResourceProvider by parsing the given manifest files in the classpath.
static ResourceProvider getInstance()
          Returns the unique Standard-ResourceProvider which provides full access to the local file system, zip files, WebStart JARs etc., depending of the method how this program was launched.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

loader

protected static ResourceProvider loader
Constructor Detail

StandardProvider

private StandardProvider()
Method Detail

getInstance

public static ResourceProvider getInstance()
Returns the unique Standard-ResourceProvider which provides full access to the local file system, zip files, WebStart JARs etc., depending of the method how this program was launched.

Returns:
the standard ResourceProvider

createStandardResourceLoader

protected static ResourceProvider createStandardResourceLoader()
Creates a suitable Standard-ResourceProvider which provides full access to the local file system, zip files, WebStart JARs etc., depending of the method how this program was launched.

Returns:
a standard ResourceProvider

createWebStartResourceLoader

protected static ResourceProvider createWebStartResourceLoader(ClassLoader cl,
                                                               String manifestURL)
Creates a WebStart based ResourceProvider by parsing the given manifest files in the classpath.

Returns:
a WebStart based ResourceProvider

createLocalResourceLoader

protected static ResourceProvider createLocalResourceLoader()
Creates a local ResourceProvider wich provides access to the local file system, zip files etc. by parsing the given classpath.

Returns:
a local ResourceLoader

jjdh API

Copyright © 2006 Jonas Jacobi and Dennis Heidsiek. All Rights Reserved.