package org.jboss.resteasy.plugins.providers.multipart.i18n;

import java.util.Locale;
import org.jboss.resteasy.plugins.providers.multipart.MultipartOutput;
import org.apache.james.mime4j.stream.Field;
import javax.ws.rs.ext.MessageBodyReader;
import java.io.Serializable;
import java.lang.reflect.Type;
import javax.annotation.Generated;
import org.jboss.resteasy.plugins.providers.multipart.AbstractMultipartWriter;
import javax.ws.rs.core.MediaType;
import java.lang.Class;
import java.lang.String;

Warning this class consists of generated code.
/** * Warning this class consists of generated code. */
@Generated(value = "org.jboss.logging.processor.generator.model.MessageBundleImplementor", date = "2021-01-13T17:05:08-0500") public class Messages_$bundle implements Messages, Serializable { private static final long serialVersionUID = 1L; protected Messages_$bundle() {} public static final Messages_$bundle INSTANCE = new Messages_$bundle(); protected Object readResolve() { return INSTANCE; } private static final Locale LOCALE = Locale.ROOT; protected Locale getLoggingLocale() { return LOCALE; } protected String couldFindNoContentDispositionHeader$str() { return "RESTEASY007500: Could find no Content-Disposition header within part"; } @Override public final String couldFindNoContentDispositionHeader() { return String.format(getLoggingLocale(), couldFindNoContentDispositionHeader$str()); } protected String couldNotParseContentDisposition$str() { return "RESTEASY007505: Could not parse Content-Disposition for MultipartFormData: {0}"; } @Override public final String couldNotParseContentDisposition(final Field field) { return _formatMessage(couldNotParseContentDisposition$str(), field); } private String _formatMessage(final String format, final Object... args) { final java.text.MessageFormat formatter = new java.text.MessageFormat(format, getLoggingLocale()); return formatter.format(args, new StringBuffer(), new java.text.FieldPosition(0)).toString(); } protected String dataSourceRepresentsXopMessagePart$str() { return "RESTEASY007510: This DataSource represents an incoming xop message part. Getting an OutputStream on it is not allowed."; } @Override public final String dataSourceRepresentsXopMessagePart() { return String.format(getLoggingLocale(), dataSourceRepresentsXopMessagePart$str()); } protected String exceptionWhileExtractionAttachment$str() { return "RESTEASY007515: Exception while extracting attachment with cid = %s from xop message to a byte[]."; } @Override public final String exceptionWhileExtractionAttachment(final String cid) { return String.format(getLoggingLocale(), exceptionWhileExtractionAttachment$str(), cid); } protected String hadToWriteMultipartOutput$str() { return "RESTEASY007520: Had to write out multipartoutput = {0} with writer = {1} but this writer can only handle {2}"; } @Override public final String hadToWriteMultipartOutput(final MultipartOutput multipartOutput, final AbstractMultipartWriter writer, final Class<?> clazz) { return _formatMessage(hadToWriteMultipartOutput$str(), multipartOutput, writer, clazz); } protected String noAttachmentFound$str() { return "RESTEASY007525: No attachment with cid = {0} (Content-ID = {1}) found in xop message."; } @Override public final String noAttachmentFound(final String cid, final String contentId) { return _formatMessage(noAttachmentFound$str(), cid, contentId); } protected String notMeantForStandaloneUsage$str() { return "RESTEASY007530: This provider and this method are not meant for stand alone usage."; } @Override public final String notMeantForStandaloneUsage() { return String.format(getLoggingLocale(), notMeantForStandaloneUsage$str()); } protected String receivedGenericType$str() { return "RESTEASY007535: Reader = {0} received genericType = {1}, but it is not instance of {2}"; } @Override public final String receivedGenericType(final MessageBodyReader<?> reader, final Type genericType, final Class<?> clazz) { return _formatMessage(receivedGenericType$str(), reader, genericType, clazz); } protected String swaRefsNotSupported$str() { return "RESTEASY007540: SwaRefs are not supported in xop creation."; } @Override public final String swaRefsNotSupported() { return String.format(getLoggingLocale(), swaRefsNotSupported$str()); } protected String unableToFindMessageBodyReader$str() { return "RESTEASY007545: Unable to find a MessageBodyReader for media type: {0} and class type {1}"; } @Override public final String unableToFindMessageBodyReader(final MediaType mediaType, final String type) { return _formatMessage(unableToFindMessageBodyReader$str(), mediaType, type); } protected String unableToGetBoundary$str() { return "RESTEASY007550: Unable to get boundary for multipart"; } @Override public final String unableToGetBoundary() { return String.format(getLoggingLocale(), unableToGetBoundary$str()); } protected String urlDecoderDoesNotSupportUtf8$str() { return "RESTEASY007555: java.net.URLDecoder does not support UTF-8 encoding"; } @Override public final String urlDecoderDoesNotSupportUtf8() { return String.format(getLoggingLocale(), urlDecoderDoesNotSupportUtf8$str()); } protected String urlEncoderDoesNotSupportUtf8$str() { return "RESTEASY007560: java.net.URLEncoder does not support UTF-8 encoding"; } @Override public final String urlEncoderDoesNotSupportUtf8() { return String.format(getLoggingLocale(), urlEncoderDoesNotSupportUtf8$str()); } }