public class MakeSSL extends Object
Constructor and Description |
---|
MakeSSL() |
Modifier and Type | Method and Description |
---|---|
static void |
convert(PGStream stream,
Properties info,
Logger logger) |
static Object |
instantiate(String classname,
Properties info,
boolean tryString,
String stringarg)
Instantiates a class using the appropriate constructor.
|
public static Object instantiate(String classname, Properties info, boolean tryString, String stringarg) throws ClassNotFoundException, SecurityException, NoSuchMethodException, IllegalArgumentException, InstantiationException, IllegalAccessException, InvocationTargetException
classname
- Nam of the class to instantiateinfo
- parameter to pass as PropertiestryString
- weather to look for a single String argument constructorstringarg
- parameter to pass as StringClassNotFoundException
- if something goes wrongSecurityException
- if something goes wrongNoSuchMethodException
- if something goes wrongIllegalArgumentException
- if something goes wrongInstantiationException
- if something goes wrongIllegalAccessException
- if something goes wrongInvocationTargetException
- if something goes wrongpublic static void convert(PGStream stream, Properties info, Logger logger) throws PSQLException, IOException
PSQLException
IOException
Copyright © 2016 PostgreSQL Global Development Group. All rights reserved.