p

salat

util

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

    Helper class for running Salat with Android.

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

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

  3. class Logger extends AnyRef

    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

    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
  6. case class MissingConstructor (clazz: Class[_]) extends SalatGlitch with Product with Serializable

    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

    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

    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

    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

    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. val DefaultSalatStackSize: Long
  2. val EmptyPlaceholder: String
  3. val MissingPlaceholder: String
  4. val NonePlaceholder: String
  5. val NullPlaceholder: String
  6. val OptionalMissingPlaceholder: String
  7. val QuestionPlaceholder: String
  8. val SalatThreads: ThreadGroup
  9. def asyncSalat[T](stackSize: Long)(f: ⇒ T): T
  10. def asyncSalat[T](f: ⇒ T): T
  11. def reflectFields(x: Product): Map[Any, Any]
  12. def resolveClass[X <: AnyRef](c: String, classLoaders: Iterable[ClassLoader]): Option[Class[X]]
    Attributes
    protected[salat]
  13. def resolveClass_!(c: String, classLoaders: Iterable[ClassLoader]): Class[_]
    Attributes
    protected[salat]
  14. def toUsableClassName(clazz: String): String
    Attributes
    protected[salat]
  15. def truncate(a: AnyRef, l: Int = 100): String
  16. object BestAvailableConstructor extends Logging

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

  17. object IncompatibleTargetFieldType extends Serializable
  18. object Logger

    Logger factory

    Logger factory

    ex.

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

    Attributes
    protected[salat]
  19. object SalatDAOUtils

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

  20. object ScalaSigUtil extends Logging
    Attributes
    protected[salat]

Inherited from AnyRef

Inherited from Any

Ungrouped