com.univocity.parsers.common.input
Interface CharInput

All Known Subinterfaces:
CharInputReader
All Known Implementing Classes:
AbstractCharInputReader, ConcurrentCharInputReader, DefaultCharInputReader, LookaheadCharInputReader

public interface CharInput

A (very) basic character input definition.

Author:
uniVocity Software Pty Ltd - parsers@univocity.com
See Also:
Format

Method Summary
 char getChar()
          Returns the last character returned by the nextChar() method.
 char nextChar()
          Returns the next character in the input.
 

Method Detail

nextChar

char nextChar()
Returns the next character in the input.

Returns:
the next character in the input. '\0' if there are no more characters in the input or if the CharInput is stopped.

getChar

char getChar()
Returns the last character returned by the nextChar() method.

Returns:
the last character returned by the nextChar() method.'\0' if there are no more characters in the input or if the CharInput is stopped.


Copyright © 2018 uniVocity Software Pty Ltd. All rights reserved.