Class Resource

  • public class Resource
    extends Object
    A resource that can be retrieved using the class loader.

    This is wrapping an URL as returned by the class loader.

    The URL class cannot be used directly because it already has a factory associated to it that constructs the URL using its constructor.

    Bogdan Stefanescu