Class NetRC.NetRCEntry

  • Enclosing class:
    NetRC

    public static class NetRC.NetRCEntry
    extends java.lang.Object
    .netrc file entry
    • Field Summary

      Fields 
      Modifier and Type Field Description
      java.lang.String account
      account netrc entry
      java.lang.String login
      login netrc entry
      java.lang.String macbody
      macro script body of macdef entry.
      java.lang.String macdef
      macdef netrc entry.
      java.lang.String machine
      machine netrc entry
      char[] password
      password netrc entry
    • Constructor Summary

      Constructors 
      Constructor Description
      NetRCEntry()
      Default constructor
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      (package private) boolean complete()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • login

        public java.lang.String login
        login netrc entry
      • password

        public char[] password
        password netrc entry
      • machine

        public java.lang.String machine
        machine netrc entry
      • account

        public java.lang.String account
        account netrc entry
      • macdef

        public java.lang.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.
      • macbody

        public java.lang.String macbody
        macro script body of macdef entry.
    • Constructor Detail

      • NetRCEntry

        public NetRCEntry()
        Default constructor
    • Method Detail

      • complete

        boolean complete()