Package org.eclipse.jetty.start
Class TextFile
- java.lang.Object
-
- org.eclipse.jetty.start.TextFile
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddUniqueLine(String line)List<String>getAllLines()PathgetFile()List<String>getLineMatches(Pattern pattern)List<String>getLines()voidinit()Iterator<String>iterator()ListIterator<String>listIterator()voidprocess(String line)Stream<String>stream()StringtoString()-
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 Detail
-
TextFile
public TextFile(Path file) throws FileNotFoundException, IOException
- Throws:
FileNotFoundExceptionIOException
-
-
Method Detail
-
addUniqueLine
public void addUniqueLine(String line)
-
getFile
public Path getFile()
-
init
public void init()
-
listIterator
public ListIterator<String> listIterator()
-
process
public void process(String line)
-
-