Class ClassPathI18nInitializer


  • public class ClassPathI18nInitializer
    extends I18nInitializer
    Implementation of a I18nInitializer using all i18n resources (from artifacts) discovered in classpath. Will scan all classpath. This class requires an URLClassLoader, otherwise an exception will be thrown. Note: No order can be predicted with this implementation on bundles.
    Since:
    1.1
    Author:
    Tony Chemit - chemit@codelutin.com
    • Field Detail

      • loader

        protected ClassLoader loader
        class loader to use (optional)
      • extraURLs

        protected URL[] extraURLs
    • Constructor Detail

      • ClassPathI18nInitializer

        public ClassPathI18nInitializer()
      • ClassPathI18nInitializer

        public ClassPathI18nInitializer​(ClassLoader loader)
      • ClassPathI18nInitializer

        public ClassPathI18nInitializer​(ClassLoader loader,
                                        URL[] extraURLs)