All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.sun.xml.wss.core.LogStringsMessages Maven / Gradle / Ivy

The newest version!

package com.sun.xml.wss.core;

import java.util.Locale;
import java.util.ResourceBundle;
import com.sun.istack.localization.LocalizableMessageFactory;
import com.sun.istack.localization.LocalizableMessageFactory.ResourceBundleSupplier;
import com.sun.istack.localization.Localizer;


/**
 * Defines string formatting method for each constant in the resource file
 * 
 */
public final class LogStringsMessages {

    private static final String BUNDLE_NAME = "com.sun.xml.wss.core.LogStrings";
    private static final LocalizableMessageFactory MESSAGE_FACTORY = new LocalizableMessageFactory(BUNDLE_NAME, new LogStringsMessages.BundleSupplier());
    private static final Localizer LOCALIZER = new Localizer();

    private LogStringsMessages() {
    }

    private static class BundleSupplier
        implements ResourceBundleSupplier
    {


        public ResourceBundle getResourceBundle(Locale locale) {
            return ResourceBundle.getBundle(BUNDLE_NAME, locale);
        }

    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy