Package org.jboss.forge.addon.text.highlight

Examples of org.jboss.forge.addon.text.highlight.Scanner.scan()


      Scanner scanner = new JavaScriptScanner();
      for (int i = 0; i < 60; i++)
      {
         long start = System.currentTimeMillis();
         scanner.scan(new StringScanner(content), encoder, options);
         System.out.println(i + " [" + (System.currentTimeMillis() - start) + "]");
      }
   }
}
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.