public class LeftFillingHandler extends Object implements FillingHandler
| Constructor and Description |
|---|
LeftFillingHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
fill(StringBuffer data,
String fill,
int size)
Fill the remaining space with the content of 'fill' up to size.
|
void |
strip(StringBuffer data,
String fill)
Strips the filling from the data.
|
public void strip(StringBuffer data, String fill)
FillingHandlerstrip in interface FillingHandlerdata - the data to be parsed.fill - the filling to be striped.public void fill(StringBuffer data, String fill, int size)
FillingHandlerfill in interface FillingHandlerdata - the data formatted.fill - the fill to be used.size - the size to be reached.Copyright © 2014. All Rights Reserved.