net.refractions.udig.catalog
Class PostGISServiceExtension
java.lang.Object
AbstractDataStoreServiceExtension
net.refractions.udig.catalog.PostGISServiceExtension
public class PostGISServiceExtension
- extends AbstractDataStoreServiceExtension
PostGis ServiceExtension
- Since:
- 0.6
- Author:
- David Zwiers, Refractions Research
Method Summary |
java.util.Map<java.lang.String,java.io.Serializable> |
createParams(java.net.URL url)
This is a guess ... |
IService |
createService(java.net.URL id,
java.util.Map<java.lang.String,java.io.Serializable> params)
|
protected java.lang.String |
doOtherChecks(java.util.Map<java.lang.String,java.io.Serializable> params)
|
protected DataStoreFactorySpi |
getDataStoreFactory()
|
static PostgisDataStoreFactory |
getFactory()
|
static boolean |
isPostGIS(java.net.URL url)
A couple quick checks on the url |
java.lang.String |
reasonForFailure(java.net.URL url)
|
static java.net.URL |
toURL(java.util.Map<java.lang.String,java.io.Serializable> params)
|
static java.net.URL |
toURL(java.lang.String the_spec)
|
static java.net.URL |
toURL(java.lang.String the_username,
java.lang.String the_password,
java.lang.String the_host,
java.lang.Integer intPort,
java.lang.String the_database,
java.lang.String the_schema)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PostGISServiceExtension
public PostGISServiceExtension()
createService
public IService createService(java.net.URL id,
java.util.Map<java.lang.String,java.io.Serializable> params)
- Parameters:
id
- params
-
- Returns:
- x
toURL
public static java.net.URL toURL(java.util.Map<java.lang.String,java.io.Serializable> params)
throws java.net.MalformedURLException
- Throws:
java.net.MalformedURLException
createParams
public java.util.Map<java.lang.String,java.io.Serializable> createParams(java.net.URL url)
- This is a guess ...
- Parameters:
url
-
- Returns:
- x
- See Also:
net.refractions.udig.catalog.ServiceExtension#createParams(java.net.URL)
getFactory
public static PostgisDataStoreFactory getFactory()
- Returns:
- x
isPostGIS
public static final boolean isPostGIS(java.net.URL url)
- A couple quick checks on the url
toURL
public static java.net.URL toURL(java.lang.String the_username,
java.lang.String the_password,
java.lang.String the_host,
java.lang.Integer intPort,
java.lang.String the_database,
java.lang.String the_schema)
throws java.net.MalformedURLException
- Throws:
java.net.MalformedURLException
toURL
public static java.net.URL toURL(java.lang.String the_spec)
throws java.net.MalformedURLException
- Throws:
java.net.MalformedURLException
doOtherChecks
protected java.lang.String doOtherChecks(java.util.Map<java.lang.String,java.io.Serializable> params)
getDataStoreFactory
protected DataStoreFactorySpi getDataStoreFactory()
reasonForFailure
public java.lang.String reasonForFailure(java.net.URL url)