com.ibm.portal.resourceaggregator.combiner
Interface Resource


public interface Resource

Represents a single type URI to be used within a module.

Since:
8.5.0.3

Nested Class Summary
static class Resource.URIType
          Defines the URI type
 
Method Summary
 java.lang.String getDeviceClass()
          Returns the device class or device class equation if anything is set, otherwise NULL.
 java.util.Locale getLocale()
          Returns the locale of this URI if one is set, othersise NULL.
 java.lang.String getURI()
          Returns the URI
 java.util.Set<Resource.URIType> getURITypes()
          Return a list of types that apply to this URI
 

Method Detail

getURI

java.lang.String getURI()
Returns the URI

Returns:
the URI. Never NULL.

getURITypes

java.util.Set<Resource.URIType> getURITypes()
Return a list of types that apply to this URI

Returns:
a list of URITypes. May be empty, never NULL.

getDeviceClass

java.lang.String getDeviceClass()
Returns the device class or device class equation if anything is set, otherwise NULL.

Returns:
the device class or device class equation

getLocale

java.util.Locale getLocale()
Returns the locale of this URI if one is set, othersise NULL.

Returns:
the locale as a string