public class NetRC
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
NetRC.NetRCEntry
.netrc file entry
|
| Constructor and Description |
|---|
NetRC(java.io.File netrc) |
NetRC(java.lang.String filename) |
| Modifier and Type | Method and Description |
|---|---|
java.util.Collection<NetRC.NetRCEntry> |
getEntries() |
NetRC.NetRCEntry |
getEntry(java.lang.String host)
Get entry by host name
|
public NetRC(java.lang.String filename)
throws java.io.IOException
java.io.IOExceptionpublic NetRC(java.io.File netrc)
throws java.io.IOException
netrc - the .netrc filejava.io.IOExceptionpublic NetRC.NetRCEntry getEntry(java.lang.String host) throws java.io.IOException
host - java.io.IOExceptionpublic java.util.Collection<NetRC.NetRCEntry> getEntries()