public class StringBlob extends Object
Constructor and Description |
---|
StringBlob(byte[] byteArray)
Construct string blob from compressed byte array
|
StringBlob(String inputString)
Construct StringBlob with uncompressed string
|
Modifier and Type | Method and Description |
---|---|
byte[] |
getRawBlob()
Get raw blob
|
String |
getString()
Get uncompressed string
|
void |
setString(String str)
Set string
|
public StringBlob(byte[] byteArray)
byteArray
- the byte arraypublic StringBlob(String inputString)
inputString
- the stringpublic byte[] getRawBlob()
Copyright © 2018 Apache Software Foundation. All rights reserved.