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, toString
equals, hashCode, intKey
public 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.Key
value
- 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.