Package org.postgresql.jdbcurlresolver
Class PgServiceConfParser
java.lang.Object
org.postgresql.jdbcurlresolver.PgServiceConfParser
helps to read Connection Service File.
https://www.postgresql.org/docs/current/libpq-pgservice.html
-
Method Summary
Modifier and TypeMethodDescriptionstatic @Nullable Properties
getServiceProperties
(String serviceName) Read pg_service.conf resource
-
Method Details
-
getServiceProperties
Read pg_service.conf resource- Parameters:
serviceName
- service name to search for- Returns:
- key value pairs
-