public interface ClientKeyBlock
| Modifier and Type | Method and Description |
|---|---|
Bucket |
decode(BucketFactory factory,
int maxLength,
boolean dontDecompress)
Decode with the key
|
boolean |
equals(java.lang.Object o)
This is why ClientKeyBlock isn't instanceof KeyBlock: Two ClientKeyBlock's with the same content
but different keys are not equals(), therefore a ClientKeyBlock and its KeyBlock have to be !equals
too.
|
KeyBlock |
getBlock() |
ClientKey |
getClientKey() |
Key |
getKey() |
int |
hashCode()
Please be consistent with equals()
|
boolean |
isMetadata()
Does the block contain metadata? If not, it contains real data.
|
byte[] |
memoryDecode() |
Bucket decode(BucketFactory factory, int maxLength, boolean dontDecompress) throws KeyDecodeException, java.io.IOException
factory - The BucketFactory to use to create the Bucket to return the data in.maxLength - The maximum size of the returned data in bytes.KeyDecodeExceptionjava.io.IOExceptionboolean isMetadata()
ClientKey getClientKey()
byte[] memoryDecode()
throws KeyDecodeException
KeyDecodeExceptionKeyBlock getBlock()
Key getKey()
boolean equals(java.lang.Object o)
equals in class java.lang.Objectint hashCode()
hashCode in class java.lang.Object