Class 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>
    Generates Nouns of a given Locale.

    Created at 11.07.2009 19:29:22
    Since:
    0.6.0
    Author:
    Volker Bergmann
    • 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