ammonite.ops

read

object read extends Reader with Op1[Path, String]

Reads a file into memory, either as a String, as (read.lines(...): Seq[String]), or as (read.bytes(...): Array[Byte]).

Linear Supertypes
Op1[Path, String], (Path) ⇒ String, Reader, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. read
  2. Op1
  3. Function1
  4. Reader
  5. AnyRef
  6. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Value Members

  1. def !(arg: Path): String

    Definition Classes
    Op1
  2. final def !=(arg0: AnyRef): Boolean

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

    Definition Classes
    Any
  4. final def ##(): Int

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

    Definition Classes
    AnyRef
  6. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  7. def andThen[A](g: (String) ⇒ A): (Path) ⇒ A

    Definition Classes
    Function1
    Annotations
    @unspecialized()
  8. def apply(arg: Path): String

    Definition Classes
    Reader
  9. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  10. object bytes extends Op1[Path, Array[Byte]]

    Definition Classes
    Reader
  11. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  12. def compose[A](g: (A) ⇒ Path): (A) ⇒ String

    Definition Classes
    Function1
    Annotations
    @unspecialized()
  13. final def eq(arg0: AnyRef): Boolean

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

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

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

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

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

    Definition Classes
    Any
  19. object lines extends StreamableOp1[Path, String, Vector[String]]

    Definition Classes
    Reader
  20. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  21. final def notify(): Unit

    Definition Classes
    AnyRef
  22. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  23. def readIn(p: Path): InputStream

    Definition Classes
    readReader
  24. object resource extends Reader with Op1[Path, String]

    Reads a classpath resource into memory, either as a string, as a Seq[String] of lines, or as a Array[Byte]

  25. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  26. def toString(): String

    Definition Classes
    Function1 → AnyRef → Any
  27. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Op1[Path, String]

Inherited from (Path) ⇒ String

Inherited from Reader

Inherited from AnyRef

Inherited from Any

Ungrouped