An extremely useful Lorem Ipsum generator for Java!
Lorem.getWords(5, 10);
Randomly generates between 5 and 10 words.
Lorem.getParagraphs(2, 4);
Randomly generates between 2 and 4 paragraphs.
Lorem.getHtmlParagraphs(2, 4);
Randomly generates between 2 and 4 paragraphs wrapped in <p> tags.
Lorem.getTitle(2, 4);
Randomly generates a title of 2 to 4 words.
Lorem.getName();
Generates a random name.
Lorem.getNameFemale();
Generates a random female name.
Lorem.getNameMale();
Generates a random male name.
Lorem.getFirstName();
Generates a random first name.
Lorem.getLastName();
Generates a random last name.
Lorem.getPhone();
Generates a phone number in the form: (800) 555-1212
You can get the latest release via maven.
<dependency>
<groupId>com.thedeanda</groupId>
<artifactId>lorem</artifactId>
<version>1.1</version>
</dependency>