public class PgPassParser
extends Object
helps to read Password File.
https://www.postgresql.org/docs/current/libpq-pgpass.html
-
メソッドの概要
クラスから継承されたメソッド java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
メソッドの詳細
-
getPassword
Read .pgpass resource
- パラメータ:
hostname
- hostname or *
port
- port or *
database
- database or *
user
- username or *
- 戻り値:
- password or null