Use "MIME" instead of "mime" in Javadocs, MIME is an acronym.

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk@1524494 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Gary D. Gregory 2013-09-18 17:13:02 +00:00
parent e944db6738
commit 613ef11aaf
5 changed files with 9 additions and 9 deletions

View File

@ -51,7 +51,7 @@ public class HttpMultipart extends AbstractMultipartForm {
/**
* Creates an instance with the specified settings.
*
* @param subType mime subtype - must not be {@code null}
* @param subType MIME subtype - must not be {@code null}
* @param charset the character set to use. May be {@code null},
* in which case {@link MIME#DEFAULT_CHARSET} - i.e. US-ASCII - is used.
* @param boundary to use - must not be {@code null}
@ -70,7 +70,7 @@ public class HttpMultipart extends AbstractMultipartForm {
* Creates an instance with the specified settings.
* Mode is set to {@link HttpMultipartMode#STRICT}
*
* @param subType mime subtype - must not be {@code null}
* @param subType MIME subtype - must not be {@code null}
* @param charset the character set to use. May be {@code null},
* in which case {@link MIME#DEFAULT_CHARSET} - i.e. US-ASCII - is used.
* @param boundary to use - must not be {@code null}

View File

@ -100,7 +100,7 @@ abstract class AbstractMultipartForm {
/**
* Creates an instance with the specified settings.
*
* @param subType mime subtype - must not be {@code null}
* @param subType MIME subtype - must not be {@code null}
* @param charset the character set to use. May be {@code null}, in which case {@link MIME#DEFAULT_CHARSET} - i.e. US-ASCII - is used.
* @param boundary to use - must not be {@code null}
* @throws IllegalArgumentException if charset is null or boundary is null

View File

@ -62,7 +62,7 @@ class HttpStrictMultipart extends AbstractMultipartForm {
final FormBodyPart part,
final OutputStream out) throws IOException {
// For strict, we output all fields with mime-standard encoding.
// For strict, we output all fields with MIME-standard encoding.
final Header header = part.getHeader();
for (final MinimalField field: header) {
writeField(field, out);

View File

@ -56,7 +56,7 @@ public class ByteArrayBody extends AbstractContentBody {
* Creates a new ByteArrayBody.
*
* @param data The contents of the file contained in this part.
* @param mimeType The mime type of the file contained in this part.
* @param mimeType The MIME type of the file contained in this part.
* @param filename The name of the file contained in this part.
*
* @deprecated (4.3) use {@link ByteArrayBody#ByteArrayBody(byte[], ContentType, String)}

View File

@ -95,10 +95,10 @@ public class StringBody extends AbstractContentBody {
}
/**
* Create a StringBody from the specified text, mime type and character set.
* Create a StringBody from the specified text, MIME type and character set.
*
* @param text to be used for the body, not {@code null}
* @param mimeType the mime type, not {@code null}
* @param mimeType the MIME type, not {@code null}
* @param charset the character set, may be {@code null}, in which case the US-ASCII charset is used
* @throws UnsupportedEncodingException
* @throws IllegalArgumentException if the {@code text} parameter is null
@ -116,7 +116,7 @@ public class StringBody extends AbstractContentBody {
/**
* Create a StringBody from the specified text and character set.
* The mime type is set to "text/plain".
* The MIME type is set to "text/plain".
*
* @param text to be used for the body, not {@code null}
* @param charset the character set, may be {@code null}, in which case the US-ASCII charset is used
@ -133,7 +133,7 @@ public class StringBody extends AbstractContentBody {
/**
* Create a StringBody from the specified text.
* The mime type is set to "text/plain".
* The MIME type is set to "text/plain".
* The {@linkplain Consts#ASCII ASCII} charset is used.
*
* @param text to be used for the body, not {@code null}