| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private static @Nullable Integer | Returns: value of port or nullvalue of port portStr)converts PGPORT String to Integer |
| public static boolean | Returns: false if errors foundproperties properties)Validate properties. |
| public static String | Returns: translated property or the same value if translation is not neededpostgres property propertyKey)translate PGSERVICEFILE keys host, port, dbname Example: "PGHOST" becomes "host" |
| public static String | Returns: translated property or the same value if translation is not neededkey in pg_service.conf serviceKey)translate PGSERVICEFILE keys host, port, dbname Example: "host" becomes "PGHOST" |
| LOGGER | back to summary |
|---|---|
| private static final Logger LOGGER | |
| PGPropertyUtil | back to summary |
|---|---|
| public PGPropertyUtil() | |
| convertPgPortToInt | back to summary |
|---|---|
| private static @Nullable Integer convertPgPortToInt(String portStr) converts PGPORT String to Integer | |
| propertiesConsistencyCheck | back to summary |
|---|---|
| public static boolean propertiesConsistencyCheck(Properties properties) Validate properties. Goal is to detect inconsistencies and report understandable messages
| |
| translatePGPropertyToPGService | back to summary |
|---|---|
| public static String translatePGPropertyToPGService(String propertyKey) translate PGSERVICEFILE keys host, port, dbname Example: "PGHOST" becomes "host" | |
| translatePGServiceToPGProperty | back to summary |
|---|---|
| public static String translatePGServiceToPGProperty(String serviceKey) translate PGSERVICEFILE keys host, port, dbname Example: "host" becomes "PGHOST" | |