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

ResourceData org::jfree::resourceloader::loader::file::FileResourceLoader::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 178 of file FileResourceLoader.java.

References isSupportedKey().

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


Generated by  Doxygen 1.6.0   Back to index