Package org.geotools.util.factory
Class Hints.FileKey
- Object
- 
- RenderingHints.Key
- 
- Hints.Key
- 
- FileKey
 
 
 
- 
- 
Method SummaryAll 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.KeygetValueClass, toString
 - 
Methods inherited from class RenderingHints.Keyequals, hashCode, intKey
 
- 
 
- 
- 
- 
Constructor Detail- 
FileKeypublic FileKey(boolean writable) Creates a new key forFilevalue.- Parameters:
- writable-- trueif write operations need to be allowed.
 
 
- 
 - 
Method Detail- 
isCompatibleValuepublic boolean isCompatibleValue(Object value) Returnstrueif the specified object is a valid file or directory.- Overrides:
- isCompatibleValuein class- Hints.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)
 
 
- 
 
-