finance
Class Option
java.lang.Object
finance.Option
public abstract class Option
- extends java.lang.Object
Method Summary |
static Option |
getCallOption()
Creates a call-type option object that parses a CSV line and determines
which parts are relevant for a call using a regular expression |
static Option |
getPutOption()
Creates a put-type option object that parses a CSV line and determines
which parts are relevant for a put using a regular expression |
void |
setDate(java.util.Date date)
Sets the date just using a string (not a date obj...) |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Option
public Option()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
setDate
public void setDate(java.util.Date date)
- Sets the date just using a string (not a date obj...)
- Parameters:
date
- A string representation of a Date
getCallOption
public static Option getCallOption()
- Creates a call-type option object that parses a CSV line and determines
which parts are relevant for a call using a regular expression
- Returns:
- an Option object
getPutOption
public static Option getPutOption()
- Creates a put-type option object that parses a CSV line and determines
which parts are relevant for a put using a regular expression
- Returns:
- an Option object