phelps.io

Class FileLogRecord

public class FileLogRecord extends Object

Database record for FileLog. It is passed to clients, which can mutate the fields. It can be created by clients and added to the database.
Field Summary
Stringdata
longhash
longlength
longmod
Stringpath
Constructor Summary
FileLogRecord(String path, long length, long mod, long hash, String data)
FileLogRecord(File file)
Method Summary
voidcomputeHash()
StringtoString()

Field Detail

data

public String data

hash

public long hash

length

public long length

mod

public long mod

path

public final String path

Constructor Detail

FileLogRecord

public FileLogRecord(String path, long length, long mod, long hash, String data)

FileLogRecord

public FileLogRecord(File file)

Method Detail

computeHash

public void computeHash()

toString

public String toString()