Package

salat

util

Permalink

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. class AsyncSalatRunnable extends Runnable

    Permalink

    Helper class for running Salat with Android.

  2. case class IncompatibleTargetFieldType(msg: String, cause: Throwable) extends Error with Product with Serializable

    Permalink

    The target type of the value was incompatible with the type of the field.

  3. class Logger extends AnyRef

    Permalink

    Scala SLF4J wrapper

    Scala SLF4J wrapper

    Example:

     class Foo extends Logging {
      log.info("My foo is %s","alive")
      log.error(new Exception(),"My foo is %s","broken")
     }
    

    The logger uses String.format: http://download-llnw.oracle.com/javase/6/docs/api/java/lang/String.html#format(java.lang.String,%20java.lang.Object...)

    Attributes
    protected[salat]
  4. trait Logging extends AnyRef

    Permalink

    Base trait for all classes that wants to be able use the logging infrastructure.

    Base trait for all classes that wants to be able use the logging infrastructure.

    Attributes
    protected[salat]
  5. case class MissingCaseObjectOverride(path: String, value: Any, ctxName: String) extends SalatGlitch with Product with Serializable

    Permalink
  6. case class MissingConstructor(clazz: Class[_]) extends SalatGlitch with Product with Serializable

    Permalink

    Runtime error indicating that Salat can't identify any constructor for this class.

    Runtime error indicating that Salat can't identify any constructor for this class.

    clazz

    class instance

  7. case class MissingExpectedType(clazz: Class[_]) extends SalatGlitch with Product with Serializable

    Permalink

    Runtime error indicating that class' pickled Scala signature does not define any top-level classes or objects.

    Runtime error indicating that class' pickled Scala signature does not define any top-level classes or objects.

    clazz

    class instance

  8. case class MissingPickledSig(clazz: Class[_]) extends SalatGlitch with Product with Serializable

    Permalink

    Runtime error indicating that Salat can't find the pickled Scala signature for this class.

    Runtime error indicating that Salat can't find the pickled Scala signature for this class.

    clazz

    class instance

  9. class SalatGlitch extends Error

    Permalink

    A Salat transformation error that does not have an underlying cause.

  10. case class TooManyConstructorsWithArgs[X](clazz: Class[X], cl: List[Constructor[X]]) extends SalatGlitch with Product with Serializable

    Permalink

    Runtime error indicating that a class defines more than one constructor with args.

    Runtime error indicating that a class defines more than one constructor with args.

    X

    any reft

    clazz

    parameterized class instance

    cl

    list of parameterized constructors found for this class

Value Members

  1. object BestAvailableConstructor extends Logging

    Permalink

    Given multiple contructors, attempt to determine the best available constructor for instantiating the class.

  2. val DefaultSalatStackSize: Long

    Permalink
  3. val EmptyPlaceholder: String

    Permalink
  4. object IncompatibleTargetFieldType extends Serializable

    Permalink
  5. object Logger

    Permalink

    Logger factory

    Logger factory

    ex.

    val logger = Logger("my.cool.logger") val logger = Logger(classOf[Banana]) val rootLogger = Logger.root

    Attributes
    protected[salat]
  6. val MissingPlaceholder: String

    Permalink
  7. val NonePlaceholder: String

    Permalink
  8. val NullPlaceholder: String

    Permalink
  9. val OptionalMissingPlaceholder: String

    Permalink
  10. val QuestionPlaceholder: String

    Permalink
  11. object SalatDAOUtils

    Permalink

    Some useful utilities for extracting a single result from a list of results.

  12. val SalatThreads: ThreadGroup

    Permalink
  13. object ScalaSigUtil extends Logging

    Permalink
    Attributes
    protected[salat]
  14. def asyncSalat[T](stackSize: Long)(f: ⇒ T): T

    Permalink
  15. def asyncSalat[T](f: ⇒ T): T

    Permalink
  16. package encoding

    Permalink
  17. def reflectFields(x: Product): Map[Any, Any]

    Permalink
  18. def resolveClass[X <: AnyRef](c: String, classLoaders: Iterable[ClassLoader]): Option[Class[X]]

    Permalink
    Attributes
    protected[salat]
  19. def resolveClass_!(c: String, classLoaders: Iterable[ClassLoader]): Class[_]

    Permalink
    Attributes
    protected[salat]
  20. def toUsableClassName(clazz: String): String

    Permalink
    Attributes
    protected[salat]
  21. def truncate(a: AnyRef, l: Int = 100): String

    Permalink

Inherited from AnyRef

Inherited from Any

Ungrouped