public class LineReader extends Object
| Constructor and Description |
|---|
LineReader() |
| Modifier and Type | Method and Description |
|---|---|
static int |
fromFile(String filename,
BiConsumer<Integer,String> proc) |
static int |
fromInputStream(InputStream is,
BiConsumer<Integer,String> proc) |
static int |
fromResource(String filename,
BiConsumer<Integer,String> proc) |
public static int fromInputStream(InputStream is, BiConsumer<Integer,String> proc) throws IOException
IOExceptionpublic static int fromFile(String filename, BiConsumer<Integer,String> proc) throws IOException
IOExceptionpublic static int fromResource(String filename, BiConsumer<Integer,String> proc) throws IOException
IOExceptionCopyright © 2023. All rights reserved.