Package cdc.app

Class AppInfoIo

java.lang.Object
cdc.app.AppInfoIo

public final class AppInfoIo extends Object
  • Method Details

    • generateJsonExceptionFile

      public static File generateJsonExceptionFile(File dir, Instant instant)
      Generate a File usable for exception traces.
      Parameters:
      dir - The directory that will contain the file.
      instant - The Instant to use to generate file name.
      Returns:
      A new File placed into dir, whose name contains instant, and with a json extension.
    • generateJsonExceptionFile

      public static File generateJsonExceptionFile(File dir)
    • saveAsJson

      public static void saveAsJson(AppInfo info, File file) throws IOException
      Throws:
      IOException