public String compile(JoinableResourceBundle bundle, String content, String path, GeneratorContext context) {

		JawrLessSource source = new JawrLessSource(bundle, content, path, rsHandler);
		try {
			CompilationResult result = compiler.compile(source, lessConfig);
			addLinkedResources(path, context, source.getLinkedResources());
			return result.getCss();
		} catch (Less4jException e) {
			throw new BundlingProcessException("Unable to generate content for resource path : '" + path + "'", e);
		}

	}
public String compile ( JoinableResourceBundle bundle , String content , String path , GeneratorContext context ) { JawrLessSource source = new JawrLessSource ( bundle , content , path , rsHandler ) ; try { CompilationResult result = compiler . compile ( source , lessConfig ) ; addLinkedResources ( path , context , source . getLinkedResources ( ) ) ; return result . getCss ( ) ; } catch ( Less4jException e ) { throw new BundlingProcessException ( "Unable to generate content for resource path : '" + path + "'" , e ) ; } }
Compile the LESS source to a CSS source

@param bundle
the bundle
@param content
the resource content to compile
@param path
the compiled resource path
@param context
the generator context
@return the compiled CSS content