Here you can find the source of splitLines(final String helpMessage)
public static List<String> splitLines(final String helpMessage)
//package com.java2s; //License from project: Apache License import java.util.Arrays; import java.util.List; public class Main { private final static String lineSeparator = System.getProperty("line.separator"); public static List<String> splitLines(final String helpMessage) { return Arrays.asList(helpMessage.split(lineSeparator)); }//from www .jav a 2 s . c o m }