Package com.puppycrawl.tools.checkstyle
Class LocalizedMessage.Utf8Control
java.lang.Object
java.util.ResourceBundle.Control
com.puppycrawl.tools.checkstyle.LocalizedMessage.Utf8Control
- Enclosing class:
- LocalizedMessage
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
-
Method Summary
Modifier and TypeMethodDescriptionnewBundle
(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 Details
-
Utf8Control
public Utf8Control()
-
-
Method Details
-
newBundle
public ResourceBundle newBundle(String baseName, Locale locale, String format, ClassLoader loader, boolean reload) throws IOException - Overrides:
newBundle
in classResourceBundle.Control
- Throws:
IOException
-