src/main/java/org/jboss/seam/examples/seamcrm/tools/StringTools.java
public static List<String> additionalLines(String str)
    {
       Scanner s = new Scanner(str);
       List<String> result = new ArrayList<String>();

       s.nextLine();

       while (s.hasNextLine())
       {
          result.add(s.nextLine());
       }

       return result;
    }
/**
     * Return all the lines after the first of a String as a list. 
     * @param str
     * @return
     */
Return all the lines after the first of a String as a list.
@param str
@return
Return all the lines after the first of a String as a list . @param str @return
public static List<String> additionalLines(String str)
    {
       Scanner s = new Scanner(str);
       List<String> result = new ArrayList<String>();
       s.nextLine();
       while (s.hasNextLine())
       {
          result.add(s.nextLine());
       }
       return result;
    }
public static List < String > additionalLines ( String str ) { Scanner s = new Scanner ( str ) ; List < String > result = new ArrayList < String > ( ) ; s . nextLine ( ) ; while ( s . hasNextLine ( ) ) { result . add ( s . nextLine ( ) ) ; } return result ; }
Return all the lines after the first of a String as a list.
Return all the lines after the first of a String as a list .