net._01001111.text
Class LoremIpsum

java.lang.Object
  extended by net._01001111.text.LoremIpsum

public class LoremIpsum
extends java.lang.Object


Field Summary
protected  java.lang.String standard
           
 
Constructor Summary
LoremIpsum()
           
 
Method Summary
 java.lang.String paragraph()
           
 java.lang.String paragraph(boolean useStandard)
          Get a paragraph
 java.lang.String paragraphs(int count)
           
 java.lang.String paragraphs(int count, boolean useStandard)
          Get multiple paragraphs
 java.lang.String randomPunctuation()
          Get a random punctuation mark
 java.lang.String randomWord()
          Get a random word
 java.lang.String sentence()
          Get a sentence
 java.lang.String sentenceFragment()
          Get a sentence fragment
 java.lang.String sentences(int count)
          Get multiple sentences
 java.lang.String words(int count)
          Get a string of words
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

standard

protected final java.lang.String standard
See Also:
Constant Field Values
Constructor Detail

LoremIpsum

public LoremIpsum()
Method Detail

randomWord

public java.lang.String randomWord()
Get a random word


randomPunctuation

public java.lang.String randomPunctuation()
Get a random punctuation mark


words

public java.lang.String words(int count)
Get a string of words

Parameters:
count - - the number of words to fetch

sentenceFragment

public java.lang.String sentenceFragment()
Get a sentence fragment


sentence

public java.lang.String sentence()
Get a sentence


sentences

public java.lang.String sentences(int count)
Get multiple sentences

Parameters:
count - - the number of sentences

paragraph

public java.lang.String paragraph(boolean useStandard)
Get a paragraph


paragraph

public java.lang.String paragraph()

paragraphs

public java.lang.String paragraphs(int count,
                                   boolean useStandard)
Get multiple paragraphs

Parameters:
count - - the number of paragraphs

paragraphs

public java.lang.String paragraphs(int count)


Copyright © 2009-2011. All Rights Reserved.