public class FileProperty extends AbstractProperty<java.io.File>
Modifier and Type | Field and Description |
---|---|
static PropertyDescriptorFactory |
FACTORY |
Constructor and Description |
---|
FileProperty(java.lang.String theName,
java.lang.String theDescription,
java.io.File theDefault,
float theUIOrder) |
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
defaultAsString() |
java.lang.Class<java.io.File> |
type()
Denotes the value datatype.
|
java.io.File |
valueFrom(java.lang.String propertyString)
If the property is multi-valued then return the separate values after
parsing the propertyString provided.
|
addAttributesTo, areEqual, asDelimitedString, asDelimitedString, asString, attributeValuesById, choices, compareTo, defaultHasNullValue, defaultValue, description, equals, errorFor, hashCode, isArray, isMultiValue, isRequired, multiValueDelimiter, name, preferredRowCount, propertyErrorFor, toString, typeErrorFor, uiOrder, valueErrorFor, valuesErrorFor
public static final PropertyDescriptorFactory FACTORY
public FileProperty(java.lang.String theName, java.lang.String theDescription, java.io.File theDefault, float theUIOrder)
public java.lang.Class<java.io.File> type()
PropertyDescriptor
public java.io.File valueFrom(java.lang.String propertyString) throws java.lang.IllegalArgumentException
PropertyDescriptor
propertyString
- Stringjava.lang.IllegalArgumentException
- if the given string cannot be parsedprotected java.lang.String defaultAsString()
defaultAsString
in class AbstractProperty<java.io.File>
Copyright © 2002-2014 InfoEther. All Rights Reserved.