public class Strings
extends java.lang.Object
Modifier | Constructor and Description |
---|---|
private |
Strings() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
fill(char filler,
int len)
Creates a string filled with the with the value of the
filler parameter with a length defined by the
len parameter. |
static java.lang.String |
fill(java.lang.CharSequence filler,
int len)
Creates a string filled with the with the value of the
filler parameter with a length defined by the
len parameter. |
public static java.lang.String fill(char filler, int len)
filler
parameter with a length defined by the
len
parameter.filler
- the filler character.len
- the length to fill.public static java.lang.String fill(java.lang.CharSequence filler, int len)
filler
parameter with a length defined by the
len
parameter.filler
- the filler sequence.len
- the length to fill.