Package com.rapiddweller.domain.lang
Class NounGenerator
- java.lang.Object
-
- com.rapiddweller.benerator.util.AbstractGenerator<E>
-
- com.rapiddweller.benerator.util.ThreadSafeGenerator<E>
-
- com.rapiddweller.benerator.sample.AbstractSampleGenerator<E>
-
- com.rapiddweller.benerator.sample.SampleGenerator<E>
-
- com.rapiddweller.benerator.sample.NonNullSampleGenerator<Noun>
-
- com.rapiddweller.domain.lang.NounGenerator
-
- All Implemented Interfaces:
Generator<Noun>
,NonNullGenerator<Noun>
,com.rapiddweller.common.Resettable
,com.rapiddweller.common.ThreadAware
,java.io.Closeable
,java.lang.AutoCloseable
public class NounGenerator extends NonNullSampleGenerator<Noun>
- Since:
- 0.6.0
- Author:
- Volker Bergmann
-
-
Field Summary
-
Fields inherited from class com.rapiddweller.benerator.util.AbstractGenerator
context, logger, state
-
-
Constructor Summary
Constructors Constructor Description NounGenerator()
Instantiates a new Noun generator.NounGenerator(java.util.Locale locale)
Instantiates a new Noun generator.
-
Method Summary
-
Methods inherited from class com.rapiddweller.benerator.sample.NonNullSampleGenerator
generate
-
Methods inherited from class com.rapiddweller.benerator.sample.SampleGenerator
addValue, clear, close, contains, generate, generate, generate, getVariety, init, isUnique, reset, setUnique, toString
-
Methods inherited from class com.rapiddweller.benerator.sample.AbstractSampleGenerator
addValues, addValues, getGeneratedType, setValues, setValues
-
Methods inherited from class com.rapiddweller.benerator.util.ThreadSafeGenerator
isParallelizable, isThreadSafe
-
Methods inherited from class com.rapiddweller.benerator.util.AbstractGenerator
assertInitialized, assertNotInitialized, getResultWrapper, wasInitialized
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.rapiddweller.benerator.Generator
close, generate, getGeneratedType, init, wasInitialized
-
-
-
-
Constructor Detail
-
NounGenerator
public NounGenerator() throws java.io.IOException
Instantiates a new Noun generator.- Throws:
java.io.IOException
- the io exception
-
NounGenerator
public NounGenerator(java.util.Locale locale) throws java.io.IOException
Instantiates a new Noun generator.- Parameters:
locale
- the locale- Throws:
java.io.IOException
- the io exception
-
-