org.databene.benerator.util
Class GeneratorUtil

java.lang.Object
  extended by org.databene.benerator.util.GeneratorUtil

public class GeneratorUtil
extends java.lang.Object

Provides utility methods for data generation.

Created: 19.11.2007 15:27:50

Author:
Volker Bergmann

Constructor Summary
GeneratorUtil()
           
 
Method Summary
static
<T> java.util.List<T>
allProducts(Generator<T> generator)
           
static
<T> java.lang.Class<T>
commonTargetTypeOf(Generator<T>... sources)
           
static void initAll(Generator<?>[] generators, GeneratorContext context)
           
static void initAll(NullableGenerator<?>[] generators, GeneratorContext context)
           
static boolean isBeneratorFile(java.lang.String localFilename)
           
static void resetAll(org.databene.commons.Resettable[] resettables)
           
static Generator<?> unwrap(Generator<?> generator)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GeneratorUtil

public GeneratorUtil()
Method Detail

isBeneratorFile

public static boolean isBeneratorFile(java.lang.String localFilename)

allProducts

public static <T> java.util.List<T> allProducts(Generator<T> generator)

commonTargetTypeOf

public static <T> java.lang.Class<T> commonTargetTypeOf(Generator<T>... sources)

initAll

public static void initAll(Generator<?>[] generators,
                           GeneratorContext context)

initAll

public static void initAll(NullableGenerator<?>[] generators,
                           GeneratorContext context)

resetAll

public static void resetAll(org.databene.commons.Resettable[] resettables)

unwrap

public static Generator<?> unwrap(Generator<?> generator)


Copyright © 2011. All Rights Reserved.