com.threerings.antidote.property
Class FileProperty
java.lang.Object
com.threerings.antidote.property.BaseProperty<File>
com.threerings.antidote.property.FileProperty
- All Implemented Interfaces:
- Mutable, Property<File>, RequiresValidation
public class FileProperty
- extends BaseProperty<File>
A BaseProperty
that holds an File
object.
Method Summary |
protected File |
validateProperty()
Give each Property a chance to do property specific validation and return the
validated value. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FileProperty
public FileProperty(String name,
Field field)
FileProperty
public FileProperty(String name,
Field field,
File defaultValue)
validateProperty
protected File validateProperty()
- Description copied from class:
BaseProperty
- Give each
Property
a chance to do property specific validation and return the
validated value. If the raw value could not turned into a valid value, this will return null.
- Specified by:
validateProperty
in class BaseProperty<File>
Copyright © 2007-2008 Three Rings Design, Inc.
All Rights Reserved. Released under a BSD license.