Package ca.coolman.io

Examples of ca.coolman.io.BufferedReader


   * Read the mime-type registry document.
   *
   * @param is input stream of mime-type registry document.
   */
  protected void read(InputStream is) {
    BufferedReader reader = new BufferedReader(new InputStreamReader(is));
    String line;
    try {
      while ((line = reader.readLine()) != null) {
        // ignore comment lines
        if (line.startsWith("#")) {
          continue;
        }
        String tokens[] = getTokens(line);
View Full Code Here

TOP

Related Classes of ca.coolman.io.BufferedReader

Copyright © 2018 www.massapicom. 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.