Class FileOps

java.lang.Object
org.bigraphs.grgen.converter.cli.FileOps

public class FileOps extends Object
A library class offering useful file operations on the filesystem via static methods.
Author:
Dominik Grzelak
  • Constructor Details

    • FileOps

      public FileOps()
  • Method Details

    • fileExists

      public static boolean fileExists(String filename)
    • fileExists

      public static boolean fileExists(String basePath, String filename)
    • directoryExists

      public static boolean directoryExists(String filename)
    • directoryExists

      public static boolean directoryExists(String basePath, String filename)
    • writeFile

      public static void writeFile(String contents, String filePath) throws IOException
      Throws:
      IOException
    • writeFile

      public static void writeFile(String contents, String basePath, String filePath) throws IOException
      Throws:
      IOException