Package util
Class Settings
java.lang.Object
util.Settings
- All Implemented Interfaces:
Savable
,Serializable
Created by hp on 7/7/2016.
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlong
boolean
static Settings
void
setActivated
(boolean activated) void
setActivationDate
(long activationDate) void
setPassword
(String password) void
setUserName
(String userName) toString()
-
Field Details
-
userName
-
password
-
activated
private boolean activated -
activationDate
private long activationDate
-
-
Constructor Details
-
Settings
public Settings() -
Settings
-
-
Method Details
-
getUserName
-
setUserName
-
getPassword
-
setPassword
-
isActivated
public boolean isActivated() -
setActivated
public void setActivated(boolean activated) -
getActivationDate
public long getActivationDate() -
setActivationDate
public void setActivationDate(long activationDate) -
parse
- Parameters:
enc
- The encoded format of the byte array: [num1, num2, num3, num4, ...]- Returns:
- the Variable object that represents the encoded data
-
serialize
-
toString
-