return doesImplement(writerClass, "tiled.io.MapWriter");
}
private void _add(Class klass) throws Exception{
try {
PluggableMapIO p = (PluggableMapIO) klass.newInstance();
String clname = klass.toString();
clname = clname.substring(clname.indexOf(' ') + 1);
String filter = p.getFilter();
String[] extensions = filter.split(",");
if (isReader(klass)) {
for (String extension : extensions) {
readerFormats.put(extension, clname);