Packages

package util

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

Type Members

  1. trait Inflector extends AnyRef
  2. trait InflectorImports extends AnyRef
  3. case class MapQueryString (initialValues: Seq[(String, Seq[String])], rawValue: String) extends Product with Serializable
  4. trait MapWithIndifferentAccess [+B] extends Map[String, B]

    Inspired by Rails' MapWithIndifferentAccess, allows the substitution of symbols for strings as map keys.

    Inspired by Rails' MapWithIndifferentAccess, allows the substitution of symbols for strings as map keys. Note that the map is still keyed with strings; symbols are stored in permgen, so symbol keys maps should not be used for maps with arbitrary keys. There is no performance gain using symbols. It is here to make our Rubyists feel more at home.

  5. trait Mimes extends AnyRef

    A utility to help with mime type detection for a given file path or url

  6. class MultiMap extends Map[String, Seq[String]]
  7. trait MultiMapHeadView [A, B] extends Map[A, B]
  8. class MultiMapHeadViewValueReader [T <: MultiMapHeadView[String, String]] extends ValueReader[T, String]
  9. class MultiParamsValueReader extends ValueReader[MultiParams, Seq[String]]
  10. trait MutableMapWithIndifferentAccess [B] extends MapWithIndifferentAccess[B] with Map[String, B]

    See also

    MapWithIndifferentAccess

  11. sealed trait NotNothing [A] extends AnyRef

    Nice trick from Miles Sabin using ambiguity in implicit resolution to disallow Nothing

  12. trait ParamsValueReaderProperties extends AnyRef
  13. class RicherString extends AnyRef
  14. class StringMapValueReader extends ValueReader[Map[String, String], String]
  15. trait UrlCodingUtils extends AnyRef
  16. trait ValueReader [S, U] extends AnyRef

Value Members

  1. def using[A, B <: AnyRef { def close(): Unit }](closeable: B)(f: (B) ⇒ A): A

    Executes a block with a closeable resource, and closes it after the block runs

    Executes a block with a closeable resource, and closes it after the block runs

    A

    the return type of the block

    B

    the closeable resource type

    closeable

    the closeable resource

    f

    the block

  2. object DateUtil
  3. object FileCharset
  4. object Inflector extends Inflector
  5. object InflectorImports extends InflectorImports
  6. object MapQueryString extends Serializable
  7. object MimeTypes extends Mimes
  8. object Mimes
  9. object MultiMap
  10. object MultiMapHeadView
  11. object NotEmpty

    Extractor object, useful for handling empty form parameter submissions:

    Extractor object, useful for handling empty form parameter submissions:

    params.get("foo") match { case NotEmpty(value) => processValue(value) case _ => message("foo is required") }

  12. object NotNothing
  13. object ParamsValueReaderProperties extends ParamsValueReaderProperties
  14. object RicherString
  15. object UrlCodingUtils extends UrlCodingUtils

Inherited from AnyRef

Inherited from Any

Ungrouped