- List<String> both = new ArrayList<String>();
- String[] readable = FormatAdapter.READABLE_FORMATS;
- List<String> writeable = Arrays.asList(FormatAdapter.WRITEABLE_FORMATS);
- for (String r : readable)
+ List<FileFormatI> both = new ArrayList<FileFormatI>();
+ for (FileFormatI format : FileFormats.getInstance().getFormats())