Overview
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
F
G
M
P
S
U
F
Frink
- Class in
frink.parser
This class is the interface to all of Frink's functionality.
Frink()
- Constructor for class frink.parser.
Frink
Construct a new interpreter with default configuration.
frink.errors
- package frink.errors
Unified exceptions and errors for the Frink language.
frink.parser
- package frink.parser
Contains data structures and routines to parse Frink programs and to embed a Frink interpreter in other Java programs.
FrinkConversionException
- Exception in
frink.errors
This is an abstract base class that indicates a conversion error has occurred when calling Frink's Java integration methods.
FrinkConversionException(String)
- Constructor for exception frink.errors.
FrinkConversionException
Construct a FrinkConversionException with the specified message.
FrinkEvaluationException
- Exception in
frink.errors
This class is thrown by the parser and integration methods to indicate that an error occurred during evaluation or parsing of a Frink program or expression.
FrinkEvaluationException(String)
- Constructor for exception frink.errors.
FrinkEvaluationException
Construct a FrinkEvaluationException with the specified message.
G
getEnvironment()
- Method in class frink.parser.
Frink
Returns the Environment contained in this parser.
getVariableAsDouble(String, String)
- Method in class frink.parser.
Frink
Gets the value of a variable as a double.
getVariableAsExpression(String)
- Method in class frink.parser.
Frink
Gets the variable as an Expression.
getVariableAsUnit(String)
- Method in class frink.parser.
Frink
Gets the variable as a unit.
M
main(String[])
- Static method in class frink.parser.
Frink
Create a new Frink interpreter and parse arguments.
P
parseArguments(String[])
- Method in class frink.parser.
Frink
Parses command-line arguments and removes them from the list.
parseFilename(String)
- Method in class frink.parser.
Frink
Parse (and execute) a filename.
parseString(String)
- Method in class frink.parser.
Frink
Parse a string and execute it.
parseStrings(String[])
- Method in class frink.parser.
Frink
Parse a series of strings in immediate mode.
parseStringToExpression(String)
- Method in class frink.parser.
Frink
Parse a string.
S
setRestrictiveSecurity(boolean)
- Method in class frink.parser.
Frink
This is a convenience method to enable strictest security.
setUnitsFile(String)
- Method in class frink.parser.
Frink
Set units file to the specified filename, null to use standard units.
setVariable(String, String)
- Method in class frink.parser.
Frink
Set a string variable.
setVariable(String, boolean)
- Method in class frink.parser.
Frink
Set a boolean variable.
setVariable(String, Calendar)
- Method in class frink.parser.
Frink
Set a variable from a Calendar object.
setVariable(String, Date)
- Method in class frink.parser.
Frink
Set a variable from a Date object.
setVariable(String, double, String)
- Method in class frink.parser.
Frink
Set a variable with the specified scale and units.
setVariable(String, int, String)
- Method in class frink.parser.
Frink
Set a variable with the specified scale and units.
setVariable(String, long, String)
- Method in class frink.parser.
Frink
Set a variable with the specified scale and units.
setVariable(String, BigInteger, String)
- Method in class frink.parser.
Frink
Set a variable with the specified scale and units.
setVariable(String, Object)
- Method in class frink.parser.
Frink
Sets a variable as a Java Object.
U
UnexpectedTypeException
- Exception in
frink.errors
This class represents an exception which is thrown when one of the getter or setter methods expects a value that can't be converted to that type.
UnexpectedTypeException(String, String, Expression, Environment)
- Constructor for exception frink.errors.
UnexpectedTypeException
Construct an UnexpectedTypeException with the specified message.
UnexpectedTypeException(String, Numeric, String, NumericException)
- Constructor for exception frink.errors.
UnexpectedTypeException
Construct an UnexpectedTypeException with the specified math exception
UnknownUnitException
- Exception in
frink.errors
This is an exception that is thrown when an unknown unit is requested from Frink's Java integration methods.
UnknownUnitException(String, String)
- Constructor for exception frink.errors.
UnknownUnitException
Returns an error if a specified unit was not found.
UnknownVariableException
- Exception in
frink.errors
This is an exception that is thrown when an unknown variable is requested and the return type of the method doesn't allow us to return null.
UnknownVariableException(String)
- Constructor for exception frink.errors.
UnknownVariableException
Returns an error if a specified unit was not found.
F
G
M
P
S
U
Overview
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes