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

ResourceKey org::jfree::resourceloader::ResourceManager::deriveKey ( final ResourceKey  parent,
final String  path 
) throws ResourceKeyCreationException [inline]

Derives a new key from the given resource-key. Only keys for a hierarchical storage system (like file-systems or URLs) can have derived keys. Since LibLoader 0.3.0 only hierarchical keys can be derived. For that, the deriving path must be given as String.

Before trying to derive the key, the system tries to interpret the path as absolute key-value.

Parameters:
parent the parent key, must never be null
path the relative path, that is used to derive the key.
Returns:
the derived key.

Definition at line 155 of file ResourceManager.java.

  {
    return deriveKey(parent, path, null);
  }


Generated by  Doxygen 1.6.0   Back to index