Package org.geotools.util.factory
Class Hints.FileKey
- Object
-
- RenderingHints.Key
-
- Hints.Key
-
- FileKey
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisCompatibleValue(Object value)Returnstrueif the specified object is a valid file or directory.-
Methods inherited from class Hints.Key
getValueClass, toString
-
Methods inherited from class RenderingHints.Key
equals, hashCode, intKey
-
-
-
-
Constructor Detail
-
FileKey
public FileKey(boolean writable)
Creates a new key forFilevalue.- Parameters:
writable-trueif write operations need to be allowed.
-
-
Method Detail
-
isCompatibleValue
public boolean isCompatibleValue(Object value)
Returnstrueif the specified object is a valid file or directory.- Overrides:
isCompatibleValuein classHints.Key- Parameters:
value- The object to test for validity.- Returns:
trueif the value is valid;falseotherwise.- See Also:
Hints.ClassKey.isCompatibleValue(java.lang.Object),isCompatibleValue(java.lang.Object),Hints.IntegerKey.isCompatibleValue(java.lang.Object),Hints.OptionKey.isCompatibleValue(java.lang.Object)
-
-