|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.awt.RenderingHints.Key
org.geotools.factory.Hints.Key
org.geotools.factory.Hints.FileKey
public static final class Hints.FileKey
Key for hints to be specified as a File
.
The file may also be specified as a String
object.
Constructor Summary | |
---|---|
Hints.FileKey(boolean writable)
Creates a new key for File value. |
Method Summary | |
---|---|
boolean |
isCompatibleValue(java.lang.Object value)
Returns true if the specified object is a valid file or directory. |
Methods inherited from class org.geotools.factory.Hints.Key |
---|
getValueClass, toString |
Methods inherited from class java.awt.RenderingHints.Key |
---|
equals, hashCode, intKey |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Hints.FileKey(boolean writable)
File
value.
writable
- true
if write operations need to be allowed.Method Detail |
---|
public boolean isCompatibleValue(java.lang.Object value)
true
if the specified object is a valid file or directory.
isCompatibleValue
in class Hints.Key
value
- The object to test for validity.
true
if the value is valid; false
otherwise.Hints.ClassKey.isCompatibleValue(java.lang.Object)
,
isCompatibleValue(java.lang.Object)
,
Hints.IntegerKey.isCompatibleValue(java.lang.Object)
,
Hints.OptionKey.isCompatibleValue(java.lang.Object)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |