Package test
Class TestJSONBuilder
java.lang.Object
test.TestJSONBuilder
public class TestJSONBuilder
extends java.lang.Object
Class to create dummy JSON file with a constant subset of the original JSON
data.
-
Field Summary
Fields Modifier and Type Field Description private java.lang.String
fileName
-
Constructor Summary
Constructors Constructor Description TestJSONBuilder(java.lang.String fileName)
Constructor of TestJSONBuilder, takes a file name. -
Method Summary
Modifier and Type Method Description void
createFile()
Creates dummy JSON file with a constant subset of the original JSON data.void
destruct()
Deletes file.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
fileName
private java.lang.String fileName
-
-
Constructor Details
-
TestJSONBuilder
public TestJSONBuilder(java.lang.String fileName)Constructor of TestJSONBuilder, takes a file name.- Parameters:
fileName
- file name as String.
-
-
Method Details
-
createFile
public void createFile()Creates dummy JSON file with a constant subset of the original JSON data. -
destruct
public void destruct()Deletes file.
-