public class LessResourceTransformer extends Object implements ResourceTransformer
@import
, which isn't
supported by the normal WRO4J processor.Constructor and Description |
---|
LessResourceTransformer() |
Modifier and Type | Method and Description |
---|---|
String |
getTransformedContentType()
Returns the MIME type of a transformed stream.
|
InputStream |
transform(Resource source,
ResourceDependencies dependencies)
Read the source input stream and provide a new input stream of the transformed content.
|
public LessResourceTransformer()
public String getTransformedContentType()
ResourceTransformer
getTransformedContentType
in interface ResourceTransformer
public InputStream transform(Resource source, ResourceDependencies dependencies) throws IOException
ResourceTransformer
transform
in interface ResourceTransformer
source
- input contentdependencies
- allows additional dependencies of the source to be trackedIOException
Copyright © 2003-2013 The Apache Software Foundation.