public void DumpAPIUsageData( AbstractApi api, String outFile )
	{
		try 
		{
			FileWriter fw = new FileWriter(outFile);
		
			for( PackageElem pack : api.Packages )
			{
				for( ClassElem klass : pack.Classes )
				{
					for( Integer id : klass.AnswerIds )
					{
						fw.write( join( new String[]{"class", pack.Name +":" +klass.Name, "answer", id+""}, ","));
						fw.write("\n");
					}
					for( Integer id : klass.QuestionIds )
					{
						fw.write( join( new String[]{"class", pack.Name +":" +klass.Name, "question", id+""}, ","));
						fw.write("\n");
					}
					
					for( MethodElem meth : klass.Methods )
					{
						for( Integer id : klass.AnswerIds )
						{
							fw.write( join( new String[]{"method", pack.Name +":" + klass.Name + ":" + meth.Name, "answer", id+""}, ","));
							fw.write("\n");
						}
						for( Integer id : klass.QuestionIds )
						{
							fw.write( join( new String[]{"method", pack.Name +":" + klass.Name + ":" + meth.Name, "question", id+""}, ","));
							fw.write("\n");
						}
					}
				}
			}
		
			
			fw.close();
		} 
		catch (IOException e) 
		{
			e.printStackTrace();
		}
	}