public class StringObjectBuilder extends AbstractBuilder implements Builder
| Modifier and Type | Field and Description |
|---|---|
protected StringGeneratorStrategy |
stringStrategy |
| Constructor and Description |
|---|
StringObjectBuilder() |
| Modifier and Type | Method and Description |
|---|---|
String |
build() |
<T> T |
build(Class<T> type) |
<T> T |
buildString() |
boolean |
isAttributesSet() |
StringObjectBuilder |
setAlpha(boolean alpha) |
StringObjectBuilder |
setAttributes(boolean lower,
boolean alpha,
boolean numeric) |
StringObjectBuilder |
setGeneratorStrategy(StringGeneratorStrategy stringStrategy) |
StringObjectBuilder |
setLower(boolean lower) |
StringObjectBuilder |
setNumeric(boolean numeric) |
StringObjectBuilder |
setSize(int size) |
buildprotected StringGeneratorStrategy stringStrategy
public StringObjectBuilder setGeneratorStrategy(StringGeneratorStrategy stringStrategy)
public StringObjectBuilder setSize(int size)
public StringObjectBuilder setLower(boolean lower)
public StringObjectBuilder setAlpha(boolean alpha)
public StringObjectBuilder setNumeric(boolean numeric)
public StringObjectBuilder setAttributes(boolean lower, boolean alpha, boolean numeric)
public String build()
public <T> T buildString()
public boolean isAttributesSet()
Copyright © 2015. All rights reserved.