com.threerings.antidote.property
Class ListProperty
java.lang.Object
com.threerings.antidote.property.BaseProperty<List<String>>
com.threerings.antidote.property.ListProperty
- All Implemented Interfaces:
- Mutable, Property<List<String>>, RequiresValidation
- Direct Known Subclasses:
- NonEmptyListProperty
public class ListProperty
- extends BaseProperty<List<String>>
A BaseProperty
that holds a list of String
objects. The strings are separated
by commas, ",", in the Ant build file. Whitespace between commas will be stripped.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ListProperty
public ListProperty(String name,
Field field)
ListProperty
public ListProperty(String name,
Field field,
List<String> defaultValue)
validateProperty
protected List<String> 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<List<String>>
Copyright © 2007-2008 Three Rings Design, Inc.
All Rights Reserved. Released under a BSD license.