public interface FileHash
DirectoryWatcher uses the equals() method on the member classes of this interface to determine if the content of a file has changed.
| Modifier and Type | Field and Description |
|---|---|
static FileHash |
DIRECTORY
A special hash instance used by DirectoryWatcher to represent a directory
|
| Modifier and Type | Method and Description |
|---|---|
byte[] |
asBytes() |
default java.lang.String |
asString() |
static FileHash |
directory() |
static FileHash |
fromBytes(byte[] value) |
static FileHash |
fromLong(long value) |
static final FileHash DIRECTORY
static FileHash fromBytes(byte[] value)
static FileHash fromLong(long value)
static FileHash directory()
default java.lang.String asString()
byte[] asBytes()