public class EncodeDecode
extends java.lang.Object
Constructor and Description |
---|
EncodeDecode() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
decodeString(java.io.ByteArrayOutputStream toConvert)
Method to convert a ByteArrayOutputStream to a string
|
static java.io.ByteArrayInputStream |
encodeString(java.lang.String toConvert)
Method to convert a string to a ByteArrayInputStream
|
public static java.io.ByteArrayInputStream encodeString(java.lang.String toConvert)
toConvert
- The string to convertpublic static java.lang.String decodeString(java.io.ByteArrayOutputStream toConvert)
toConvert
- A ByteArrayOutputStream to convert to stringCopyright © 2004-2014 The YAWL Foundation.