public static void main(String[] args)
	{
		if(args == null || args.length < 1)
		{
			System.err.println
	("usage: java org.mcuosmipcuter.dog4sql.text.RandomWordFactory <length> [allowed] [disallowed]");	
			System.exit(1);
		}
		String rw = "";
		try
		{
			if(args.length == 1)
				rw = getRandomWord(Integer.parseInt(args[0]));
			if(args.length == 2)
				rw = getRandomWord(Integer.parseInt(args[0]), args[1]);
			if(args.length == 3)
				rw = getRandomWord(Integer.parseInt(args[0]), args[1], args[2]);
		}
		catch(Exception e)
		{
			e.printStackTrace();			
		}	
		System.out.println("random word: " + rw);	
	}