Uses of Class
com.puppycrawl.tools.checkstyle.checks.TranslationCheck.ResourceBundle
Packages that use TranslationCheck.ResourceBundle
Package
Description
Contains the checks that are bundled with the main distribution.
-
Uses of TranslationCheck.ResourceBundle in com.puppycrawl.tools.checkstyle.checks
Methods in com.puppycrawl.tools.checkstyle.checks that return types with arguments of type TranslationCheck.ResourceBundleModifier and TypeMethodDescriptionprivate static Optional<TranslationCheck.ResourceBundle>
TranslationCheck.findBundle
(Set<TranslationCheck.ResourceBundle> bundles, TranslationCheck.ResourceBundle targetBundle) Searches for specific resource bundle in a set of resource bundles.private static Set<TranslationCheck.ResourceBundle>
TranslationCheck.groupFilesIntoBundles
(Set<File> files, Pattern baseNameRegexp) Groups a set of files into bundles.Methods in com.puppycrawl.tools.checkstyle.checks with parameters of type TranslationCheck.ResourceBundleModifier and TypeMethodDescriptionprivate void
TranslationCheck.checkExistenceOfDefaultTranslation
(TranslationCheck.ResourceBundle bundle) Checks an existence of default translation file in the resource bundle.private void
TranslationCheck.checkExistenceOfRequiredTranslations
(TranslationCheck.ResourceBundle bundle) Checks an existence of translation files in the resource bundle.private void
TranslationCheck.checkTranslationKeys
(TranslationCheck.ResourceBundle bundle) Checks resource files in bundle for consistency regarding their keys.private static Optional<TranslationCheck.ResourceBundle>
TranslationCheck.findBundle
(Set<TranslationCheck.ResourceBundle> bundles, TranslationCheck.ResourceBundle targetBundle) Searches for specific resource bundle in a set of resource bundles.TranslationCheck.getMissingFileName
(TranslationCheck.ResourceBundle bundle, String languageCode) Returns the name of translation file which is absent in resource bundle or Guava's Optional, if there is not missing translation.Method parameters in com.puppycrawl.tools.checkstyle.checks with type arguments of type TranslationCheck.ResourceBundleModifier and TypeMethodDescriptionprivate static Optional<TranslationCheck.ResourceBundle>
TranslationCheck.findBundle
(Set<TranslationCheck.ResourceBundle> bundles, TranslationCheck.ResourceBundle targetBundle) Searches for specific resource bundle in a set of resource bundles.