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

URL org::jfree::resourceloader::ResourceManager::toURL ( final ResourceKey  key  )  [inline]

Tries to convert the resource-key into an URL. Not all resource-keys have an URL representation. This method exists to make it easier to connect LibLoader to other resource-loading frameworks.

key the resource-key
the URL for the key, or null if there is no such key.

Definition at line 258 of file ResourceManager.java.

References findBySchema(), and org::jfree::resourceloader::ResourceLoader::toURL().

    final ResourceLoader loader = findBySchema(key);
    if (loader == null)
      return null;
    return loader.toURL(key);

Generated by  Doxygen 1.6.0   Back to index