/** * Gets the lines in the file. * @return the lines in the file */ public String[] getLines() { return text.toLinesArray(); }
final String[] sourceLines = getFileText(file).toLinesArray();
/** * Gets the lines in the file. * @return the lines in the file */ public String[] getLines() { return text.toLinesArray(); }
@Override public void processFiltered(final File file, final FileText lines) { boolean found = false; for (final String line: lines.toLinesArray()) { if (this.condition.matcher(line).find()) { found = true; break; } } if (found) { super.processFiltered(file, lines); } }
@Override public void processFiltered(final File file, final FileText lines) { boolean found = false; for (final String line: lines.toLinesArray()) { if (this.condition.matcher(line).find()) { found = true; break; } } if (found) { super.processFiltered(file, lines); } }
final String[] sourceLines = getFileText(file).toLinesArray();