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 to NuxeoConfigurableProvider.
Since:
7.3
  • Field Details

  • Constructor Details

    • NuxeoUriLocator

      public NuxeoUriLocator()
  • Method Details

    • accept

      public boolean accept(String uri)
      Specified by:
      accept in interface ro.isdc.wro.model.resource.locator.UriLocator
    • locate

      public InputStream locate(String uri) throws IOException
      Specified by:
      locate in interface ro.isdc.wro.model.resource.locator.UriLocator
      Throws:
      IOException
    • getResource

      public static Resource getResource(String uri)
    • getUri

      public static String getUri(Resource resource)
    • isProcessorEnabled

      public static boolean isProcessorEnabled(String alias, String uri)