Class NetRC


  • public class NetRC
    extends Object
    NetRC file parser.
    Since:
    3.5
    • Constructor Detail

      • NetRC

        public NetRC()
      • NetRC

        public NetRC​(File netrc)
        Parameters:
        netrc - the .netrc file
    • Method Detail

      • getEntry

        public NetRC.NetRCEntry getEntry​(String host)
        Get entry by host name
        Parameters:
        host -
        Returns:
        entry associated with host name or null