Packages

object Utils

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

Type Members

  1. type Closeable = AnyRef { def close(): Unit }

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  6. def combine(errors1: Either[List[String], Boolean], errors2: Either[List[String], Boolean]*): Either[List[String], Boolean]
  7. def duplicates(values: List[String], errorMessage: String): Either[List[String], Boolean]

    Utility to extract duplicates and their number of occurrences

    Utility to extract duplicates and their number of occurrences

    values

    : Liste of strings

    errorMessage

    : Error Message that should contains placeholders for the value(%s) and number of occurrences (%d)

    returns

    List of tuples contains for ea ch duplicate the number of occurrences

  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  10. def exceptionAsString(exception: Throwable): String
  11. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. def getDBDisposition(writeMode: WriteMode, hasMergeKeyDefined: Boolean): (String, String)
  14. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. def loadInstance[T](objectName: String): T
  17. def logException(logger: Logger, exception: Throwable): Unit
  18. def logFailure[T](attempt: Try[T], logger: Logger): Try[T]

    If the provided attempt is a Success[T], do nothing.

    If the provided attempt is a Success[T], do nothing. If it is a Failure, then log the contained exception as a side effect and carry on

    logger

    the logger onto which to log results

    returns

    the original attempt with no alteration (everything happens as a side effect)

  19. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  21. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  22. def subst(value: String, params: Map[String, String]): String
  23. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  24. def toMap(attributes: List[Attribute]): Map[String, Any]
  25. def toString(): String
    Definition Classes
    AnyRef → Any
  26. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  29. def withResources[T <: Closeable, V](r: ⇒ T)(f: (T) ⇒ V): V

    Handle tansparently autocloseable resources and correctly chain exceptions

    Handle tansparently autocloseable resources and correctly chain exceptions

    T

    : resource Type

    V

    : Try bloc return type

    r

    : the resource

    f

    : the try bloc

    returns

    : Try bloc return value

Inherited from AnyRef

Inherited from Any

Ungrouped