Trait

xerial.core.io.text

TextScanner

Related Doc: package text

Permalink

trait TextScanner extends Scanner

Linear Supertypes
Scanner, PositionMark, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TextScanner
  2. Scanner
  3. PositionMark
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def atEnd: Boolean

    Permalink

    Returns true iff the reader reached the end of the stream

    Returns true iff the reader reached the end of the stream

    Definition Classes
    Scanner
  2. abstract def clearMarks: Unit

    Permalink
    Definition Classes
    PositionMark
  3. abstract def close: Unit

    Permalink

    Close the stream

    Close the stream

    Definition Classes
    Scanner
  4. abstract def column: Int

    Permalink

    Returns the column position in the current line

  5. abstract def consume: TextScanner.this.type

    Permalink

    Proceeds a cursor by one

    Proceeds a cursor by one

    Definition Classes
    Scanner
  6. abstract def cursor: Int

    Permalink
    Attributes
    protected
    Definition Classes
    Scanner
  7. abstract def first: Int

    Permalink

    Look-ahead the first character

    Look-ahead the first character

    Definition Classes
    Scanner
  8. abstract def lastMark: Int

    Permalink
    Definition Classes
    PositionMark
  9. abstract def line: Int

    Permalink

    Returns the current line number

  10. abstract def mark: Unit

    Permalink
    Definition Classes
    PositionMark
  11. abstract def removeLast: Int

    Permalink
    Definition Classes
    PositionMark
  12. abstract def rewind: Unit

    Permalink

    Rewind the scanner cursor to the last marked position

    Rewind the scanner cursor to the last marked position

    Definition Classes
    PositionMark
  13. abstract def selected: CharSequence

    Permalink

    Return the character sequence from the last mark to the current cursor position

    Return the character sequence from the last mark to the current cursor position

    Definition Classes
    PositionMark
  14. abstract def selectedFromFirstMark: CharSequence

    Permalink

    Return the character sequence from the first mark to the current cursor position

    Return the character sequence from the first mark to the current cursor position

    Definition Classes
    PositionMark
  15. abstract def setCursor(c: Int): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Scanner

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. val EOF: Int

    Permalink

    End of the character.

    End of the character. Usually -1

    Definition Classes
    Scanner
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  9. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  11. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  12. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  13. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  14. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  15. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  16. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  17. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  18. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  19. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  20. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  21. def withMark[U](f: ⇒ U): U

    Permalink
    Definition Classes
    PositionMark

Inherited from Scanner

Inherited from PositionMark

Inherited from AnyRef

Inherited from Any

Ungrouped