Package

de.h2b.scala.lib

io

Permalink

package io

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

Type Members

  1. implicit class FileOps extends AnyRef

    Permalink
  2. class TemporaryDirectory extends AnyRef

    Permalink

Value Members

  1. object TemporaryDirectory

    Permalink
  2. implicit def file2Path(f: File): Path

    Permalink
  3. def getResource(c: Class[_], name: String): File

    Permalink

    Returns a resource file of specified name associated with a class.

    Returns a resource file of specified name associated with a class.

    The resource is looked up under the modified package name of the given class (i.e., with '/' substituted for '.'), unless the resource name begins with a '/', in which case it is looked up under the resource name itself (stripping the leading '/').

    c

    the class for which the resource shall be got

    name

    the name of the desired resource

    returns

    the resource as file

    Annotations
    @throws( classOf[IOException] )
    Exceptions thrown

    java.io.IOException if no resource with this name is found

  4. def resource(c: Class[_], name: String)(implicit codec: Codec): Source

    Permalink

    Returns a resource of specified name associated with a class.

    Returns a resource of specified name associated with a class.

    The resource is looked up under the modified package name of the given class (i.e., with '/' substituted for '.'), unless the resource name begins with a '/', in which case it is looked up under the resource name itself (stripping the leading '/').

    c

    the class for which the resource shall be got

    name

    the name of the desired resource

    codec

    implicit character encoding

    returns

    the resource as source

    Annotations
    @throws( classOf[IOException] )
    Exceptions thrown

    java.io.IOException if no resource with this name is found

  5. implicit def string2File(s: String): File

    Permalink
  6. implicit def string2Path(s: String): Path

    Permalink

Inherited from AnyRef

Inherited from Any

Ungrouped