Class EncryptionColumn
- java.lang.Object
-
- org.refcodes.tabular.AbstractColumn<String>
-
- org.refcodes.tabular.alt.forwardsecrecy.EncryptionColumn
-
- All Implemented Interfaces:
Cloneable
,org.refcodes.mixin.KeyAccessor<String>
,org.refcodes.mixin.TypeAccessor<String>
,org.refcodes.tabular.Column<String>
public class EncryptionColumn extends org.refcodes.tabular.AbstractColumn<String> implements Cloneable
ThisColumn
solely can encryptString
texts using the refcodes-forwardsecrecy framework.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.refcodes.mixin.KeyAccessor
org.refcodes.mixin.KeyAccessor.KeyBuilder<K extends Object,B extends org.refcodes.mixin.KeyAccessor.KeyBuilder<K,B>>, org.refcodes.mixin.KeyAccessor.KeyMutator<K extends Object>, org.refcodes.mixin.KeyAccessor.KeyProperty<K extends Object>
-
Nested classes/interfaces inherited from interface org.refcodes.mixin.TypeAccessor
org.refcodes.mixin.TypeAccessor.TypeBuilder<T extends Object,B extends org.refcodes.mixin.TypeAccessor.TypeBuilder<T,B>>, org.refcodes.mixin.TypeAccessor.TypeMutator<T extends Object>, org.refcodes.mixin.TypeAccessor.TypeProperty<T extends Object>
-
-
Constructor Summary
Constructors Constructor Description EncryptionColumn(String aKey, org.refcodes.forwardsecrecy.EncryptionProvider aEncryptionProvider)
Creates anEncryptionColumn
encrypting any text.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
clone()
String
fromStorageStrings(String[] aStringValues)
String[]
toStorageStrings(String aValue)
-
Methods inherited from class org.refcodes.tabular.AbstractColumn
contains, fromStorageString, get, getKey, getType, remove, toPrintable, toStorageString
-
-
-
-
Constructor Detail
-
EncryptionColumn
public EncryptionColumn(String aKey, org.refcodes.forwardsecrecy.EncryptionProvider aEncryptionProvider)
Creates anEncryptionColumn
encrypting any text.- Parameters:
aKey
- The key to be used.aEncryptionProvider
- TheEncryptionProvider
to be used.
-
-
Method Detail
-
toStorageStrings
public String[] toStorageStrings(String aValue)
- Specified by:
toStorageStrings
in interfaceorg.refcodes.tabular.Column<String>
-
fromStorageStrings
public String fromStorageStrings(String[] aStringValues) throws ParseException
- Specified by:
fromStorageStrings
in interfaceorg.refcodes.tabular.Column<String>
- Throws:
ParseException
-
clone
public Object clone() throws CloneNotSupportedException
- Overrides:
clone
in classorg.refcodes.tabular.AbstractColumn<String>
- Throws:
CloneNotSupportedException
-
-