|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.jp.protection.pub.PreferencesSecretStorage.Provider
public static class PreferencesSecretStorage.Provider
Provider responsible of creation new PreferencesSecretStorage instances
| Field Summary | |
|---|---|
protected java.lang.String |
fNodeName
|
protected boolean |
fUserPreferences
|
static long |
serialVersionUID
|
static java.lang.String |
TYPE
|
| Constructor Summary | |
|---|---|
PreferencesSecretStorage.Provider()
Creates a new instance of Provider |
|
PreferencesSecretStorage.Provider(java.lang.String aNodeName,
boolean aUserPreferences)
Creates a new instance of Provider and initializes it |
|
| Method Summary | |
|---|---|
java.lang.Object |
clone()
|
SecretStorage |
create()
Creates a new instance of PreferencesSecretStorage and initializes it using properties of Provider |
boolean |
equals(java.lang.Object obj)
|
java.lang.String |
getInstantiationStr()
|
java.lang.String |
getNodeName()
Return name of preferences node to put secret storage to |
java.lang.String |
getType()
|
boolean |
isUserPreferences()
Checks whether user preferences should be used |
void |
setNodeName(java.lang.String aNodeName)
Specifies name of preferences node to put secret storage to |
void |
setUserPreferences(boolean aUserPreferences)
Specifies that user preferences should be used |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final long serialVersionUID
protected boolean fUserPreferences
protected java.lang.String fNodeName
public static final java.lang.String TYPE
| Constructor Detail |
|---|
public PreferencesSecretStorage.Provider()
public PreferencesSecretStorage.Provider(java.lang.String aNodeName,
boolean aUserPreferences)
aNodeName - name of preferences node to put secret storage toaUserPreferences - specifies whether user or system preferences should be used| Method Detail |
|---|
public java.lang.String getInstantiationStr()
getInstantiationStr in interface SecretStorage.Providerpublic java.lang.String getNodeName()
public void setNodeName(java.lang.String aNodeName)
aNodeName - node namepublic boolean isUserPreferences()
true if user preferences should be used;
false if system preferences should be used insteadpublic void setUserPreferences(boolean aUserPreferences)
aUserPreferences - true if user preferences should be used;
false if system preferences should be used insteadpublic SecretStorage create()
create in interface SecretStorage.Providerpublic java.lang.Object clone()
clone in interface SecretStorage.Providerclone in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String getType()
getType in interface SecretStorage.Providerpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||