Class StructPasswd

    • Field Detail

      • pw_name

        public final String pw_name
      • pw_uid

        public final int pw_uid
      • pw_gid

        public final int pw_gid
      • pw_dir

        public final String pw_dir
      • pw_shell

        public final String pw_shell
    • Constructor Detail

      • StructPasswd

        public StructPasswd​(String pw_name,
                            int pw_uid,
                            int pw_gid,
                            String pw_dir,
                            String pw_shell)
        Constructs an instance with the given field values.
    • Method Detail

      • toString

        public String toString()
        Description copied from class: Object
        Returns a string containing a concise, human-readable description of this object. Subclasses are encouraged to override this method and provide an implementation that takes into account the object's type and data. The default implementation is equivalent to the following expression:
           getClass().getName() + '@' + Integer.toHexString(hashCode())

        See Writing a useful toString method if you intend implementing your own toString method.

        Overrides:
        toString in class Object
        Returns:
        a printable representation of this object.