} else if (PROFILE_PARAM.equalsIgnoreCase(param)) {
System.out.println("Available Profiles");
ArrayList profiles = Config.getInstance().getAvailableProfiles();
Iterator it = profiles.iterator();
while (it.hasNext()) {
Profile p = (Profile) it.next();
System.out.println(" Profile:");
System.out.println(" Name: " + p.getName());
System.out.println(" Input Directory: "
+ p.getInputDirectory());
System.out.println(" Log Directory: " + p.getLogDirectory());
System.out.println(" Adapters switched on:");
Iterator adapters = p.getAdapterClasses();
while (adapters.hasNext()) {
String adClass = (String) adapters.next();
DataAdapter da = AdapterFactory.getInstance().getAdapter(
adClass);
if (da != null) {