Package adams.core.option.parsing
Class BaseMarkdownParsing
- java.lang.Object
-
- adams.core.option.parsing.AbstractParsing
-
- adams.core.option.parsing.BaseMarkdownParsing
-
public class BaseMarkdownParsing extends AbstractParsing
For parsing BaseMarkdown options.- Author:
- FracPete (fracpete at waikato dot ac dot nz)
-
-
Constructor Summary
Constructors Constructor Description BaseMarkdownParsing()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String
toString(AbstractOption option, Object object)
Returns the BaseMarkdown as string.static Object
valueOf(AbstractOption option, String str)
Returns a BaseMarkdown generated from the string.
-
-
-
Method Detail
-
toString
public static String toString(AbstractOption option, Object object)
Returns the BaseMarkdown as string.- Parameters:
option
- the current optionobject
- the BaseMarkdown object to convert- Returns:
- the generated string
-
valueOf
public static Object valueOf(AbstractOption option, String str)
Returns a BaseMarkdown generated from the string.- Parameters:
option
- the current optionstr
- the string to convert to a BaseMarkdown- Returns:
- the generated BaseMarkdown
-
-