public class RightFillingHandler extends Object implements FillingHandler
Constructor and Description |
---|
RightFillingHandler() |
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)
FillingHandler
strip
in interface FillingHandler
data
- the data to be parsed.fill
- the filling to be striped.public void fill(StringBuffer data, String fill, int size)
FillingHandler
fill
in interface FillingHandler
data
- the data formatted.fill
- the fill to be used.size
- the size to be reached.Copyright © 2014. All Rights Reserved.