java.lang.Object
javax0.jamal.tools.Input
- All Implemented Interfaces:
CharSequence
,javax0.jamal.api.Input
public class Input extends Object implements javax0.jamal.api.Input
A simple implementation of the
Input
interface utilizing four fields.-
Constructor Summary
-
Method Summary
Modifier and Type Method Description int
getColumn()
int
getLine()
javax0.jamal.api.Position
getPosition()
String
getReference()
StringBuilder
getSB()
static Input
makeInput()
static Input
makeInput(String string)
static Input
makeInput(StringBuilder input, javax0.jamal.api.Position ref)
static Input
makeInput(String input, javax0.jamal.api.Position ref)
static Input
makeInput(javax0.jamal.api.Input input)
void
stepColumn()
void
stepLine()
String
toString()
-
Constructor Details
-
Method Details
-
makeInput
-
makeInput
-
makeInput
-
makeInput
-
makeInput
-
getLine
public int getLine()- Specified by:
getLine
in interfacejavax0.jamal.api.Input
-
getColumn
public int getColumn()- Specified by:
getColumn
in interfacejavax0.jamal.api.Input
-
stepLine
public void stepLine()- Specified by:
stepLine
in interfacejavax0.jamal.api.Input
-
stepColumn
public void stepColumn()- Specified by:
stepColumn
in interfacejavax0.jamal.api.Input
-
getSB
- Specified by:
getSB
in interfacejavax0.jamal.api.Input
-
getPosition
public javax0.jamal.api.Position getPosition()- Specified by:
getPosition
in interfacejavax0.jamal.api.Input
-
getReference
- Specified by:
getReference
in interfacejavax0.jamal.api.Input
-
toString
- Specified by:
toString
in interfaceCharSequence
- Overrides:
toString
in classObject
-