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

ResourceLoader org::jfree::resourceloader::ResourceManager::findBySchema ( final ResourceKey  key ) [inline, private]

Tries to find the first resource-loader that would be able to process the key.

Parameters:
keythe resource-key.
Returns:
the resourceloader for that key, or null, if no resource-loader is able to process the key.

Definition at line 238 of file ResourceManager.java.

References org::jfree::resourceloader::ResourceLoader::isSupportedKey().

Referenced by toURL().

  {
    for (int i = 0; i < resourceLoaders.size(); i++)
    {
      final ResourceLoader loader = (ResourceLoader) resourceLoaders.get(i);
      if (loader.isSupportedKey(key))
      {
        return loader;
      }
    }
    return null;
  }

Here is the call graph for this function:

Here is the caller graph for this function:


Generated by  Doxygen 1.6.0   Back to index