/**
* Load from preferences file.
*/
private void loadPrefs() {
try {
XMLBeanReader doc = new XMLBeanReader();
File prefFile = PreferenceUtil.getPreferenceFileToReadFrom(plugin);
doc.load(prefFile, _prefs.getClass().getClassLoader());
Iterator<Object> it = doc.iterator();
if (it.hasNext()) {
_prefs = (IQueryTokenizerPreferenceBean)it.next();
}
} catch (FileNotFoundException ignore) {