Package org.instancio.generators
Class TextSpecs
java.lang.Object
org.instancio.generators.TextSpecs
Provides text generators.
- Since:
- 2.6.0
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGenerates "Lorem ipsum" text.Generates text based on the specified pattern.uuid()
Generates aUUID
value as a string.
-
Constructor Details
-
TextSpecs
public TextSpecs()
-
-
Method Details
-
loremIpsum
Generates "Lorem ipsum" text.- Returns:
- lorem ipsum text generator
- Since:
- 2.6.0
-
pattern
Generates text based on the specified pattern.For pattern documentation, see:
TextGenerators.pattern(String)
.- Returns:
- text pattern generator
- Since:
- 2.6.0
- See Also:
-
uuid
Generates aUUID
value as a string. By default, the generated string is formatted asUUID.toString()
.- Returns:
UUID
string generator- Since:
- 2.6.0
-