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

net.truelicense.core.auth.Messages Maven / Gradle / Ivy

Go to download

The TrueLicense Core module provides essential functionality for license management.

The newest version!
/*
 * Copyright (C) 2005-2017 Schlichtherle IT Services.
 * All rights reserved. Use is subject to license terms.
 */

package net.truelicense.core.auth;

import net.truelicense.api.i18n.Message;
import net.truelicense.spi.i18n.FormattedMessage;

/**
 * Defines message keys in the resource bundle for this package.
 * This class is immutable.
 *
 * @author Christian Schlichtherle
 */
final class Messages {

    private static final Class BASE_CLASS = Messages.class;

    static Message message(String key, Object... args) {
        return new FormattedMessage(BASE_CLASS, key, args);
    }

    private Messages() { }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy