Class

com.github.scaruby

SFileReader

Related Doc: package scaruby

Permalink

class SFileReader extends SReader

Source
SFileReader.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SFileReader
  2. SReader
  3. SClosableResource
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new SFileReader(path: String, encoding: String = DefaultEncoding)

    Permalink

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. final def asInstanceOf[T0]: T0

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. def close(): Unit

    Permalink

    Closes this reader.

    Closes this reader. After closing it, any method must not be called.

    Definition Classes
    SFileReaderSReader
  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. def foreach[B](block: (SReader) ⇒ B): B

    Permalink
    Definition Classes
    SClosableResource
  11. final def getClass(): Class[_]

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

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

    Permalink
    Definition Classes
    Any
  14. def linesIterator(): Iterator[String]

    Permalink

    Returns Iterator, which one element corresponds one line.

    Returns Iterator, which one element corresponds one line.

    Definition Classes
    SReader
  15. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  18. def read(): Int

    Permalink

    Reads one Char from this reader.

    Reads one Char from this reader. If the reader is at the end of file, return -1.

    Definition Classes
    SFileReaderSReader
  19. def readAll(): String

    Permalink

    Reads all texts from this reader.

    Reads all texts from this reader.

    Definition Classes
    SReader
  20. def readInto(buffer: Array[Char])(implicit offset: Int = 0, length: Int = buffer.length): Int

    Permalink

    Read from this reader and fill into buffer.

    Read from this reader and fill into buffer.

    buffer

    an Array of Char

    offset

    offset of buffer used to determine the beginning of buffer to be read

    length

    length of bufferused to determine how many characters should be read

    returns

    length of characters actually read

    Definition Classes
    SFileReaderSReader
  21. def readLine(): String

    Permalink

    Reads a line from this reader.

    Reads a line from this reader.

    Definition Classes
    SFileReaderSReader
  22. def readLines(): Seq[String]

    Permalink

    Reads all lines from this reader.

    Reads all lines from this reader.

    returns

    a sequence of String consisting of lines

    Definition Classes
    SReader
  23. def self: SFileReader

    Permalink

    <invalid inheritdoc annotation>

    <invalid inheritdoc annotation>

    Definition Classes
    SFileReaderSClosableResource
  24. final def synchronized[T0](arg0: ⇒ T0): T0

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

    Permalink
    Definition Classes
    AnyRef → Any
  26. def use[B](block: (SReader) ⇒ B): B

    Permalink
    Definition Classes
    SClosableResource
  27. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from SReader

Inherited from SClosableResource[SReader]

Inherited from AnyRef

Inherited from Any

Ungrouped