Class YUICssProcessor
- java.lang.Object
-
- com.composum.sling.clientlibs.processor.AbstractClientlibRenderer
-
- com.composum.sling.clientlibs.processor.YUICssProcessor
-
- All Implemented Interfaces:
CssProcessor,ClientlibProcessor,ClientlibRenderer
public class YUICssProcessor extends AbstractClientlibRenderer implements CssProcessor
-
-
Field Summary
-
Fields inherited from interface com.composum.sling.clientlibs.service.ClientlibProcessor
DEFAULT_CHARSET
-
-
Constructor Summary
Constructors Constructor Description YUICssProcessor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected StringgetLinkTemplate()The link template we use when rendering.InputStreamprocessContent(InputStream source, ProcessorContext context)Transforms the content and result in a stream with the probably changed content - for pipes.-
Methods inherited from class com.composum.sling.clientlibs.processor.AbstractClientlibRenderer
renderClientlibLinks, renderClientlibLinks
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.composum.sling.clientlibs.service.ClientlibRenderer
renderClientlibLinks
-
-
-
-
Method Detail
-
getLinkTemplate
protected String getLinkTemplate()
Description copied from class:AbstractClientlibRendererThe link template we use when rendering.- Specified by:
getLinkTemplatein classAbstractClientlibRenderer
-
processContent
public InputStream processContent(InputStream source, ProcessorContext context) throws IOException
Description copied from interface:ClientlibProcessorTransforms the content and result in a stream with the probably changed content - for pipes.- Specified by:
processContentin interfaceClientlibProcessor- Parameters:
source- the original to process by the processor. the processor returns a different stream, this must be closed by the processor.- Returns:
- the transformation result - might also be the originial sourceStream if switched off
- Throws:
IOException
-
-