| Modifier and Type | Class and Description |
|---|---|
| public static class | NetRC.
.netrc file entry |
| pack-priv static enum |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv static final String | DEFAULT_ENTRY
'default' netrc entry. |
| private Map | |
| private Instant | |
| pack-priv static final Pattern | |
| private File | |
| private static final TreeMap |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| private static File | |
| public Collection | Returns: all entries collected from .netrc fileGet all entries collected from .netrc file |
| public NetRC. | |
| private void |
| DEFAULT_ENTRY | back to summary |
|---|---|
| pack-priv static final String DEFAULT_ENTRY 'default' netrc entry. This is the same as machine name except that default matches any name. There can be only one default token, and it must be after all machine tokens. | |
| hosts | back to summary |
|---|---|
| private Map<String, NetRC. | |
| lastModified | back to summary |
|---|---|
| private Instant lastModified | |
| NETRC | back to summary |
|---|---|
| pack-priv static final Pattern NETRC | |
| netrc | back to summary |
|---|---|
| private File netrc | |
| STATE | back to summary |
|---|---|
| private static final TreeMap<String, NetRC. | |
| NetRC | back to summary |
|---|---|
| public NetRC() Constructor for NetRC. | |
| NetRC | back to summary |
|---|---|
| public NetRC(File netrc) Constructor for NetRC.
| |
| getDefaultFile | back to summary |
|---|---|
| private static File getDefaultFile() | |
| getEntries | back to summary |
|---|---|
| public Collection Get all entries collected from .netrc file
| |
| getEntry | back to summary |
|---|---|
| public NetRC. Get entry by host name
| |
| parse | back to summary |
|---|---|
| private void parse() | |
| Modifier and Type | Field and Description |
|---|---|
| public String | account
account netrc entry |
| public String | login
login netrc entry |
| public String | macbody
macro script body of macdef entry. |
| public String | macdef
macdef netrc entry. |
| public String | machine
machine netrc entry |
| public char[] | password
password netrc entry |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv boolean |
| account | back to summary |
|---|---|
| public String account account netrc entry | |
| login | back to summary |
|---|---|
| public String login login netrc entry | |
| macbody | back to summary |
|---|---|
| public String macbody macro script body of macdef entry. | |
| macdef | back to summary |
|---|---|
| public String macdef macdef netrc entry. Defines a macro. This token functions like the ftp macdef command functions. A macro is defined with the specified name; its contents begins with the next .netrc line and continues until a null line (consecutive new-line characters) is encountered. If a macro named init is defined, it is automatically executed as the last step in the auto-login process. | |
| machine | back to summary |
|---|---|
| public String machine machine netrc entry | |
| password | back to summary |
|---|---|
| public char[] password password netrc entry | |
| NetRCEntry | back to summary |
|---|---|
| public NetRCEntry() Default constructor | |
| complete | back to summary |
|---|---|
| pack-priv boolean complete() | |
| Modifier and Type | Field and Description |
|---|---|
| public static final NetRC. | |
| public static final NetRC. | |
| public static final NetRC. | |
| public static final NetRC. | |
| public static final NetRC. | |
| public static final NetRC. | |
| public static final NetRC. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static NetRC. | |
| public static NetRC. |
| ACCOUNT | back to summary |
|---|---|
| public static final NetRC. | |
| COMMAND | back to summary |
|---|---|
| public static final NetRC. | |
| DEFAULT | back to summary |
|---|---|
| public static final NetRC. | |
| LOGIN | back to summary |
|---|---|
| public static final NetRC. | |
| MACDEF | back to summary |
|---|---|
| public static final NetRC. | |
| MACHINE | back to summary |
|---|---|
| public static final NetRC. | |
| PASSWORD | back to summary |
|---|---|
| public static final NetRC. | |
| State | back to summary |
|---|---|
| private State() | |
| valueOf | back to summary |
|---|---|
| public static NetRC. | |
| values | back to summary |
|---|---|
| public static NetRC. | |