Packages

  • package root
    Definition Classes
    root
  • package de
    Definition Classes
    root
  • package h2b
    Definition Classes
    de
  • package scala
    Definition Classes
    h2b
  • package lib
    Definition Classes
    scala
  • package io
    Definition Classes
    lib
  • FileOps
  • TemporaryDirectory
  • package math
    Definition Classes
    lib
  • package phys
    Definition Classes
    lib
  • package util

    This is a Scala library of programming utilities.

    This is a Scala library of programming utilities. It is not intended to comprise a systematic collection but contains some tools that may be useful for some applications.

    Some highlights are a number of probability distributions, a command-line interface, a configuration package, an RSS utility, a class to handle temporary directories, control structures, a logger trait and a timer.

    Definition Classes
    lib
  • package web
    Definition Classes
    lib

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. Protected

Type Members

  1. implicit class FileOps extends AnyRef
  2. class TemporaryDirectory extends AnyRef

Value Members

  1. implicit def file2Path(f: File): Path
  2. def getResource(c: Class[_], name: String): File

    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

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

    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

  4. implicit def string2File(s: String): File
  5. implicit def string2Path(s: String): Path
  6. object TemporaryDirectory

Inherited from AnyRef

Inherited from Any

Ungrouped