org.exoplatform.forum.extras.injection.utils
Class ExoNameGenerator

java.lang.Object
  extended by org.exoplatform.forum.extras.injection.utils.ExoNameGenerator

public class ExoNameGenerator
extends Object


Constructor Summary
ExoNameGenerator()
           
 
Method Summary
 String compose(int syls)
          Compose a new name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExoNameGenerator

public ExoNameGenerator()
Method Detail

compose

public String compose(int syls)
Compose a new name.

Parameters:
syls - The number of syllables used in name.
Returns:
Returns composed name as a String
Throws:
RuntimeException - when logical mistakes are detected inside chosen file, and program is unable to complete the name.


Copyright © 2013 eXo Platform SAS. All Rights Reserved.