public static String compile ( File lessFile , boolean compress ) throws IOException { String lessData = new String ( Files . readAllBytes ( lessFile . toPath ( ) ) , StandardCharsets . UTF_8 ) ; return Less . compile ( lessFile . toURI ( ) . toURL ( ) , lessData , compress , new ReaderFactory ( ) ) ; }
Compile the less data from a file .