Class IOUtility

java.lang.Object
org.gcube.vremanagement.executor.utils.IOUtility

public abstract class IOUtility extends Object
Utility class for input/output operations. This class provides static methods for common I/O tasks.
  • Constructor Details

    • IOUtility

      public IOUtility()
  • Method Details

    • readFile

      public static String readFile(String filePath) throws IOException
      Reads the entire content of a file and returns it as a string.
      Parameters:
      filePath - the path to the file to read
      Returns:
      the content of the file as a string
      Throws:
      IOException - if an I/O error occurs