|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.progeeks.meta.ClassPropertyType
org.progeeks.meta.type.FileType
public class FileType
Property type implementation that represents a File. The FileType contains additional information about the type of access or requirements that can be placed on the property of this type.
| Constructor Summary | |
|---|---|
FileType()
Creates a file type representing file values that are read-only and are not directories. |
|
FileType(boolean writable,
boolean directory)
Creates a file type representing file values with the specified restrictions. |
|
| Method Summary | |
|---|---|
boolean |
isDirectory()
Returns true if values of this type will only represent directories. |
boolean |
isInstance(java.lang.Object obj)
Returns true if the specified object is an instance of this type. |
boolean |
isWritable()
Returns true if values of this type will represent writable files. |
| Methods inherited from class org.progeeks.meta.ClassPropertyType |
|---|
convertPrimitive, createRawSuperTypeIterator, equals, getBaseClass, getSuperTypes, hashCode, isAssignableFrom, toString, wrapRawSuperType |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public FileType(boolean writable,
boolean directory)
public FileType()
| Method Detail |
|---|
public boolean isDirectory()
public boolean isWritable()
public boolean isInstance(java.lang.Object obj)
isInstance in interface PropertyTypeisInstance in class ClassPropertyType
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||