Package ubic.gemma.cli.util
Class FileUtils
- java.lang.Object
-
- ubic.gemma.cli.util.FileUtils
-
public class FileUtils extends Object
-
-
Constructor Summary
Constructors Constructor Description FileUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static List<String>
readListFileToStrings(String fileName)
may be tab-delimited, only first column used, commented (#) lines are ignored.static List<String>
readListFileToStrings(Path file)
-
-
-
Method Detail
-
readListFileToStrings
public static List<String> readListFileToStrings(String fileName) throws IOException
may be tab-delimited, only first column used, commented (#) lines are ignored.- Parameters:
fileName
- the file name- Returns:
- list of ee identifiers
- Throws:
IOException
- in case there is an IO error while reading the file
-
readListFileToStrings
public static List<String> readListFileToStrings(Path file) throws IOException
- Throws:
IOException
-
-