AbstractURIParser

com.github.mauricio.async.db.util.AbstractURIParser
See theAbstractURIParser companion object
abstract class AbstractURIParser

Common parser assisting methods for PG and MySQL URI parsers.

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

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 parameters

charset

the charset to use.

url

the URL to parse.

Attributes

Returns

a Configuration.

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 parameters

charset

the charset to use.

url

the URL to parse.

Attributes

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

Attributes