java.lang.Object
org.eclipse.jgit.transport.NetRC
NetRC file parser.
- Since:
- 3.5
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet all entries collected from .netrc fileGet entry by host name
-
Constructor Details
-
NetRC
public NetRC()Constructor for NetRC.
-
NetRC
Constructor for NetRC.
- Parameters:
netrc
- the .netrc file
-
-
Method Details
-
getEntry
Get entry by host name- Parameters:
host
- the host name- Returns:
- entry associated with host name or null
-
getEntries
Get all entries collected from .netrc file- Returns:
- all entries collected from .netrc file
-