public interface CharStream extends IntStream
EOF, UNKNOWN_SOURCE_NAME| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getText(Interval interval)
This method returns the text for a range of characters within this input
stream.
|
java.lang.String getText(Interval interval)
interval lies entirely within a marked range. For more
information about marked ranges, see IntStream.mark().interval - an interval within the streamjava.lang.NullPointerException - if interval is nulljava.lang.IllegalArgumentException - if interval.a < 0, or if
interval.b < interval.a - 1, or if interval.b lies at or
past the end of the streamjava.lang.UnsupportedOperationException - if the stream does not support
getting the text of the specified interval