AbstractURIParser

abstract

Common parser assisting methods for PG and MySQL URI parsers.

Companion
object
class Object
trait Matchable
class Any

Value members

Concrete methods

def parse(url: String, charset: Charset): Configuration

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

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

Value Params
charset

the charset to use.

url

the URL to parse.

Returns

a Configuration.

@throws("if the URL does not match the expected type, or cannot be parsed for any reason")
def parseOrDie(url: String, charset: Charset): Configuration

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

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

Value Params
charset

the charset to use.

url

the URL to parse.

Returns

a Configuration.

Abstract fields

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

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