Object/Trait

laika.io

Input

Related Docs: trait Input | package io

Permalink

object Input

Factory methods for creating Input instances from different types of IO resources.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Input
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. trait Binary extends AnyRef

    Permalink

    Represents any input that can be used as binary input.

  2. trait BinaryInput extends AnyRef

    Permalink

    A sub-trait for binary input which can only be created from a stream or a file, not from a java.io.Reader instance or from a String.

  3. class LazyClasspathInput extends Input with Binary with Closeable

    Permalink
  4. class LazyFileInput extends Input with Binary with FileBased with Closeable

    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. final def eq(arg0: AnyRef): Boolean

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. def fromClasspath(resource: String, virtualPath: Path)(implicit codec: Codec): Input with Binary with Closeable

    Permalink

    Creates a new Input instance for the specified classpath resource.

    Creates a new Input instance for the specified classpath resource.

    resource

    the name of the resource on the classpath

    virtualPath

    the path of the document in the virtual tree

    codec

    the character encoding of the input, if not specified the platform default will be used.

  10. def fromFile(file: File, virtualPath: Path)(implicit codec: Codec): Input with Binary with Closeable

    Permalink

    Creates a new Input instance for the specified file.

    Creates a new Input instance for the specified file.

    file

    the file to use as input

    virtualPath

    the path of the document in the virtual tree

    codec

    the character encoding of the file, if not specified the platform default will be used.

  11. def fromFile(file: File)(implicit codec: Codec): Input with Binary with Closeable

    Permalink

    Creates a new Input instance for the specified file.

    Creates a new Input instance for the specified file.

    file

    the file to use as input

    codec

    the character encoding of the file, if not specified the platform default will be used.

  12. def fromFile(name: String)(implicit codec: Codec): Input with Binary with Closeable

    Permalink

    Creates a new Input instance for the file with the specified name.

    Creates a new Input instance for the file with the specified name.

    name

    the name of the file

    codec

    the character encoding of the file, if not specified the platform default will be used.

  13. def fromReader(reader: Reader, path: Path = Path.Root): Input

    Permalink

    Creates a new Input instance for the specified Reader.

    Creates a new Input instance for the specified Reader.

    reader

    the reader to read character data from

    path

    the (potentially virtual) path of the input source

  14. def fromStream(stream: InputStream, path: Path = Path.Root)(implicit codec: Codec): Input with Binary

    Permalink

    Creates a new Input instance for the specified InputStream.

    Creates a new Input instance for the specified InputStream.

    stream

    the stream to read character data from

    path

    the (potentially virtual) path of the input source

    codec

    the character encoding used by the text input, if not specified the platform default will be used.

  15. def fromString(source: String, path: Path = Path.Root): Input

    Permalink

    Creates a new Input instance from the specified source string.

    Creates a new Input instance from the specified source string.

    source

    the string to parse

    path

    the path of the document in the virtual tree

  16. final def getClass(): Class[_]

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

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

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

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

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

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

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

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

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

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

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

Inherited from AnyRef

Inherited from Any

Ungrouped