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

ResourceData org::pentaho::reporting::libraries::resourceloader::loader::URLResourceLoader::load ( final ResourceKey  key ) throws ResourceLoadingException [inline]

Loads the binary data represented by this key.

Parameters:
key
Returns:
Exceptions:
ResourceLoadingException

Implements org::pentaho::reporting::libraries::resourceloader::ResourceLoader.

Definition at line 159 of file URLResourceLoader.java.

References isSupportedKey().

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

Here is the call graph for this function:


Generated by  Doxygen 1.6.0   Back to index