List of usage examples for org.apache.commons.vfs2.util Messages getString
public static String getString(final String code)
From source file:org.onehippo.forge.content.exim.core.util.FileFilterDepthSelector.java
/** * Check if {@code fileInfo} is acceptable by using the internal filter. * @param fileInfo fileInfo/*w ww. ja v a2 s.co m*/ * @return true if {@code fileInfo} is acceptable by using the internal filter */ protected boolean accept(final FileSelectInfo fileInfo) { if (fileFilter != null) { return fileFilter.accept(fileInfo); } throw new IllegalArgumentException(Messages.getString("vfs.selectors/filefilter.missing.error")); }