Package android.system
Class StructPasswd
- java.lang.Object
-
- android.system.StructPasswd
-
public final class StructPasswd extends Object
Information returned byOs.getpwnam(java.lang.String)andOs.getpwuid(int). Corresponds to C'sstruct passwdfrom<pwd.h>.
-
-
Constructor Summary
Constructors Constructor Description 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 Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringtoString()Returns a string containing a concise, human-readable description of this object.
-
-
-
Method Detail
-
toString
public String toString()
Description copied from class:ObjectReturns 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
toStringmethod if you intend implementing your owntoStringmethod.
-
-