public class NetRC extends Object
Modifier and Type | Class and Description |
---|---|
static class |
NetRC.NetRCEntry
.netrc file entry
|
Constructor and Description |
---|
NetRC()
Constructor for NetRC.
|
NetRC(File netrc)
Constructor for NetRC.
|
Modifier and Type | Method and Description |
---|---|
Collection<NetRC.NetRCEntry> |
getEntries()
Get all entries collected from .netrc file
|
NetRC.NetRCEntry |
getEntry(String host)
Get entry by host name
|
public NetRC()
Constructor for NetRC.
public NetRC(File netrc)
Constructor for NetRC.
netrc
- the .netrc filepublic NetRC.NetRCEntry getEntry(String host)
host
- the host namepublic Collection<NetRC.NetRCEntry> getEntries()
Copyright © 2018 Eclipse JGit Project. All rights reserved.