Package org.geotools.util.factory
Class Hints.FileKey
Object
RenderingHints.Key
Hints.Key
FileKey
- Enclosing class:
- Hints
- Since:
- 2.4
- Author:
- Jody Garnett, Martin Desruisseaux
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanisCompatibleValue(Object value) Returnstrueif the specified object is a valid file or directory.Methods inherited from class Hints.Key
getValueClass, toStringMethods inherited from class RenderingHints.Key
equals, hashCode, intKey
-
Constructor Details
-
FileKey
public FileKey(boolean writable) Creates a new key forFilevalue.- Parameters:
writable-trueif write operations need to be allowed.
-
-
Method Details
-
isCompatibleValue
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:
-