Class NuxeoUriLocator
- java.lang.Object
-
- org.nuxeo.ecm.web.resources.wro.provider.NuxeoUriLocator
-
- All Implemented Interfaces:
ro.isdc.wro.model.resource.locator.UriLocator
public class NuxeoUriLocator extends Object implements ro.isdc.wro.model.resource.locator.UriLocator
Nuxeo URI locator, made available to all wro resources thanks toNuxeoConfigurableProvider
.- Since:
- 7.3
-
-
Constructor Summary
Constructors Constructor Description NuxeoUriLocator()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
accept(String uri)
static Resource
getResource(String uri)
static String
getUri(Resource resource)
static boolean
isProcessorEnabled(String alias, String uri)
InputStream
locate(String uri)
-
-
-
Field Detail
-
ALIAS
public static final String ALIAS
- See Also:
- Constant Field Values
-
-
Method Detail
-
accept
public boolean accept(String uri)
- Specified by:
accept
in interfacero.isdc.wro.model.resource.locator.UriLocator
-
locate
public InputStream locate(String uri) throws IOException
- Specified by:
locate
in interfacero.isdc.wro.model.resource.locator.UriLocator
- Throws:
IOException
-
-