Humboldt Alignment Editor 2.5.0

eu.esdihumboldt.util.resource
Class Resources

java.lang.Object
  extended by eu.esdihumboldt.util.resource.Resources
All Implemented Interfaces:
ResourcesConstants

public abstract class Resources
extends Object
implements ResourcesConstants

Utility methods for the resource extensions.

Author:
Simon Templer

Field Summary
 
Fields inherited from interface eu.esdihumboldt.util.resource.ResourcesConstants
RESOURCE_TYPE_XML_SCHEMA
 
Constructor Summary
Resources()
           
 
Method Summary
static com.google.common.io.InputSupplier<? extends InputStream> tryResolve(URI uri, String resourceType)
          Try resolving an URI for a given resource type.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Resources

public Resources()
Method Detail

tryResolve

public static final com.google.common.io.InputSupplier<? extends InputStream> tryResolve(URI uri,
                                                                                         String resourceType)
Try resolving an URI for a given resource type.

Parameters:
uri - the URI to the resource
resourceType - the resource type, null for any resource type
Returns:
an input supplier for the resource or null if it was not found through resource resolvers

Humboldt Alignment Editor 2.5.0

Build 2012-12-03_12-30-59
Revision 9d2dd4b0318cda9f1393b1ddd390f7f792d70a2d