public interface Padder
Modifier and Type | Method and Description |
---|---|
java.lang.String |
pad(java.lang.String data,
int maxLength)
Returns a padded string upto a maximum length.
|
java.lang.String |
unpad(java.lang.String paddedData)
Removes the padding from a padded string.
|
java.lang.String pad(java.lang.String data, int maxLength) throws ISOException
data
- The string to pad.maxLength
- The maximum length of the padded string.ISOException
- on errorjava.lang.String unpad(java.lang.String paddedData) throws ISOException
paddedData
- The string to unpad.ISOException
- on error