On 16.09.2012, 16:35:16 Richard Eckart de Castilho wrote: Hi Richard,
thanks for your feedback. I'm not yet sure about this point: > Instead of scanning for subclasses, I'd suggest to define some location > in META-INF where language modules can declare themselves. E.g. a file > META-INF/org/languagetool/language-module.properties with a key/value > like "languageClass=org.languagetool.language.en.English". So there are several files of the same name in the classpath? But getResourceAsStream() will only return one. Or do you think is a a good use case for a ServiceLoader? http://docs.oracle.com/javase/6/docs/api/java/util/ServiceLoader.html Regards Daniel -- http://www.danielnaber.de ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://ad.doubleclick.net/clk;258768047;13503038;j? http://info.appdynamics.com/FreeJavaPerformanceDownload.html _______________________________________________ Languagetool-devel mailing list Languagetool-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/languagetool-devel