| Modifier and Type | Field and Description |
|---|---|
| private final String | |
| private final String | |
| private static final Logger | |
| private final String | |
| private static final char | |
| private final String |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| private @Nullable String | |
| private @Nullable String | |
| private String | |
| private @Nullable String | |
| private @Nullable String | |
| public static @Nullable String | |
| private InputStream | |
| private @Nullable String |
| database | back to summary |
|---|---|
| private final String database | |
| hostname | back to summary |
|---|---|
| private final String hostname | |
| LOGGER | back to summary |
|---|---|
| private static final Logger LOGGER | |
| port | back to summary |
|---|---|
| private final String port | |
| SEPARATOR | back to summary |
|---|---|
| private static final char SEPARATOR | |
| user | back to summary |
|---|---|
| private final String user | |
| PgPassParser | back to summary |
|---|---|
| private PgPassParser(String hostname, String port, String database, String user) | |
| checkForPattern | back to summary |
|---|---|
| private @Nullable String checkForPattern(String line, String value) | |
| evaluateLine | back to summary |
|---|---|
| private @Nullable String evaluateLine(String fullLine, int currentLine) | |
| extractPassword | back to summary |
|---|---|
| private String extractPassword(String line) | |
| findPassword | back to summary |
|---|---|
| private @Nullable String findPassword() | |
| findPgPasswordResourceName | back to summary |
|---|---|
| private @Nullable String findPgPasswordResourceName() | |
| getPassword | back to summary |
|---|---|
| public static @Nullable String getPassword(@Nullable String hostname, @Nullable String port, @Nullable String database, @Nullable String user) Read .pgpass resource | |
| openInputStream | back to summary |
|---|---|
| private InputStream openInputStream(String resourceName) throws IOException | |
| parseInputStream | back to summary |
|---|---|
| private @Nullable String parseInputStream(InputStream inputStream) throws IOException | |