Package net.sf.minuteProject.loader.implicitstructure.node

Examples of net.sf.minuteProject.loader.implicitstructure.node.Lines


    return strLine;
  }

  private Lines parseLines(File file, String separator,
      List<Property> properties) {
    Lines lines = new Lines();
    String strLine;
    try {
      // Open the file that is the first
      // command line parameter
      FileInputStream fstream = new FileInputStream(file);
      // Get the object of DataInputStream
      DataInputStream in = new DataInputStream(fstream);
      BufferedReader br = new BufferedReader(new InputStreamReader(in));
      // skip first line
      strLine = br.readLine();
      // Read File Line By Line
      while ((strLine = br.readLine()) != null) {
        // Print the content on the console
        lines.addLine(parseLine(strLine, separator, properties));
        // System.out.println (strLine);
      }
      // Close the input stream
      in.close();
    } catch (Exception e) {// Catch exception if any
View Full Code Here

TOP

Related Classes of net.sf.minuteProject.loader.implicitstructure.node.Lines

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.