public LessEngine(LessOptions options) {
this(options, defaultResourceLoader(options));
}
private static ResourceLoader defaultResourceLoader(LessOptions options) {
ResourceLoader resourceLoader = new ChainedResourceLoader(
new FilesystemResourceLoader(), new ClasspathResourceLoader(
LessEngine.class.getClassLoader()),
new JNDIResourceLoader(), new HTTPResourceLoader());
if (options.isCss()) {
return new CssProcessingResourceLoader(resourceLoader);