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 boolean
isCompatibleValue(Object value)
Returnstrue
if 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 forFile
value.- Parameters:
writable
-true
if write operations need to be allowed.
-
-
Method Detail
-
isCompatibleValue
public boolean isCompatibleValue(Object value)
Returnstrue
if the specified object is a valid file or directory.- Overrides:
isCompatibleValue
in classHints.Key
- Parameters:
value
- The object to test for validity.- Returns:
true
if the value is valid;false
otherwise.- See Also:
Hints.ClassKey.isCompatibleValue(java.lang.Object)
,isCompatibleValue(java.lang.Object)
,Hints.IntegerKey.isCompatibleValue(java.lang.Object)
,Hints.OptionKey.isCompatibleValue(java.lang.Object)
-
-