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 path) throws IOException
ResourceLoaderexists in interface ResourceLoaderpath - resource path.true if the resource exists.IOException - when i/o error occurs while checking for resource existence.public String load(String path, String charset) throws IOException
ResourceLoaderload in interface ResourceLoaderpath - resource path.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.