void parse(InputStream inputStream,List<LocalizableMessage> warnings) throws IOException, DecodeException {
  try (BufferedReader reader=new BufferedReader(new InputStreamReader(inputStream))){
    final List<String> fileLines=readLines(reader);
    final String[] lines=fileLines.toArray(new String[fileLines.size()]);
    parse(lines,warnings);
  }
 }

void parse ( InputStream inputStream , List < LocalizableMessage > warnings ) throws IOException , DecodeException { try ( BufferedReader reader = new BufferedReader ( new InputStreamReader ( inputStream ) ) ) { final List < String > fileLines = readLines ( reader ) ; final String [ ] lines = fileLines . toArray ( new String [ fileLines . size ( ) ] ) ; parse ( lines , warnings ) ; } }
parses the contents of the provided input stream as an entry generator template file definition .
