net.truelicense.core.auth.Messages Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of truelicense-core Show documentation
Show all versions of truelicense-core Show documentation
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() { }
}