Package org.eclipse.jetty.start
Class TextFile
java.lang.Object
org.eclipse.jetty.start.TextFile
- Direct Known Subclasses:
StartIni
Simple common abstraction for Text files, that consist of a series of lines.
Ignoring lines that are empty, deemed to be comments, or are duplicates of prior lines.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addUniqueLine
(String line) getFile()
getLineMatches
(Pattern pattern) getLines()
void
init()
iterator()
void
stream()
toString()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
TextFile
- Throws:
FileNotFoundException
IOException
-
-
Method Details