public class CssProcessingResourceLoader extends Object implements ResourceLoader
ResourceLoader that allows using lesscss @include in plain .css
files.
Multiple levels of nesting are achieved by combining these two actions:
| Constructor and Description |
|---|
CssProcessingResourceLoader(ResourceLoader delegate) |
public CssProcessingResourceLoader(ResourceLoader delegate)
public boolean exists(String resource, String[] paths) throws IOException
ResourceLoaderexists in interface ResourceLoaderresource - relative resource file path.paths - paths to search for resource under.true if the resource exists.IOException - when i/o error occurs while checking for resource existence.public String load(String resource, String[] paths, String charset) throws IOException
ResourceLoaderload in interface ResourceLoaderresource - relative resource file path.paths - paths to search for resource under.charset - character set name, valid with respect to
Charset.IOException - when i/o error occurs while loading the resource, or charset
is invalid.Copyright © 2014 Asual DZZD. All Rights Reserved.