public abstract class ParsedDocument extends Object
| Constructor and Description |
|---|
ParsedDocument() |
| Modifier and Type | Method and Description |
|---|---|
void |
toFile(String filepath,
boolean formatted)
Save the json to disk using UTF-8 encoding
|
String |
toJson(boolean formatted) |
String |
toString() |
public String toJson(boolean formatted)
formatted - true for pretty-printingpublic void toFile(String filepath, boolean formatted) throws IOException
filepath - The file to save toformatted - true for pretty-printingIOException - When an error occurs writing the fileCopyright © 2024. All rights reserved.