Class PGPropertyUtil
java.lang.Object
org.postgresql.util.PGPropertyUtil
routines to support PG properties
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static IntegerconvertPgPortToInt(String portStr) converts PGPORT String to Integerstatic booleanpropertiesConsistencyCheck(Properties properties) Validate properties.static StringtranslatePGPropertyToPGService(String propertyKey) translate PGSERVICEFILE keys host, port, dbname Example: "PGHOST" becomes "host"static StringtranslatePGServiceToPGProperty(String serviceKey) translate PGSERVICEFILE keys host, port, dbname Example: "host" becomes "PGHOST"
-
Field Details
-
LOGGER
-
-
Constructor Details
-
PGPropertyUtil
public PGPropertyUtil()
-
-
Method Details
-
convertPgPortToInt
-
propertiesConsistencyCheck
Validate properties. Goal is to detect inconsistencies and report understandable messages- Parameters:
properties- properties- Returns:
- false if errors found
-
translatePGServiceToPGProperty
-
translatePGPropertyToPGService
-