LoremIpsum
| Kind of class: | class |
|---|---|
| Inherits from: | none |
| Version: | 02/12/07 |
| Author: | David Nelson, Aaron Clinger |
| Classpath: | org.casalib.util.LoremIpsum |
| File last modified: | Monday, 01 December 2008, 13:34:40 |
Summary
Class methods
- generateWords (amount:Number) : String
- Creates a defined amount of placeholder words.
- generateSentences (amount:Number) : String
- Creates a defined amount of placeholder sentences.
- generateParagraphs (amount:Number) : String
- Creates a defined amount of placeholder paragraphs.
Class methods
generateParagraphs
static function generateParagraphs (
amount:Number) : String
Creates a defined amount of placeholder paragraphs. Paragraph length varies between four and fifteen sentences.
@amount The amount of paragraphs.
@amount The amount of paragraphs.
Returns:
- Returns a string comprised of randomized dummy text.
generateSentences
static function generateSentences (
amount:Number) : String
Creates a defined amount of placeholder sentences. Sentence length varies between four and ten words.
@amount The amount of sentences.
@amount The amount of sentences.
Returns:
- Returns a string comprised of randomized dummy text.
generateWords
static function generateWords (
amount:Number) : String
Creates a defined amount of placeholder words.
@amount The amount of words.
@amount The amount of words.
Returns:
- Returns a string comprised of randomized dummy text.