net.sf.whatsnew.options
Class Options

java.lang.Object
  |
  +--net.sf.whatsnew.options.Options

public class Options
extends java.lang.Object

Application options

Version:
$Id: Options.java,v 1.1 2004/05/13 01:22:30 dquintela Exp $
Author:
Diogo Quintela

Field Summary
static net.sf.whatsnew.options.Option CHANGE_MESSAGE
          Change message
static net.sf.whatsnew.options.Option FILE
          File name
static net.sf.whatsnew.options.Option MODE
          Application Mode
static net.sf.whatsnew.options.Option RELEASE_DATE_FORMAT
          Release date format (@see java.text.SimpleDateFormat)
static net.sf.whatsnew.options.Option RELEASE_FORMAT
          Release string format
static net.sf.whatsnew.options.Option RELEASE_VERSION
          Release Version
 
Constructor Summary
Options()
           
 
Method Summary
 OptionValue getValue(net.sf.whatsnew.options.Option option)
          Get the value option, if exists
 void setValue(net.sf.whatsnew.options.Option option, java.lang.Object value)
          Set an option
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FILE

public static final net.sf.whatsnew.options.Option FILE
File name

MODE

public static final net.sf.whatsnew.options.Option MODE
Application Mode

RELEASE_VERSION

public static final net.sf.whatsnew.options.Option RELEASE_VERSION
Release Version

RELEASE_DATE_FORMAT

public static final net.sf.whatsnew.options.Option RELEASE_DATE_FORMAT
Release date format (@see java.text.SimpleDateFormat)

RELEASE_FORMAT

public static final net.sf.whatsnew.options.Option RELEASE_FORMAT
Release string format

CHANGE_MESSAGE

public static final net.sf.whatsnew.options.Option CHANGE_MESSAGE
Change message
Constructor Detail

Options

public Options()
Method Detail

setValue

public void setValue(net.sf.whatsnew.options.Option option,
                     java.lang.Object value)
              throws InvalidOptionValue
Set an option
Parameters:
option - The option
value - It's value
Throws:
InvalidOptionValue - If the value is not a valid value

getValue

public OptionValue getValue(net.sf.whatsnew.options.Option option)
Get the value option, if exists
Parameters:
option - The option to consult
Returns:
The optionValue


Copyright © 2004 Sourceforge. All Rights Reserved.