Packages

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. Protected

Instance Constructors

  1. new AbstractURIParser()

Abstract Value Members

  1. abstract val DEFAULT: Configuration

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

  2. abstract val SCHEME: Regex

    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
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def assembleConfiguration(properties: Map[String, String], charset: Charset): Configuration

    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
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  9. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  10. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  11. def handleJDBC(uri: URI): Map[String, String]

    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
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. val logger: Logger
    Attributes
    protected
  15. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  17. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  18. def parse(uri: URI): Map[String, String]
    Attributes
    protected
  19. def parse(url: String, charset: Charset = DEFAULT.charset): Configuration

    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

    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("if the URL does not match the expected type, or cannot be parsed for any reason")
  21. final def parseUserInfo(userInfo: Option[String]): (Option[String], Option[String])

    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
    Definition Classes
    AnyRef
  23. def toString(): String
    Definition Classes
    AnyRef → Any
  24. final def unwrapIpv6address(server: String): String
    Attributes
    protected
  25. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  26. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  27. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from AnyRef

Inherited from Any

Ungrouped