public static void writeConfigFile(OutputStream outputStream,File searchDir) throws SQLException, IOException {
  List<Class<?>> classList=new ArrayList<Class<?>>();
  findAnnotatedClasses(classList,searchDir,0);
  writeConfigFile(outputStream,classList.toArray(new Class[classList.size()]));
}

public static void writeConfigFile ( OutputStream outputStream , File searchDir ) throws SQLException , IOException { List < Class < ? > > classList = new ArrayList < Class < ? > > ( ) ; findAnnotatedClasses ( classList , searchDir , 0 ) ; writeConfigFile ( outputStream , classList . toArray ( new Class [ classList . size ( ) ] ) ) ; }
write a configuration file to an output stream with the configuration for classes .
