| Constructor and Description |
|---|
FileKey(boolean writable)
Creates a new key for
File value. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isCompatibleValue(Object value)
Returns
true if the specified object is a valid file or directory. |
getValueClass, toStringequals, hashCode, intKeypublic FileKey(boolean writable)
File value.writable - true if write operations need to be allowed.public boolean isCompatibleValue(Object value)
true if the specified object is a valid file or directory.isCompatibleValue in class Hints.Keyvalue - The object to test for validity.true if the value is valid; false otherwise.Hints.ClassKey.isCompatibleValue(java.lang.Object),
isCompatibleValue(java.lang.Object),
Hints.IntegerKey.isCompatibleValue(java.lang.Object),
Hints.OptionKey.isCompatibleValue(java.lang.Object)Copyright © 1996–2019 Geotools. All rights reserved.