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

ResourceKey org::jfree::resourceloader::loader::raw::RawResourceLoader::createKey ( final Object  value,
final Map  factoryKeys 
) throws ResourceKeyCreationException [inline]

Creates a new resource key from the given object and the factory keys.

Parameters:
value 
factoryKeys 
Returns:
the created key.
Exceptions:
org.jfree.resourceloader.ResourceKeyCreationException if creating the key failed.

Definition at line 82 of file RawResourceLoader.java.

  {
    if (value instanceof byte[] == false)
    {
      return null;
    }

    return new ResourceKey(RawResourceLoader.class.getName(), value, factoryKeys);
  }


Generated by  Doxygen 1.6.0   Back to index