Class NullPadder
java.lang.Object
org.jpos.iso.NullPadder
- All Implemented Interfaces:
Padder
The NullPadder does not pad. It is a utility class to use Null Object
pattern.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
INSTANCE
The only instance you need
-
-
Constructor Details
-
NullPadder
public NullPadder()
-
-
Method Details
-
pad
Description copied from interface:PadderReturns a padded string upto a maximum length. If the data is longer than maxLength, then the data is truncated. -
unpad
-