com.upokecenter.util.IMarkableCharacterInput

com.upokecenter.util.IMarkableCharacterInput

public interface IMarkableCharacterInput extends com.upokecenter.text.ICharacterInput

Not documented yet.

Methods

Method Details

GetMarkPosition

int GetMarkPosition()

Gets the zero-based character position in the stream from the last-set mark.

Returns:

MoveBack

void MoveBack(int count)

Moves the stream position back the given number of characters.

Parameters:

SetHardMark

int SetHardMark()

Sets a mark on the stream's current position.

Returns:

SetMarkPosition

void SetMarkPosition(int pos)

Sets the stream's position from the last set mark.

Parameters:

SetSoftMark

int SetSoftMark()

If no mark is set, sets a mark on the stream, and characters read before the currently set mark are no longer available, while characters read after will be available if MoveBack is called. Otherwise, behaves like GetMarkPosition.

Returns:

Back to TurtleParser start page.