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 TypeMethodDescriptionboolean
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 Details
-
FileKey
public FileKey(boolean writable) Creates a new key forFile
value.- Parameters:
writable
-true
if write operations need to be allowed.
-
-
Method Details
-
isCompatibleValue
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:
-