fedora.oai.sample
Class RandomDCMetadataFactory

java.lang.Object
  extended by fedora.oai.sample.RandomDCMetadataFactory

public class RandomDCMetadataFactory
extends java.lang.Object

Title: RandomDCmetadataFactory.java

Description:

Version:
$Id: RandomDCMetadataFactory.java 3965 2005-04-21 12:52:40Z rlw $
Author:
cwilper@cs.cornell.edu

Constructor Summary
RandomDCMetadataFactory(java.io.File dictionaryFile)
           
 
Method Summary
 java.lang.String get(int repeatMax, int wordMax)
           
static java.lang.String get(int repeatMax, int wordMax, java.util.List wordList)
           
static int getRandom(int belowThis)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RandomDCMetadataFactory

public RandomDCMetadataFactory(java.io.File dictionaryFile)
                        throws java.io.IOException
Throws:
java.io.IOException
Method Detail

get

public java.lang.String get(int repeatMax,
                            int wordMax)

get

public static java.lang.String get(int repeatMax,
                                   int wordMax,
                                   java.util.List wordList)

getRandom

public static int getRandom(int belowThis)