net.liftweb

util

package util

The util package object

Visibility
  1. Public
  2. All

Type Members

  1. class A extends AnyRef

    Attributes
    final
  2. case class ActorPingException (msg: String, e: Throwable) extends RuntimeException with Product with Serializable

    Exception thrown if a ping can't be scheduled.

  3. class AnyVar [T, MyType <: AnyVar[T, MyType]] extends AnyVarTrait[T, MyType]

    Attributes
    abstract
  4. trait AnyVarTrait [T, MyType <: AnyVarTrait[T, MyType]] extends PSettableValueHolder[T] with HasCalcDefaultValue[T]

    Abstract a request or a session scoped variable.

  5. case class AppendDelta [T] (item: T) extends DeltaInfo[T] with Product with Serializable

    Attributes
    final
  6. case class AppendKidsSubNode () extends SubNode with WithKids with Product with Serializable

    Attributes
    final
  7. case class AttrAppendSubNode (attr: String) extends SubNode with AttributeRule with Product with Serializable

    Attributes
    final
  8. trait AttrHelper [+Holder[X]] extends AnyRef

  9. case class AttrRemoveSubNode (attr: String) extends SubNode with AttributeRule with Product with Serializable

    Attributes
    final
  10. case class AttrSelector (name: String, value: String, subNodes: Box[SubNode]) extends CssSelector with Product with Serializable

    Attributes
    final
  11. case class AttrSubNode (attr: String) extends SubNode with AttributeRule with Product with Serializable

    Attributes
    final
  12. trait AttributeRule extends AnyRef

    Attributes
    sealed
  13. trait BaseField extends SettableField with FieldContainer

  14. trait BasicTypesHelpers extends AnyRef

    This trait adds functionality to Scala standard types

  15. trait BindHelpers extends AnyRef

    Helpers assocated with bindings

  16. trait Bindable extends AnyRef

    This trait is used to identify an object that is representable as a NodeSeq.

  17. case class BoxNodeSeqFuncIterableConst (it: Box[(NodeSeq) ⇒ NodeSeq]) extends IterableConst with Product with Serializable

    The implementation for a Box[NodeSeq => Node] Iterable Const

  18. case class CSSParser (prefix: String) extends Parsers with Product with Serializable

    Combinator parser for prefixing root relative paths with a given prefix

  19. trait Cell [T] extends Dependent

    A wiring Cell.

  20. trait ClassHelpers extends AnyRef

    ClassHelpers provide several functions to instantiate a Class object given the class name and one or more package names

  21. case class ClassSelector (clss: String, subNodes: Box[SubNode]) extends CssSelector with Product with Serializable

    Attributes
    final
  22. class ClearClearable extends CssBindImpl

    This CssBind will clear all nodes marked with the class clearable.

  23. trait CombParserHelpers extends AnyRef

    The CombParserHelpers trait provides parser combinators helpers.

  24. class ConcurrentLock extends ReentrantReadWriteLock

  25. trait ConfirmField extends BaseField

    A base field that also has a confirm method

  26. trait ControlHelpers extends ClassHelpers

    Control helpers provide alternate ways to catch exceptions and ignore them as necessary

  27. trait ConvertableToDate extends AnyRef

  28. class Css extends AnyRef

    Attributes
    final
  29. trait CssBind extends CssSel

    Attributes
    sealed
  30. type CssBindFunc = CssSel

    Definition Classes
    package
  31. class CssBindImpl extends CssBind

    An abstract implementation of CssBind.

  32. class CssJBridge extends AnyRef

    Bridge from Java-land to Scala

  33. trait CssSel extends (NodeSeq) ⇒ NodeSeq

    This trait is both a NodeSeq => NodeSeq and has the ability to chain CssSel instances so that they can be applied en masse to incoming NodeSeq and do the transformation.

  34. trait CssSelector extends AnyRef

    Attributes
    sealed
  35. class Currency extends AnyRef

    A simple fixed-point currency representation

  36. class CurrencyMismatchException extends Exception

    This exception is thrown if an operation is attempted on two currency values where currency symbols do not match.

  37. class CurrencyZone extends AnyRef

    Attributes
    abstract
  38. trait DateTimeConverter extends AnyRef

    Implement this trait to specify a set of rules to parse and format dates

  39. trait DeltaInfo [T] extends AnyRef

    Provide information about the deltas between two lists

  40. trait Dependent extends AnyRef

    Something that depends on the values of other cells

  41. trait DollarCurrency extends TwoFractionDigits

  42. case class DynamicCell [T] (f: () ⇒ T) extends Cell[T] with Product with Serializable

    A cell that changes value on each access.

  43. trait DynoVar [T] extends AnyRef

  44. case class ElemSelector (elem: String, subNodes: Box[SubNode]) extends CssSelector with Product with Serializable

    Attributes
    final
  45. class EnumWithDescription extends AnyRef

    Attributes
    abstract
  46. case class False (msgs: List[String]) extends MonadicCondition with Product with Serializable

  47. class FatLazy [T] extends AnyRef

    A class that does lazy evaluation

  48. trait FieldContainer extends AnyRef

  49. case class FieldError (field: FieldIdentifier, msg: NodeSeq) extends Product with Serializable

    Associate a FieldIdentifier with an NodeSeq

  50. trait FieldIdentifier extends AnyRef

    Defines the association of this reference with an markup tag ID

  51. case class FormBuilderLocator [T] (func: (T, (T) ⇒ Unit) ⇒ NodeSeq, manifest: Manifest[T]) extends Product with Serializable

  52. case class FuncCell1 [A, Z] (a: Cell[A], f: (A) ⇒ Z) extends Cell[Z] with Product with Serializable

    Attributes
    final
  53. case class FuncCell2 [A, B, Z] (a: Cell[A], b: Cell[B], f: (A, B) ⇒ Z) extends Cell[Z] with Product with Serializable

    Attributes
    final
  54. case class FuncCell3 [A, B, C, Z] (a: Cell[A], b: Cell[B], c: Cell[C], f: (A, B, C) ⇒ Z) extends Cell[Z] with Product with Serializable

    Attributes
    final
  55. case class FuncCell4 [A, B, C, D, Z] (a: Cell[A], b: Cell[B], c: Cell[C], d: Cell[D], f: (A, B, C, D) ⇒ Z) extends Cell[Z] with Product with Serializable

    Attributes
    final
  56. case class FuncCell5 [A, B, C, D, E, Z] (a: Cell[A], b: Cell[B], c: Cell[C], d: Cell[D], e: Cell[E], f: (A, B, C, D, E) ⇒ Z) extends Cell[Z] with Product with Serializable

    Attributes
    final
  57. trait HasCalcDefaultValue [T] extends AnyRef

  58. trait HasParams extends AnyRef

  59. trait Html5Parser extends AnyRef

    A utility that supports parsing of HTML5 file.

  60. trait Html5Writer extends AnyRef

  61. trait HttpHelpers extends AnyRef

  62. case class IdSelector (id: String, subNodes: Box[SubNode]) extends CssSelector with Product with Serializable

    Attributes
    final
  63. class InMemoryCache extends TemplateCache[(Locale, List[String]), NodeSeq]

    Caches templates in a LRU map

  64. trait Injector extends AnyRef

    A trait that does basic dependency injection.

  65. case class InsertAfterDelta [T] (item: T, after: T) extends DeltaInfo[T] with Product with Serializable

    Attributes
    final
  66. case class InsertAtStartDelta [T] (item: T) extends DeltaInfo[T] with Product with Serializable

    Attributes
    final
  67. trait IoHelpers extends AnyRef

  68. trait IterableConst extends AnyRef

    A trait that has some helpful implicit conversions from Iterable[NodeSeq], Seq[String], Box[String], and Option[String]

  69. trait IterableFunc extends (NodeSeq) ⇒ Seq[NodeSeq]

    Attributes
    sealed
  70. case class JsonCmd (command: String, target: String, params: Any, all: Map[String, Any]) extends Product with Serializable

    Impersonates a JSON command

  71. class KeyedCache [K, T] extends AnyRef

    A simple Read-through cache.

  72. case class KidsSubNode () extends SubNode with WithKids with Product with Serializable

    Attributes
    final
  73. class LRU [KeyType, ValueType] extends LRUMap[KeyType, ValueType]

    LRU Cache wrapping org.apache.commons.collections.map.LRUMap

  74. class LZ [T] extends AnyRef

    LZ encapsulates a lazy value.

  75. class LiftFlowOfControlException extends RuntimeException

    The superclass for all Lift flow of control exceptions

  76. trait LiftValue [T] extends PSettableValueHolder[T]

    Kinda like a JavaBean property.

  77. trait ListHelpers extends AnyRef

    The ListHelpers trait provides useful functions which can be applied to Lists.

  78. trait LoanWrapper extends CommonLoanWrapper

    This trait defines the principle contract for function objects that wrap the processing of HTTP requests by Lift while utilizing the preestablished request-local scope.

  79. trait Mailer extends SimpleInjector

    This trait implmenets the mail sending.

  80. trait Maker [T] extends AnyRef

    In addition to an Injector, you can have a Maker which will make a given type.

  81. class MakerJ extends AnyRef

  82. class MakerStack [T] extends StackableMaker[T]

    An implementation where you can define the stack of makers.

  83. trait MemoizeVar [K, V] extends AnyRef

  84. trait MonadicCondition extends AnyRef

    A MonadicCondition allows building boolean expressions of the form (a(0) && a(1) && .

  85. case class NameSelector (name: String, subNodes: Box[SubNode]) extends CssSelector with Product with Serializable

    Attributes
    final
  86. class NamedPF [-A, +B] extends NamedPartialFunction[A, B]

    This class is the base implementation of the NamedPartialFunction trait.

  87. trait NamedPartialFunction [-A, +B] extends PartialFunction[A, B]

    This trait is used to represent a PartialFunction with additional associated metadata, a name that allows the NamedPartialFunction to be looked up dynamically.

  88. case class NodeSeqFuncIterableConst (it: Iterable[(NodeSeq) ⇒ NodeSeq]) extends IterableConst with Product with Serializable

    The implementation for a NodeSeq => NodeSeq Iterable Const

  89. case class NodeSeqIterableConst (it: Iterable[NodeSeq]) extends IterableConst with Product with Serializable

    The implementation for a NodeSeq Iterable Const

  90. class NonCleanAnyVar [T] extends AnyVar[T, NonCleanAnyVar[T]]

    Attributes
    abstract
  91. case class OptionNodeSeqFuncIterableConst (it: Option[(NodeSeq) ⇒ NodeSeq]) extends IterableConst with Product with Serializable

    The implementation for a Option[NodeSeq => Node] Iterable Const

  92. class OptionalCons extends AnyRef

    Optional cons that implements the expression: expr ?> value ::: List

  93. case class PCData (_data: String) extends Atom[String] with Product with Serializable

  94. trait PCDataMarkupParser [PCM <: MarkupParser with MarkupHandler] extends MarkupParser

    Extends the Markup Parser to do the right thing (tm) with PCData blocks

  95. class PCDataXmlParser extends ConstructingHandler with PCDataMarkupParser[PCDataXmlParser] with ExternalSources

  96. trait PSettableValueHolder [T] extends PValueHolder[T] with SettableValueHolder

  97. trait PValueHolder [T] extends ValueHolder

  98. class PartialFunctionWrapper [A] extends AnyRef

    The helper class that facilitates wrapping of one PartialFunction around another

  99. case class PrependKidsSubNode () extends SubNode with WithKids with Product with Serializable

    Attributes
    final
  100. class REDoer [T] extends (T, String) ⇒ Box[T]

  101. class REMatcher extends AnyRef

    This class adds higher-order functions and lazy evaluation for pattern matching on top of the standard Java regular expressions library.

  102. trait ReadableField extends FieldIdentifier with ValueHolder with Bindable

    A field that can be displayed but not edited

  103. case class RemoveDelta [T] (item: T) extends DeltaInfo[T] with Product with Serializable

    The new list does not contain the item.

  104. class ResponseInfoHolder extends AnyRef

    Holds information about a response

  105. trait SafeSeqParser extends Parsers

  106. trait Schedule extends Loggable

    The Schedule object schedules an actor to be ping-ed with a given message after a specified delay.

  107. class ScheduleJBridge extends AnyRef

  108. trait SecurityHelpers extends AnyRef

    The SecurityHelpers trait provides functions to:

  109. case class SelectThisNode (kids: Boolean) extends SubNode with Product with Serializable

    Attributes
    final
  110. case class SeqBindableIterableConst (it: Iterable[Bindable]) extends IterableConst with Product with Serializable

    Sequence of Bindable iterable const

  111. case class SeqCell [T] (cells: Cell[T]*) extends Cell[Seq[T]] with Product with Serializable

    A collection of Cells og a given type

  112. case class SeqStringIterableConst (it: Iterable[String]) extends IterableConst with Product with Serializable

    Sequence of String iterable const

  113. trait Settable extends ValueHolder

    A value that can be set

  114. trait SettableField extends ReadableField with SettableValueHolder

    A field that can be set

  115. trait SettableValueHolder extends Settable

  116. trait SimpleInjector extends Injector

    An implementation of Injector that has an implementation

  117. class SoftReferenceCache [K, V] extends AnyRef

    A Map that holds the values as SoftReference-s.

  118. class SoftValue [K, V] extends SoftReference[V]

  119. trait StackableMaker [T] extends Maker[T]

    A StackableMaker allows DynamicVar functionality by supply a Maker or function that will vend an instance during any sub-call on the stack and then restore the implementation.

  120. case class StarSelector (subNodes: Box[SubNode]) extends CssSelector with Product with Serializable

    Attributes
    final
  121. trait StringHelpers extends AnyRef

    Utility methods for manipulating strings.

  122. trait StringPromotable extends AnyRef

    This trait marks something that can be promoted into a String.

  123. trait StringValidators extends AnyRef

  124. trait SubNode extends AnyRef

    Attributes
    sealed
  125. class SuperListString extends AnyRef

    A class that allows chaining "foo" / "bar" / "baz"

  126. case class SuperString (what: String) extends Product with Serializable

    The SuperString class adds functionalities to the String class

  127. trait TemplateCache [K, V] extends AnyRef

  128. class ThreadGlobal [T] extends AnyRef

    This is a decorator for a ThreadLocal variable that provides convenience methods to transform the variable to a Box and execute functions in a "scope" wherein the variable may hold a different value.

  129. class ThreadLazy [TheType] extends LoanWrapper

    A thread-local lazy value that provides a means to evaluate a function in a lazily-evaluated scope.

  130. trait TimeHelpers extends AnyRef

    The TimeHelpers trait provide functions to create TimeSpans (an object representing an amount of time), to manage date formats or general utility functions (get the date for today, get year/month/day number,.

  131. class ToCssBindPromoter extends AnyRef

    An intermediate class used to promote a String or a CssSelector to something that can be associated with a value to apply to the selector

  132. trait ToJsCmd extends AnyRef

    TODO: Is this something that can be converted to a JavaScript Command

  133. trait TwoFractionDigits extends AnyRef

  134. class ValueCell [A] extends Cell[A] with LiftValue[A]

    A ValueCell holds a value that can be mutated.

  135. trait ValueHolder extends AnyRef

  136. trait ValueWithDescription extends AnyRef

  137. trait Vendor [T] extends Maker[T] with () ⇒ T

    A Vendor is a Maker that also guarantees that it will return a value

  138. class VendorJ extends AnyRef

    Attributes
    final
  139. class VendorJBridge extends AnyRef

    A bridge from Java to Scala

  140. trait WithKids extends AnyRef

    Attributes
    sealed
  141. trait LiftLogger extends AnyRef

  142. class Log4JLogger extends LiftLogger

    Annotations
    @deprecated
    Deprecated

    Use net.liftweb.common.Logger

  143. class Slf4jLogger extends LiftLogger

    Adapter use internaly by lift as Logger, if Slf4jLogBoot is enabled.

Value Members

  1. object A extends

  2. object AU extends CurrencyZone

  3. object AltXML extends AnyRef

  4. object AnyVar extends AnyRef

  5. object BasicTypesHelpers extends BasicTypesHelpers with StringHelpers with ControlHelpers

    This object adds functionality to Scala standard types.

  6. object BindHelpers extends BindHelpers

    BindHelpers can be used to obtain additional information while a bind call is executing.

  7. object BindPlus extends AnyRef

  8. object BundleBuilder extends AnyRef

    Converts a NodeSeq of a particular format into a ResourceBundle.

  9. object CSSHelpers extends ControlHelpers

  10. object Cell extends AnyRef

  11. object CheckNodeSeq extends AnyRef

  12. object ClassHelpers extends ClassHelpers with ControlHelpers

  13. object ClearClearable extends ClearClearable

    This CssBind will clear all nodes marked with the class clearable.

  14. object ClearNodes extends (NodeSeq) ⇒ NodeSeq

    Replaces the nodes with an Empty NodeSeq.

  15. object ControlHelpers extends ControlHelpers with ClassHelpers

  16. object ConvertableToDate extends AnyRef

  17. object Css extends

  18. object CssBind extends AnyRef

  19. object CssSelectorParser extends Parsers with ImplicitConversions

    Parse a subset of CSS into the appropriate selector objects

  20. object Currency extends AnyRef

  21. object DefaultDateTimeConverter extends DateTimeConverter

    A default implementation of DateTimeConverter that uses (Time)Helpers

  22. object Done extends Product with Serializable

  23. object EU extends CurrencyZone

  24. object FatLazy extends AnyRef

    Companion object for FatLaxy.

  25. object FieldError extends Serializable

  26. object FuncCell extends AnyRef

    The companion object for FuncCell (function cells)

  27. object GB extends CurrencyZone

  28. object HeadHelper extends AnyRef

    This object provides functions to setup the head section of html documents.

  29. object Helpers extends TimeHelpers with StringHelpers with ListHelpers with SecurityHelpers with BindHelpers with HttpHelpers with IoHelpers with BasicTypesHelpers with ClassHelpers with ControlHelpers

    The Helpers object provides a lot of utility functions:

  30. object Html5 extends Html5Parser with Html5Writer

  31. object Html5Constants extends AnyRef

  32. object HtmlEntities extends AnyRef

    Utilities for simplifying use of named HTML symbols.

  33. object HttpHelpers extends ListHelpers with StringHelpers

  34. object InMemoryCache extends AnyRef

    Companion module for InMemoryCache

  35. object IoHelpers extends IoHelpers

  36. object IterableConst extends AnyRef

    The companion object that does the helpful promotion of common collection types into an IterableConst, e.

  37. object IterableFunc extends AnyRef

  38. object JSONParser extends SafeSeqParser with ImplicitConversions

  39. object JsonCommand extends AnyRef

    A helpful extractor to take the JValue sent from the client-side JSON stuff and make some sense of it.

  40. object LD extends AnyRef

    Calculate the edit distance between words

  41. object LZ extends AnyRef

    Sometimes, you want to do pattern matching against a lazy value.

  42. object ListHelpers extends ListHelpers

  43. object LoggingAutoConfigurer extends AnyRef

    Function object that can be used in Logger.

  44. object Mailer extends Mailer

    Utilities for sending email.

  45. object Maker extends AnyRef

  46. object MonadicConversions extends AnyRef

    Holds the implicit conversions from/to MonadicCondition

  47. object NamedPF extends AnyRef

  48. object NoCache extends TemplateCache[(Locale, List[String]), NodeSeq]

    A cache that caches nothing

  49. object PCDataXmlParser extends AnyRef

  50. object PValueHolder extends AnyRef

  51. object PassThru extends (NodeSeq) ⇒ NodeSeq

    A passthrough function that does not change the nodes

  52. object ProcessQueue extends Product with Serializable

  53. object Props extends Logger

    Configuration management utilities.

  54. object RE extends AnyRef

    A regular expressions helper library RE("foo") =~ "A string" -or- "A string" =~: RE("foo") -or- "A String".

  55. object REMatcher extends AnyRef

  56. object Safe extends AnyRef

    Manage the current "safety" state of the stack

  57. object SafeNodeSeq extends AnyRef

    Used for type-safe pattern matching of an Any and returns a Seq[Node]

  58. object Schedule extends Schedule

    The Schedule object schedules an actor to be ping-ed with a given message after a specified delay.

  59. object Scheduled extends Product with Serializable

    Send to the actor that we scheduled for recurrent ping

  60. object SecurityHelpers extends StringHelpers with IoHelpers with SecurityHelpers

  61. object SoftReferenceCache extends AnyRef

    Companion module that has the role of monitoring garbage collected references and remove the orphaned keys from the cache.

  62. object StringHelpers extends StringHelpers

  63. object StringPromotable extends AnyRef

  64. object SubNode extends AnyRef

  65. object ThreadLazy extends AnyRef

  66. object TimeHelpers extends TimeHelpers with ControlHelpers with ClassHelpers

    The TimeHelpers object extends the TimeHelpers.

  67. object True extends MonadicCondition with Product with Serializable

  68. object US extends CurrencyZone

  69. object UnSchedule extends Product with Serializable

    Send by the scheduled actor to sign off from recurrent scheduling

  70. object VCardParser extends Parsers

    Parser a VCard entry such as

  71. object ValueCell extends AnyRef

    The companion object that has a helpful constructor

  72. object ValueHolder extends AnyRef

  73. object Vendor extends AnyRef

    A companion to the Vendor trait

  74. object VendorJ extends

Deprecated Value Members

  1. val ActorPing : net.liftweb.util.Schedule.type

    Changed the name ActorPing to Schedule

    Changed the name ActorPing to Schedule

    Definition Classes
    package
    Annotations
    @deprecated
    Deprecated

    Use Schedule

  2. object LiftLogLevels extends Enumeration

    Annotations
    @deprecated
    Deprecated

    Use net.liftweb.common.Logger

  3. object Log extends LiftLogger

    A thin wrapper around log4j.

  4. object LogBoot extends AnyRef

    This object provides logging setup utilities.

  5. object NullLogger extends LiftLogger

    Annotations
    @deprecated
    Deprecated

    Use net.liftweb.common.Logger

  6. object Slf4jLogBoot extends AnyRef

    Object use to configure lift to use slf4j for as internal logging.