Method | Return type | Brief description |
base64Decode(encoded) | Byte[] | Decodes a base-64 encoded string into a UTF-8 byte array. |
base64Decode(encoded, charset) | Byte[] | Decodes a base-64 encoded string into a byte array in a specific character set. |
base64DecodeWebSafe(encoded) | Byte[] | Decodes a base-64 web-safe encoded string into a UTF-8 byte array. |
base64DecodeWebSafe(encoded, charset) | Byte[] | Decodes a base-64 web-safe encoded string into a byte array in a specific character set. |
base64Encode(data) | String | Generates a base-64 encoded string from the given byte array. |
base64Encode(data) | String | Generates a base-64 encoded string from the given string. |
base64Encode(data, charset) | String | Generates a base-64 encoded string from the given string in a specific character set. |
base64EncodeWebSafe(data) | String | Generates a base-64 web-safe encoded string from the given byte array. |
base64EncodeWebSafe(data) | String | Generates a base-64 web-safe encoded string from the given string. |
base64EncodeWebSafe(data, charset) | String | Generates a base-64 web-safe encoded string from the given string in a specific character set. |
computeDigest(algorithm, value) | Byte[] | Compute a digest using the specified algorithm on the specified Byte[] value. |
computeDigest(algorithm, value) | Byte[] | Compute a digest using the specified algorithm on the specified String value. |
computeDigest(algorithm, value, charset) | Byte[] | Compute a digest using the specified algorithm on the specified String value with the
given character set. |
computeHmacSha256Signature(value, key) | Byte[] | Signs the provided value using HMAC-SHA256 with the given key. |
computeHmacSha256Signature(value, key) | Byte[] | Signs the provided value using HMAC-SHA256 with the given key. |
computeHmacSha256Signature(value, key, charset) | Byte[] | Signs the provided value using HMAC-SHA256 with the given key and character set. |
computeHmacSignature(algorithm, value, key) | Byte[] | Compute a message authentication code using the specified algorithm on the specified key and
value. |
computeHmacSignature(algorithm, value, key) | Byte[] | Compute a message authentication code using the specified algorithm on the specified key and
value. |
computeHmacSignature(algorithm, value, key, charset) | Byte[] | Compute a message authentication code using the specified algorithm on the specified key and
value. |
computeRsaSha1Signature(value, key) | Byte[] | Signs the provided value using RSA-SHA1 with the given key. |
computeRsaSha1Signature(value, key, charset) | Byte[] | Signs the provided value using RSA-SHA1 with the given key and charset. |
computeRsaSha256Signature(value, key) | Byte[] | Signs the provided value using RSA-SHA256 with the given key. |
computeRsaSha256Signature(value, key, charset) | Byte[] | Signs the provided value using RSA-SHA256 with the given key. |
computeRsaSignature(algorithm, value, key) | Byte[] | Signs the provided value using the specified RSA algorithm with the given key. |
computeRsaSignature(algorithm, value, key, charset) | Byte[] | Signs the provided value using the specified RSA algorithm with the given key and charset. |
formatDate(date, timeZone, format) | String | Formats date according to specification described in Java SE SimpleDateFormat class. |
formatString(template, args) | String | Performs sprintf -like string formatting using '%'-style format strings. |
getUuid() | String | Get a UUID as a string (equivalent to using the java.util.UUID.randomUUID() method). |
gzip(blob) | Blob | gzip -compresses the provided Blob data and returns it in a new Blob object. |
gzip(blob, name) | Blob | gzip -compresses the provided Blob data and returns it in a new Blob object. |
newBlob(data) | Blob | Create a new Blob object from a byte array. |
newBlob(data, contentType) | Blob | Create a new Blob object from a byte array and content type. |
newBlob(data, contentType, name) | Blob | Create a new Blob object from a byte array, content type, and name. |
newBlob(data) | Blob | Create a new Blob object from a string. |
newBlob(data, contentType) | Blob | Create a new Blob object from a string and content type. |
newBlob(data, contentType, name) | Blob | Create a new Blob object from a string, content type, and name. |
parseCsv(csv) | String[][] | Returns a tabular 2D array representation of a CSV string. |
parseCsv(csv, delimiter) | String[][] | Returns a tabular 2D array representation of a CSV string using a custom delimiter. |
parseDate(date, timeZone, format) | Date | Parses the provided string date according to the specification described in the Java Standard
Edition SimpleDateFormat class. |
sleep(milliseconds) | void | Sleeps for specified number of milliseconds. |
ungzip(blob) | Blob | Uncompresses a Blob object and returns a Blob containing the uncompressed
data. |
unzip(blob) | Blob[] | Takes a Blob representing a zip file and returns its component files. |
zip(blobs) | Blob | Creates a new Blob object that is a zip file containing the data from the Blobs passed in. |
zip(blobs, name) | Blob | Creates a new Blob object that is a zip file containing the data from the Blobs passed in. |