ConfigFile Class

Used to access and save configuration information to an encrypted JSON file.

Constructors

public ConfigFile( javaxt.io.File file )

Methods

delete( ) returns void
Used to delete the config file, if it exists.
exists( ) returns boolean
Returns true if the file exists.
getConfig( String username, String password ) returns JSONObject
Used to decrypt and parse a config file (json document).
getDirectory( ) returns javaxt.io.Directory
save( JSONObject config, String username, String password ) returns void
Used to encrypt and save the config file.