net.sourceforge.pmd.properties

Class CharacterProperty

public class CharacterProperty extends AbstractPMDProperty

Defines a property type that supports Character values.

Version: $Revision$

Author: Brian Remedios

Constructor Summary
CharacterProperty(String theName, String theDescription, char theDefault, float theUIOrder)
Constructor for CharacterProperty.
CharacterProperty(String theName, String theDescription, char[] theDefaults, float theUIOrder, char delimiter)
Constructor for CharacterProperty.
CharacterProperty(String theName, String theDescription, String theDefaults, float theUIOrder, char delimiter)
Constructor for CharacterProperty.
CharacterProperty(String theName, String theDescription, Character[] theDefaults, float theUIOrder, char delimiter)
Constructor for CharacterProperty.
Method Summary
Class<Character>type()
Method type.
ObjectvalueFrom(String valueString)
Method valueFrom.

Constructor Detail

CharacterProperty

public CharacterProperty(String theName, String theDescription, char theDefault, float theUIOrder)
Constructor for CharacterProperty.

Parameters: theName String theDescription String theDefault char theUIOrder float

CharacterProperty

public CharacterProperty(String theName, String theDescription, char[] theDefaults, float theUIOrder, char delimiter)
Constructor for CharacterProperty.

Parameters: theName String theDescription String theDefaults char[] theUIOrder float delimiter char

CharacterProperty

public CharacterProperty(String theName, String theDescription, String theDefaults, float theUIOrder, char delimiter)
Constructor for CharacterProperty.

Parameters: theName String theDescription String theDefaults String theUIOrder float delimiter char

CharacterProperty

public CharacterProperty(String theName, String theDescription, Character[] theDefaults, float theUIOrder, char delimiter)
Constructor for CharacterProperty.

Parameters: theName String theDescription String theDefaults char[] theUIOrder float delimiter char

Method Detail

type

public Class<Character> type()
Method type.

Returns: Class

See Also: type

valueFrom

public Object valueFrom(String valueString)
Method valueFrom.

Parameters: valueString String

Returns: Object

Throws: IllegalArgumentException

See Also: valueFrom