public class LineSink extends Object implements java.util.function.Consumer<String>, Closeable
| Modifier and Type | Method and Description |
|---|---|
void |
accept(String line) |
void |
close() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitandThenpublic LineSink(File file)
public void accept(String line)
accept in interface java.util.function.Consumer<String>public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionCopyright © 2017. All Rights Reserved.