Class FileUtils

java.lang.Object
ubic.gemma.cli.util.FileUtils

public class FileUtils extends Object
  • Constructor Details

    • FileUtils

      public FileUtils()
  • Method Details

    • 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