public class FileProperty extends AbstractProperty<File>
Modifier and Type | Field and Description |
---|---|
static PropertyDescriptorFactory |
FACTORY |
DEFAULT_DELIMITER, DEFAULT_NUMERIC_DELIMITER
Constructor and Description |
---|
FileProperty(String theName,
String theDescription,
File theDefault,
float theUIOrder) |
Modifier and Type | Method and Description |
---|---|
protected String |
defaultAsString() |
Class<File> |
type()
Denotes the value datatype.
|
File |
valueFrom(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 Class<File> type()
PropertyDescriptor
public File valueFrom(String propertyString) throws IllegalArgumentException
PropertyDescriptor
propertyString
- StringIllegalArgumentException
- if the given string cannot be parsedprotected String defaultAsString()
defaultAsString
in class AbstractProperty<File>
Copyright © 2002-2016 InfoEther. All Rights Reserved.