Interface SourceSynch
access this type via: util.source.SourceSynch (provides, requires or uses)
Functions
SourceRecord[] getRecords(optional File fromFile)
SourceRecord getRecord(char entityName[], int type)
void addRecord(SourceRecord record)
bool updateRecord(SourceRecord record)
bool deleteRecord(SourceRecord record)
char[] hash(byte content[])
SourceRecord[] getRecords(optional File fromFile)
Read all records from a synch file.
fromFile Optional parameter from which to read synch data; if this is not supplied, data is read from the standard source config directory.
SourceRecord getRecord(char entityName[], int type)
Read a specific record from the standard source synch file on disk.
void addRecord(SourceRecord record)
Add a new record to the standard source synch file on disk.
bool updateRecord(SourceRecord record)
Update an existing record in the standard source synch file on disk.
bool deleteRecord(SourceRecord record)
Delete an existing record in the standard source synch file on disk.
char[] hash(byte content[])
Hash data using the current source hashing methodology.