Class SimpleCharStream
java.lang.Object
org.tweetyproject.logics.rpcl.parser.rpclcondensedprobabilitydistributionparser.SimpleCharStream
-
Field Summary
-
Constructor Summary
ConstructorDescriptionSimpleCharStream
(InputStream dstream) SimpleCharStream
(InputStream dstream, int startline, int startcolumn) SimpleCharStream
(InputStream dstream, int startline, int startcolumn, int buffersize) SimpleCharStream
(InputStream dstream, String encoding) SimpleCharStream
(InputStream dstream, String encoding, int startline, int startcolumn) SimpleCharStream
(InputStream dstream, String encoding, int startline, int startcolumn, int buffersize) SimpleCharStream
(Reader dstream) SimpleCharStream
(Reader dstream, int startline, int startcolumn) SimpleCharStream
(Reader dstream, int startline, int startcolumn, int buffersize) -
Method Summary
Modifier and TypeMethodDescriptionstatic void
adjustBeginLineColumn
(int newLine, int newCol) static void
backup
(int amount) static char
static void
Done()
static int
static int
static int
Deprecated.static int
static int
static String
GetImage()
static int
getLine()
Deprecated.static char[]
GetSuffix
(int len) static char
readChar()
void
ReInit
(InputStream dstream) void
ReInit
(InputStream dstream, int startline, int startcolumn) void
ReInit
(InputStream dstream, int startline, int startcolumn, int buffersize) void
ReInit
(InputStream dstream, String encoding) void
ReInit
(InputStream dstream, String encoding, int startline, int startcolumn) void
ReInit
(InputStream dstream, String encoding, int startline, int startcolumn, int buffersize) void
void
void
-
Field Details
-
staticFlag
public static final boolean staticFlag- See Also:
-
bufpos
public static int bufpos
-
-
Constructor Details
-
SimpleCharStream
-
SimpleCharStream
-
SimpleCharStream
-
SimpleCharStream
public SimpleCharStream(InputStream dstream, String encoding, int startline, int startcolumn, int buffersize) throws UnsupportedEncodingException - Throws:
UnsupportedEncodingException
-
SimpleCharStream
-
SimpleCharStream
public SimpleCharStream(InputStream dstream, String encoding, int startline, int startcolumn) throws UnsupportedEncodingException - Throws:
UnsupportedEncodingException
-
SimpleCharStream
-
SimpleCharStream
- Throws:
UnsupportedEncodingException
-
SimpleCharStream
-
-
Method Details
-
BeginToken
- Throws:
IOException
-
readChar
- Throws:
IOException
-
getColumn
Deprecated. -
getLine
Deprecated. -
getEndColumn
public static int getEndColumn() -
getEndLine
public static int getEndLine() -
getBeginColumn
public static int getBeginColumn() -
getBeginLine
public static int getBeginLine() -
backup
public static void backup(int amount) -
ReInit
-
ReInit
-
ReInit
-
ReInit
public void ReInit(InputStream dstream, String encoding, int startline, int startcolumn, int buffersize) throws UnsupportedEncodingException - Throws:
UnsupportedEncodingException
-
ReInit
-
ReInit
- Throws:
UnsupportedEncodingException
-
ReInit
-
ReInit
public void ReInit(InputStream dstream, String encoding, int startline, int startcolumn) throws UnsupportedEncodingException - Throws:
UnsupportedEncodingException
-
ReInit
-
GetImage
-
GetSuffix
public static char[] GetSuffix(int len) -
Done
public static void Done() -
adjustBeginLineColumn
public static void adjustBeginLineColumn(int newLine, int newCol)
-