util

Formatters

object Formatters

Formatters

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Formatters
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. val ellipsis: String

  9. def ellipsize(s: String, max: Int): String

  10. final def eq(arg0: AnyRef): Boolean

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

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

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. final def getClass(): Class[_]

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

    Definition Classes
    AnyRef → Any
  15. def humanReadableByteCount(bytes: Long, precision: Integer = 1, si: Boolean = true): String

    Given a number return a human readable count, unlike apache.

    Given a number return a human readable count, unlike apache.commons this will not round down. This can either return as multiples of 1000 (si=true) or 1024 (si=false).

  16. def humanReadableNumber(number: Number): String

    Given a number return a human readable number.

    Given a number return a human readable number. This will for example add , between the 10000 seperators (e.g. 10000 becomes 10,000).

  17. def humanReadableTimeSince(timestamp: Date): String

    Returns a string that describes the time elapsed since timestamp

    Returns a string that describes the time elapsed since timestamp

    timestamp

    the timestamp to be calculated

    returns

    a string of time elapsed

  18. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  19. def iso8601(date: String): Date

  20. def iso8601(date: Date): String

  21. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  22. final def notify(): Unit

    Definition Classes
    AnyRef
  23. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  24. def sanitizeHTML(unsanitezedText: String): String

    Sanitize text to safely output to web frontend.

    Sanitize text to safely output to web frontend. For example remove any kind of javascript snippets.

    unsanitezedText

    user created text that has not been sanitized

    returns

    text that has been sanitized

  25. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  26. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped