case class ReaderParserInput(data: Reader, bufferSize: Int) extends ParserInput with BufferedParserInput with Product with Serializable
A ParserInput that pulls data from a given java.io.Reader
. Typically
not used alone, and instead is used as part of a ParserInputSource.FromReadable
- Alphabetic
- By Inheritance
- ReaderParserInput
- Serializable
- Serializable
- Product
- Equals
- BufferedParserInput
- ParserInput
- IsReachable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new ReaderParserInput(data: Reader, bufferSize: Int)
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
apply(index: Int): Char
Requests batches until given
index
and in case of success returns needed element.Requests batches until given
index
and in case of success returns needed element.- Definition Classes
- BufferedParserInput → ParserInput → IsReachable
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
val
buffer: UberBuffer
- Attributes
- protected
- Definition Classes
- BufferedParserInput
- val bufferSize: Int
-
def
checkTraceable(): Nothing
- Definition Classes
- BufferedParserInput → ParserInput
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- val data: Reader
-
def
dropBuffer(index: Int): Unit
Drops all elements before index not inclusive.
Drops all elements before index not inclusive.
- Definition Classes
- BufferedParserInput → ParserInput
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
val
firstIdx: Int
- Attributes
- protected
- Definition Classes
- BufferedParserInput
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
innerLength: Int
- returns
Length of the internal buffer.
- Definition Classes
- BufferedParserInput → ParserInput
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
isReachable(index: Int): Boolean
Requests batches until index of last retrieved element is less than
index
and, when it's possible, returns true, otherwise false.Requests batches until index of last retrieved element is less than
index
and, when it's possible, returns true, otherwise false.- Definition Classes
- BufferedParserInput → ParserInput → IsReachable
-
def
length: Int
- returns
Index of the last element which buffer contains.
- Definition Classes
- BufferedParserInput → ParserInput
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
prettyIndex(index: Int): String
- Definition Classes
- BufferedParserInput → ParserInput
-
def
requestUntil(until: Int): Boolean
- Attributes
- protected
- Definition Classes
- ReaderParserInput → BufferedParserInput
-
def
slice(from: Int, until: Int): String
Also requests batches to the
until
.Also requests batches to the
until
. If the current buffer is too small to provide some part of data afterfrom
bound, lower bound of slice is cut to the minimum offrom
and first index of accessible element in the buffer.- returns
Slice of internal data. For
IndexedSeq
mode it works as regular slice, ifuntil
overshoots the end of input, it just ignores it and behaves likeuntil
equals to the length of input. Same forIterator
mode, but it requests batches while the index of last retrieved element is less thanuntil
and ifuntil
is farther away than any element, it ignores this too.
- Definition Classes
- BufferedParserInput → ParserInput
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()