Class/Object

com.github.mauricio.async.db.util

AbstractURIParser

Related Docs: object AbstractURIParser | package util

Permalink

abstract class AbstractURIParser extends AnyRef

Common parser assisting methods for PG and MySQL URI parsers.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. AbstractURIParser
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new AbstractURIParser()

    Permalink

Abstract Value Members

  1. abstract val DEFAULT: Configuration

    Permalink

    The default for this particular URLParser, ie: appropriate and specific to PG or MySQL accordingly

  2. abstract val SCHEME: Regex

    Permalink

    A Regex that will match the base name of the driver scheme, minus jdbc:.

    A Regex that will match the base name of the driver scheme, minus jdbc:. Eg: postgres(?:ul)?

    Attributes
    protected

Concrete Value Members

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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def assembleConfiguration(properties: Map[String, String], charset: Charset): Configuration

    Permalink

    Assembles a configuration out of the provided property map.

    Assembles a configuration out of the provided property map. This is the generic form, subclasses may override to handle additional properties.

    properties

    the extracted properties from the URL.

    charset

    the charset passed in to parse or parseOrDie.

    Attributes
    protected
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. final def eq(arg0: AnyRef): Boolean

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  11. def handleJDBC(uri: URI): Map[String, String]

    Permalink

    This method breaks out handling of the jdbc: prefixed uri's, allowing them to be handled differently without reimplementing all of parse.

    This method breaks out handling of the jdbc: prefixed uri's, allowing them to be handled differently without reimplementing all of parse.

    Attributes
    protected
  12. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  13. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  14. val logger: Logger

    Permalink
    Attributes
    protected
  15. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  16. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  17. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  18. def parse(uri: URI): Map[String, String]

    Permalink
    Attributes
    protected
  19. def parse(url: String, charset: Charset = DEFAULT.charset): Configuration

    Permalink

    Parses the provided url and returns a Configuration based upon it.

    Parses the provided url and returns a Configuration based upon it. On an error, a default configuration is returned.

    url

    the URL to parse.

    charset

    the charset to use.

    returns

    a Configuration.

  20. def parseOrDie(url: String, charset: Charset = DEFAULT.charset): Configuration

    Permalink

    Parses the provided url and returns a Configuration based upon it.

    Parses the provided url and returns a Configuration based upon it. On an error,

    url

    the URL to parse.

    charset

    the charset to use.

    returns

    a Configuration.

    Annotations
    @throws( ... )
  21. final def parseUserInfo(userInfo: Option[String]): (Option[String], Option[String])

    Permalink

    Parses out userInfo into a tuple of optional username and password

    Parses out userInfo into a tuple of optional username and password

    userInfo

    the optional user info string

    returns

    a tuple of optional username and password

    Attributes
    protected
  22. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  23. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  24. final def unwrapIpv6address(server: String): String

    Permalink
    Attributes
    protected
  25. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped