public final class FileUtil extends Object
Modifier and Type | Method and Description |
---|---|
static BufferedReader |
createReader(String filePath) |
static String |
parseDirText(String dirPath) |
static List<String> |
readBsvTokens(BufferedReader reader,
String filePath) |
static List<String> |
readCsvTokens(BufferedReader reader,
String filePath) |
static Map<String,Collection<String>> |
readNamedSetsOld(String filePath,
String description)
Deprecated.
|
static Collection<String> |
readOneColumn(String listFilePath,
String description) |
static List<String> |
readTildeTokens(BufferedReader reader,
String filePath) |
static void |
writeNamedSets(String filePath,
String description,
Map<String,Collection<String>> namedSets)
Deprecated.
|
static void |
writeOneColumn(String filePath,
String description,
Collection<String> list) |
public static BufferedReader createReader(String filePath)
public static List<String> readBsvTokens(BufferedReader reader, String filePath)
public static List<String> readCsvTokens(BufferedReader reader, String filePath)
public static List<String> readTildeTokens(BufferedReader reader, String filePath)
public static void writeOneColumn(String filePath, String description, Collection<String> list)
public static Collection<String> readOneColumn(String listFilePath, String description)
public static void writeNamedSets(String filePath, String description, Map<String,Collection<String>> namedSets)
@Deprecated public static Map<String,Collection<String>> readNamedSetsOld(String filePath, String description)
Copyright © 2012-2017 The Apache Software Foundation. All Rights Reserved.