trait ConfigureReaderInstances extends AnyRef
Contains implicit value for ConfigureReader
The Instances
naming convention implies the trait contains
implicit values used as implicit arguments to Configure
methods.
The trait is mixed into Implicits to make the implicit values available through one import statement.
- Alphabetic
- By Inheritance
- ConfigureReaderInstances
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##(): Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- implicit val utilBooleanForConfigureReader: ConfigureReader[Boolean]
Reads configuration
Boolean
valuesReads configuration
Boolean
valuesImplements an instance of
ConfigureReader[Boolean]
to read a configuration key value and return it as a boolean. If the key cannot be found or the value cannot be converted to a boolean then an Error is returned. - implicit val utilIntForConfigureReader: ConfigureReader[Int]
Reads configuration
Int
valuesReads configuration
Int
valuesImplements an instance of
ConfigureReader[Int]
to read a configuration key value and return it as an integer. If the key cannot be found or the value cannot be converted to an integer then an Error is returned. - implicit val utilListBooleanForConfigureReader: ConfigureReader[List[Boolean]]
Reads a list of configuration
Boolean
valuesReads a list of configuration
Boolean
valuesImplements an instance of
ConfigureReader[List[Boolean]]
to read a configuration key value and return a list of booleans. If the key cannot be found or the value cannot be converted to a list of booleans then an Error is returned. - implicit val utilListIntForConfigureReader: ConfigureReader[List[Int]]
Reads a list of configuration
Int
valuesReads a list of configuration
Int
valuesImplements an instance of
ConfigureReader[List[Int]]
to read a configuration key value and return a list of integers. If the key cannot be found or the value cannot be converted to a list of integers then an Error is returned. - implicit val utilListNumberForConfigureReader: ConfigureReader[List[Number]]
Reads a list of configuration
Number
valuesReads a list of configuration
Number
valuesImplements an instance of
ConfigureReader[List[Number]]
to read a configuration key value and return a list of numbers. If the key cannot be found or the value cannot be converted to a list of numbers then an Error is returned. - implicit val utilListStringForConfigureReader: ConfigureReader[List[String]]
Reads a list of configuration
String
valuesReads a list of configuration
String
valuesImplements an instance of
ConfigureReader[List[String]]
to read a configuration key value and return a list of string. If the key cannot be found or the value cannot be converted to a list of strings then an Error is returned. - implicit val utilNumberForConfigureReader: ConfigureReader[Number]
Reads configuration
Number
valuesReads configuration
Number
valuesImplements an instance of
ConfigureReader[Number]
to read a configuration key value and return it as a number. If the key cannot be found or the value cannot be converted to a number then an Error is returned. - implicit val utilStringForConfigureReader: ConfigureReader[String]
Reads configuration
String
valuesReads configuration
String
valuesImplements an instance of
ConfigureReader[String]
to read a configuration key value and return it as a string. If the key cannot be found or the value cannot be converted to a string then an Error is returned. - final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
Documentation for the Axiell Utilities Project
Overview
The Axiell Utilities Project attempts to provide a small library of classes and object applicable to most Axiell developments. The library is not geared towards any one project and so should be useful for new projects as well as existing ones.
The library is based on a few simple principles, namely:
Package structure
The
package consists of a number of utilities, where each utility provides a single piece of functionality.com.axiell.util
Notable utilities are:
Configure
generic configuration reader allowing application settings defined as resources to be interrogated.Error
generic error handling class defining a locale independent error message along with details relating to the context of the error. The context may include an exception and other relevant values.Formatter
retrieves and formats a locale specific string from a specified resource bundle. The formatting is specified in aC
printf style.Implicits
implements implicit methods and classes used to pimp methods onto existing classes (e.g.fold()
method toBoolean
class) and to provide implicit implementations for the JsonLocal and ShowLocal type classes.JsonLocal
type class used to output locale specific JSON structures. Implementations exist for Message and Error.Message
provides a locale independent mechanism for handling strings. The strings for a given locale are stored in resource bundles that are accessed when the message is to be displayed.ShowLocal
type class used to show locale specific strings. Allows Message and Error to be converted to a given language string.Dependencies
The list of dependencies are:
Typesafe Config
a generic configuration file reader. The library is used by theConfigure
class to access settings stored as resources within an application.