public class LoremDummy extends Object
Constructor and Description |
---|
LoremDummy(Dummy4j dummy4j) |
Modifier and Type | Method and Description |
---|---|
String |
character()
Generates a random alphabetic character
|
String |
characters(int numberOfCharacters)
Generates a specified amount of random alphabetic characters
|
String |
paragraph()
Generates a paragraph of random size
|
String |
paragraph(int numberOfSentences)
Generates a paragraph of specified size
|
String |
sentence()
Generates a sentence containing random words
|
String |
sentence(int numberOfWords)
Generates a sentence of specified length and containing random words
|
String |
sentence(int minWords,
int maxWords)
Generates a sentence that is between
minWords and maxWords long and contains random words |
String |
word()
Provides a random word
|
public LoremDummy(Dummy4j dummy4j)
public String characters(int numberOfCharacters)
public String character()
public String sentence(int minWords, int maxWords)
minWords
and maxWords
long and contains random wordsminWords
and maxWords
public String sentence(int numberOfWords)
public String word()
public String paragraph()
public String paragraph(int numberOfSentences)
public String sentence()
Copyright © 2022. All rights reserved.