Class OmemoFingerprint
- java.lang.Object
-
- org.jivesoftware.smackx.omemo.trust.OmemoFingerprint
-
- All Implemented Interfaces:
java.lang.CharSequence
public class OmemoFingerprint extends java.lang.Object implements java.lang.CharSequence
-
-
Constructor Summary
Constructors Constructor Description OmemoFingerprint(java.lang.String fingerprintString)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
blocksOf8Chars()
Split the fingerprint in blocks of 8 characters with spaces between.char
charAt(int index)
boolean
equals(java.lang.Object other)
int
hashCode()
int
length()
java.lang.CharSequence
subSequence(int start, int end)
java.lang.String
toString()
-
-
-
Constructor Detail
-
OmemoFingerprint
public OmemoFingerprint(java.lang.String fingerprintString)
-
-
Method Detail
-
length
public int length()
- Specified by:
length
in interfacejava.lang.CharSequence
-
charAt
public char charAt(int index)
- Specified by:
charAt
in interfacejava.lang.CharSequence
-
subSequence
public java.lang.CharSequence subSequence(int start, int end)
- Specified by:
subSequence
in interfacejava.lang.CharSequence
-
toString
public java.lang.String toString()
- Specified by:
toString
in interfacejava.lang.CharSequence
- Overrides:
toString
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equals
in classjava.lang.Object
-
blocksOf8Chars
public java.lang.String blocksOf8Chars()
Split the fingerprint in blocks of 8 characters with spaces between.- Returns:
- Block representation of the fingerprint.
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-