while (isNextLineValueLine(reader)) firstLine = reader.next(); final String trimedLine = firstLine.trim(); if (trimedLine.length() == 0 && (newLine == false))
while (isNextLineValueLine(reader)) firstLine = reader.next(); final String trimedLine = firstLine.trim(); if (trimedLine.length() == 0 && (newLine == false))
while (isNextLineValueLine(reader)) firstLine = reader.next(); final String trimedLine = firstLine.trim(); if (trimedLine.length() == 0 && (newLine == false))
final String lastLineRead = rh.next(); if (lastLineRead.startsWith("module-info:"))
final String lastLineRead = rh.next(); if (lastLineRead.startsWith("module-info:"))
final String lastLineRead = reader.next();
final String lastLineRead = rh.next(); if (lastLineRead.startsWith("module-info:"))
final String lastLineRead = reader.next();
final String lastLineRead = reader.next();
final String lastLineRead = reader.next();
final String lastLineRead = reader.next();
final String lastLineRead = reader.next();
/** * Checks, whether the next line in the reader is a value line. * * @param reader from where to read the lines. * @return true, if the next line is a value line, false otherwise. * @throws IOException if an IO error occurs. */ private boolean isNextLineValueLine (final ReaderHelper reader) throws IOException { if (reader.hasNext() == false) { return false; } final String firstLine = reader.next(); if (firstLine == null) { return false; } if (parseKey(firstLine) != null) { reader.pushBack(firstLine); return false; } reader.pushBack(firstLine); return true; }
/** * Checks, whether the next line in the reader is a value line. * * @param reader from where to read the lines. * @return true, if the next line is a value line, false otherwise. * @throws IOException if an IO error occurs. */ private boolean isNextLineValueLine (final ReaderHelper reader) throws IOException { if (reader.hasNext() == false) { return false; } final String firstLine = reader.next(); if (firstLine == null) { return false; } if (parseKey(firstLine) != null) { reader.pushBack(firstLine); return false; } reader.pushBack(firstLine); return true; }
/** * Checks, whether the next line in the reader is a value line. * * @param reader from where to read the lines. * @return true, if the next line is a value line, false otherwise. * @throws IOException if an IO error occurs. */ private boolean isNextLineValueLine (final ReaderHelper reader) throws IOException { if (reader.hasNext() == false) { return false; } final String firstLine = reader.next(); if (firstLine == null) { return false; } if (parseKey(firstLine) != null) { reader.pushBack(firstLine); return false; } reader.pushBack(firstLine); return true; }