Class EncryptedString
- java.lang.Object
-
- io.github.factoryfx.factory.attribute.types.EncryptedString
-
- All Implemented Interfaces:
java.lang.Comparable<EncryptedString>
public class EncryptedString extends java.lang.Object implements java.lang.Comparable<EncryptedString>
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedEncryptedString(java.lang.String encryptedString)EncryptedString(java.lang.String value, java.lang.String key)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(EncryptedString other)java.lang.Stringdecrypt(java.lang.String key)booleanequals(java.lang.Object o)java.lang.StringgetEncryptedString()inthashCode()
-
-
-
Method Detail
-
decrypt
public java.lang.String decrypt(java.lang.String key)
-
getEncryptedString
public java.lang.String getEncryptedString()
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
compareTo
public int compareTo(EncryptedString other)
- Specified by:
compareToin interfacejava.lang.Comparable<EncryptedString>
-
-