public class MoreFiles extends Object
| Constructor and Description |
|---|
MoreFiles() |
| Modifier and Type | Method and Description |
|---|---|
static long |
readAsLong(Path path) |
static LongCompositeData |
readAsLongMap(Path path,
String sepText)
nr_periods 0
nr_throttled 0
throttled_time 0
|
static String |
readAsString(Path path) |
static List<String> |
readLines(String path) |
static List<String> |
readLinesAndExpectRows(String path,
int rows) |
public static String readAsString(Path path) throws IOException
IOExceptionpublic static long readAsLong(Path path) throws NumberFormatException, IOException
NumberFormatExceptionIOExceptionpublic static LongCompositeData readAsLongMap(Path path, String sepText) throws IOException
nr_periods 0 nr_throttled 0 throttled_time 0
path - pathsepText - separatorIOException - on I/O errorCopyright © 2020. All rights reserved.