Package nu.validator.htmlparser.common
Interface ByteReadable
- All Known Implementing Classes:
HtmlInputStreamReader
public interface ByteReadable
An interface for providing a method for reading a stream of bytes one byte at
a time.
- Version:
- $Id$
-
Method Summary
Modifier and TypeMethodDescriptionint
readByte()
Returns the value of the next byte as an integer from 0 to 0xFF or -1 if the stream has ended.
-
Method Details
-
readByte
Returns the value of the next byte as an integer from 0 to 0xFF or -1 if the stream has ended.- Returns:
- integer from 0 to 0xFF or -1 on EOF
- Throws:
IOException
-