com.headius.options
Class StringOption

java.lang.Object
  extended by com.headius.options.Option<String>
      extended by com.headius.options.StringOption

public class StringOption
extends Option<String>

A String-based Option.


Field Summary
 
Fields inherited from class com.headius.options.Option
defval, type
 
Constructor Summary
StringOption(String longName, Enum category, String[] options, String defval, String description)
           
StringOption(String prefix, String name, Enum category, String[] options, String defval, String description)
           
 
Method Summary
protected  String reloadValue()
          Perform the appropriate load and conversion for the option's property.
 
Methods inherited from class com.headius.options.Option
bool, bool, bool, bool, defaultValue, description, displayName, enumeration, enumeration, enumeration, enumeration, force, formatOptions, formatOptions, formatValues, formatValues, integer, integer, integer, integer, integer, integer, integer, integer, isSpecified, load, loadProperty, options, prefix, propertyName, reload, shortName, string, string, string, string, string, string, string, string, toString, type, unforce
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StringOption

public StringOption(String prefix,
                    String name,
                    Enum category,
                    String[] options,
                    String defval,
                    String description)

StringOption

public StringOption(String longName,
                    Enum category,
                    String[] options,
                    String defval,
                    String description)
Method Detail

reloadValue

protected String reloadValue()
Description copied from class: Option
Perform the appropriate load and conversion for the option's property.

Specified by:
reloadValue in class Option<String>


Copyright © 2014. All Rights Reserved.