| Home >> All >> com >> lutris >> [ mime Javadoc ] |
| | com.lutris.mime.tests.* (4) |
com.lutris.mime: Javadoc index of package com.lutris.mime.
Package Samples:
com.lutris.mime.tests
Classes:
ContentHeader: Parses and represents Mime header fields that have the form of the Content-Type header as defined in RFC2045 Section 5.1 Page 11. The format of these headers is informally: : [ ; ... ] Examples: Content-Type: application/octet-stream Content-Type: multipart/form-data; boundary="---123456" Content-Disposition: form-data; name=upload; filename="/tmp/myfile" In addition to the actual header syntax, RFC822 header comments are allowed. Such comments consist of text enclosed in parentheses.
MultipartMimeInputStream: Presents the current section of a multipart MIME stream as a distinct InputStream object for which the end of the section is the end of the stream. MIME headers for the current section are extracted, parsed, and made available via the getMimeHeaders() method. The stream itself begins at the first byte following the Mime header section. Closing an instance of MultipartMimeInputStream causes it to skip data on the underlying input stream until the next section is found, or end-of-input is reached.
MimeHeader: Represents a generic parsed Mime header. Specific header types, such as Content-Type are represented by classes derived from this header. The constructor for this class parses only parameters according to the rules specified in RFC2045 Section 5.1 Page 11. It is left to derived classes to parse type-specifiec information such as the Mime type ( Content-Type ) or content disposition ( Content-Disposition ).
Stdin: Standalone test to allow testing and debugging using arbitrary multipart Mime streams piped to stdin. No global Mime headers are expected at the beginning of input. The first line of the input must always be the full Content-Type field which describes the multipart Mime input that follows from the next line on.
MimeEOFException: Exception to indicate that an attempt was made to read beyond the end of a Multipart/Form-Data input stream. This is an internally caught exception and is never thrown outside MultipartForm or MultipartFormStream .
MimeException: Public exception class to indicate an error in Mime data. This is never thrown by MultiparMimeInputStream since that class needs to look exactly like an InputStream .
MultipartMimeInput: Presents an incoming Multipart MIME message as a series of distinct MultipartMimeInputStream streams.
Main: Class that runs all tests in this directory.
MultipartMimeInputTests: Tests for MultipartMimeInput object.
MimeHeaderTests: Tests for KeywordValue Table.
TestInputStream
RandomInputStream
| Home | Contact Us | Privacy Policy | Terms of Service |