@Override protected InputStream getLocaleStream(LocaleSuffix locale) throws IOException { String filename = locale.getFileName("labels", ".properties"); InputStream stream = EditorLabels.class.getResourceAsStream(filename); if (stream == null) { throw new FileNotFoundException(filename); } return stream; } }
@Override protected InputStream getLocaleStream(LocaleSuffix locale) throws IOException { String filename = locale.getFileName("labels", ".properties"); InputStream inputStream = getClass().getResourceAsStream(filename); return inputStream; }
@Override protected InputStream getLocaleStream(LocaleSuffix locale) throws IOException { String filename = locale.getFileName("labels", ".properties"); InputStream stream = ExceptionLabels.class.getResourceAsStream(filename); if (stream == null) { throw new FileNotFoundException(filename); } return stream; } }