prettyifyInputFormats property
Implementation
String get prettyifyInputFormats {
StringBuffer buffer = StringBuffer();
for (int i = 0; i < inputFormats.length; i++) {
FileFormat f = inputFormats[i];
for (int j = 0; j < f.validExtensions.length; j++) {
buffer.write("*.${f.validExtensions[j]}");
if (!(i == inputFormats.length - 1 && j == f.validExtensions.length - 1)) {
buffer.write(", ");
}
}
}
return buffer.toString();
}