|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.sun.faban.harness.logging.FlexBuffer.Tokenizer
public class FlexBuffer.Tokenizer
A tokenizer for the FlexBuffer.
Constructor Summary | |
---|---|
FlexBuffer.Tokenizer()
|
Method Summary | |
---|---|
boolean |
endOfData()
Returns position of end of data. |
void |
flip()
Copies the data from the current position to the beginning of the buffer. |
byte[] |
getLine()
Gets the next line from the buffer. |
String |
getLineAsString()
Gets the next line from the buffer, returning a string. |
String |
getTrimmedRemainder()
Gets the rest of the line from the buffer, trims, and returns as a string. |
String |
nextToken(byte c)
Returns next token. |
String |
nextToken(byte[] bytes)
Returns next token. |
String |
nextToken(String s)
Returns next token. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FlexBuffer.Tokenizer()
Method Detail |
---|
public byte[] getLine()
public String getLineAsString()
public String getTrimmedRemainder()
public String nextToken(byte[] bytes)
bytes
-
public String nextToken(byte c)
c
-
public String nextToken(String s)
s
-
public boolean endOfData()
public void flip()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |