URLParser

object URLParser extends AbstractURIParser

The MySQL URL parser.

class AbstractURIParser
class Object
trait Matchable
class Any

Value members

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

Inherited from
AbstractURIParser
@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.

Inherited from
AbstractURIParser

Concrete fields

override
val DEFAULT: Configuration

The default configuration for MySQL.

The default configuration for MySQL.