Package com.puppycrawl.tools.checkstyle
Class LocalizedMessage.Utf8Control
- java.lang.Object
-
- java.util.ResourceBundle.Control
-
- com.puppycrawl.tools.checkstyle.LocalizedMessage.Utf8Control
-
- Enclosing class:
- LocalizedMessage
public static class LocalizedMessage.Utf8Control extends ResourceBundle.Control
Custom ResourceBundle.Control implementation which allows explicitly read the properties files as UTF-8.
-
-
Field Summary
-
Fields inherited from class java.util.ResourceBundle.Control
FORMAT_CLASS, FORMAT_DEFAULT, FORMAT_PROPERTIES, TTL_DONT_CACHE, TTL_NO_EXPIRATION_CONTROL
-
-
Constructor Summary
Constructors Constructor Description Utf8Control()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ResourceBundle
newBundle(String baseName, Locale locale, String format, ClassLoader loader, boolean reload)
-
Methods inherited from class java.util.ResourceBundle.Control
getCandidateLocales, getControl, getFallbackLocale, getFormats, getNoFallbackControl, getTimeToLive, needsReload, toBundleName, toResourceName
-
-
-
-
Constructor Detail
-
Utf8Control
public Utf8Control()
-
-
Method Detail
-
newBundle
public ResourceBundle newBundle(String baseName, Locale locale, String format, ClassLoader loader, boolean reload) throws IOException
- Overrides:
newBundle
in classResourceBundle.Control
- Throws:
IOException
-
-