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

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


    return lines;
  }

  private Line parseLine(String strLine, String separator,
      List<Property> properties) {
    Line line = new Line();
    StringTokenizer st = new StringTokenizer(strLine, separator);
    int size = properties.size();
    int i = 0;
    while (st.hasMoreElements()) {
      if (i < size) {
        String token = st.nextToken();
        Property prop = properties.get(i);
        Property property = new Property();
        property.setName(prop.getName());
        property.setValue(token);
        line.addProperty(property);
        i++;
      }
    }
    return line;
  }
View Full Code Here

TOP

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

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.