Logo Search packages:      
Sourcecode: libloader version File versions  Download package

ResourceData org::jfree::resourceloader::loader::resource::ClassloaderResourceLoader::load ( ResourceKey  key  )  throws ResourceLoadingException [inline]

Loads the binary data represented by this key.

Parameters:
key 
Returns:
Exceptions:
ResourceLoadingException 

Implements org::jfree::resourceloader::ResourceLoader.

Definition at line 162 of file ClassloaderResourceLoader.java.

References isSupportedKey().

  {
    if (isSupportedKey(key) == false)
    {
      throw new ResourceLoadingException
              ("Key format is not recognized.");
    }
    return new ClassloaderResourceData(key);
  }


Generated by  Doxygen 1.6.0   Back to index