gnu.java.net.loader

Class Load_gcjlib


public final class Load_gcjlib
extends URLLoader

A Load_gcjlib is a type of URLLoader that loads classes and resources from a shared library.

Constructor Summary

Load_gcjlib(URLClassLoader classloader, URLStreamHandlerCache cache, URLStreamHandlerFactory factory, URL url, URL absoluteUrl)

Method Summary

Class<T>
getClass(String className)
Returns a Class loaded by this URLLoader, or null when this loader either can't load the class or doesn't know how to load classes at all.
Resource
getResource(String name)
Returns a Resource loaded by this URLLoader, or null when no Resource with the given name exists.

Methods inherited from class gnu.java.net.loader.URLLoader

getBaseURL, getClass, getClassPath, getManifest, getResource

Methods inherited from class java.lang.Object

clone, equals, extends Object> getClass, finalize, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Details

Load_gcjlib

public Load_gcjlib(URLClassLoader classloader,
                   URLStreamHandlerCache cache,
                   URLStreamHandlerFactory factory,
                   URL url,
                   URL absoluteUrl)

Method Details

getClass

public Class<T> getClass(String className)
Returns a Class loaded by this URLLoader, or null when this loader either can't load the class or doesn't know how to load classes at all. Most subclasses do not need to override this; it is only useful in situations where the subclass has a more direct way of making Class objects.
Overrides:
getClass in interface URLLoader

getResource

public Resource getResource(String name)
Returns a Resource loaded by this URLLoader, or null when no Resource with the given name exists.
Overrides:
getResource in interface URLLoader

Copyright (C) 2007 Free Software Foundation This file is part of libgcj. This software is copyrighted work licensed under the terms of the Libgcj License. Please consult the file "LIBGCJ_LICENSE" for details.