Package cdc.app
Class AppInfoIo
java.lang.Object
cdc.app.AppInfoIo
-
Method Summary
Modifier and TypeMethodDescriptionstatic Filestatic FilegenerateJsonExceptionFile(File dir, Instant instant) Generate a File usable for exception traces.static voidsaveAsJson(AppInfo info, File file)
-
Method Details
-
generateJsonExceptionFile
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 containsinstant, and with a json extension.
-
generateJsonExceptionFile
-
saveAsJson
- Throws:
IOException
-