Sample code PDF Print E-mail
Thursday, 31 January 2008

Here are some code fragments that demonstration LoremIpsum4J usage.

Generate 2 Lorem Ipsum paragraphs

LoremIpsum4J loremIpsum=new LoremIpsum4J();
String[] paragraphs=loremIpsum.getParagraphs(2);

getParagraphs() returns a string array that contains requested
paragraphs.

Similar functionality is available also for words.

Generate 42 Lorem Ipsum words

LoremIpsum4J loremIpsum=new LoremIpsum4J();
String[] paragraphs=loremIpsum.getWords(42);

getWords() returns array of lorem ipsum paragraphs that contain requested
number of words.

There are also methods getBytes() and getList() which have
work as the examples above.

Last Updated ( Thursday, 31 January 2008 )
 

Newsflash

SCLEC-NXT has been updated to version 2.4.0.

New version is available here.

 

Social Bookmark

Add to: Mr. Wong Add to: Power-Oldie Add to: Linkarena Add to: Digg Add to: Del.icoi.us Add to: Reddit Add to: Jumptags Add to: Upchuckr Add to: Simpy Add to: StumbleUpon Add to: Slashdot Add to: Netscape Add to: Furl Add to: Yahoo Add to: Blogmarks Add to: Diigo Add to: Technorati Add to: Newsvine Add to: Blinkbits Add to: Ma.Gnolia Add to: Smarking Add to: Netvouz Add to: Folkd Add to: Spurl Add to: Google Add to: Blinklist Information
Social Bookmarking
(c) 2005-2008 Softabar. All rights reserved.
Joomla Templates by JoomlaShack Joomla Templates