|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.marketcetera.util.auth.Holder<char[]>
org.marketcetera.util.auth.HolderCharArray
public class HolderCharArray
A holder of a character array.
| Constructor Summary | |
|---|---|
HolderCharArray()
Constructor mirroring superclass constructor. |
|
HolderCharArray(I18NBoundMessage message)
Constructor mirroring superclass constructor. |
|
| Method Summary | |
|---|---|
void |
clear()
Clears the receiver's data by first overwriting all prior characters with the nul ('\0') character (if the receiver had non-null data), and then setting the data to null. |
String |
getValueAsString()
Returns the receiver's data as a string. |
void |
setValue(char[] value)
Sets the receiver's data to the given value, after clearing the previous data via clear(). |
| Methods inherited from class org.marketcetera.util.auth.Holder |
|---|
getMessage, getValue, isSet |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HolderCharArray(I18NBoundMessage message)
Holder.Holder(I18NBoundMessage)public HolderCharArray()
Holder.Holder()| Method Detail |
|---|
public void setValue(char[] value)
clear().
setValue in class Holder<char[]>value - The value, which may be null to unset the
receiver's data.public String getValueAsString()
clear(); this is because the string created and
returned by this method cannot be zeroed out.
public void clear()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||