jlorem

lorem ipsum generator

License

License

MIT
Categories

Categories

Net
GroupId

GroupId

net._01001111
ArtifactId

ArtifactId

jlorem
Last Version

Last Version

1.3
Release Date

Release Date

Type

Type

jar
Description

Description

jlorem
lorem ipsum generator
Source Code Management

Source Code Management

http://github.com/oliverdodd/jlorem

Download jlorem

How to add to project

<!-- https://jarcasting.com/artifacts/net._01001111/jlorem/ -->
<dependency>
    <groupId>net._01001111</groupId>
    <artifactId>jlorem</artifactId>
    <version>1.3</version>
</dependency>
// https://jarcasting.com/artifacts/net._01001111/jlorem/
implementation 'net._01001111:jlorem:1.3'
// https://jarcasting.com/artifacts/net._01001111/jlorem/
implementation ("net._01001111:jlorem:1.3")
'net._01001111:jlorem:jar:1.3'
<dependency org="net._01001111" name="jlorem" rev="1.3">
  <artifact name="jlorem" type="jar" />
</dependency>
@Grapes(
@Grab(group='net._01001111', module='jlorem', version='1.3')
)
libraryDependencies += "net._01001111" % "jlorem" % "1.3"
[net._01001111/jlorem "1.3"]

Dependencies

test (3)

Group / Artifact Type Version
org.slf4j : slf4j-log4j12 jar 1.5.2
commons-logging : commons-logging jar 1.1
junit : junit jar 4.4

Project Modules

There are no modules declared in this project.

jlorem

A Java Lorem Ipsum Generator.

Available in Maven Central.

<dependency>
	<groupId>net._01001111</groupId>
	<artifactId>jlorem</artifactId>
	<version>1.1</version>
</dependency>

Usage

LoremIpsum jlorem = new LoremIpsum();
String paragraphs = jlorem.paragraphs(3, true);

###Output:

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

Laciniaconubia arcu blandit ultrices egestas mauris torquent litora leo nec porta curabitur porta, netus nascetur sodales inceptos suspendisse cras, taciti pretium eros tempus sit.  Faucibussit ullamcorper himenaeos purus cubilia tincidunt, nisl fusce egestas facilisis magna ultrices nisi bibendum magna leo, habitasse netus posuere duis felis vestibulum condimentum cubilia, ipsum sodales duis porttitor per cras auctor, etiam venenatis arcu tincidunt facilisis eu dictumst?

Sagittis habitasse aptent sit arcu et, aliquam id eu inceptos, conubia nulla magnis scelerisque quis natoque duis aliquet molestie etiam ultricies, nam consectetur nullam rhoncus turpis malesuada lobortis curabitur suscipit mi vivamus ultrices?  Conubiahabitasse vivamus mollis vitae luctus gravida proin, nam risus netus?

Methods

  • randomWord()
    • Get a random word.
  • randomPunctuation()
    • Get a random punctuation mark.
  • words(count)
    • Get a string of words.
  • sentenceFragment()
    • Get a sentence fragment.
  • sentence()
    • Get a sentence.
  • sentences(count)
    • Get multiple sentences.
  • paragraph(useStandard)
    • Get a paragraph. If useStandard is true, return the standard Lorem Ipsum paragraph.
  • paragraph()
    • Get a paragraph, use standard is false.
  • paragraphs(count)
    • Get multiple paragraphs. If useStandard is true, lead with the standard Lorem Ipsum paragraph.
  • paragraphs(count)
    • Get multiple paragraphs, use standard is false.

Versions

Version
1.3
1.2
1.1