Lines Matching defs:is
13 * software distributed under the License is distributed on an *
80 * @param is the stream to parse.
83 public void parse(InputStream is) throws IOException {
84 rootStream = new RootInputStream(is);
89 * Determines if this parser is currently in raw mode.
104 * including header fields and whatever is in the body.
133 * @param is the stream to parse.
136 private void parseEntity(InputStream is) throws IOException {
137 BodyDescriptor bd = parseHeader(is);
145 new MimeBoundaryInputStream(is, bd.getBoundary());
150 tempIs = new MimeBoundaryInputStream(is, bd.getBoundary());
165 handler.epilogue(new CloseShieldInputStream(is));
174 is = new EOLConvertingInputStream(
175 new Base64InputStream(is));
178 is = new EOLConvertingInputStream(
179 new QuotedPrintableInputStream(is));
182 parseMessage(is);
185 handler.body(bd, new CloseShieldInputStream(is));
191 while (is.read() != -1) {
195 private void parseMessage(InputStream is) throws IOException {
197 handler.raw(new CloseShieldInputStream(is));
200 parseEntity(is);
209 private void parseBodyPart(InputStream is) throws IOException {
211 handler.raw(new CloseShieldInputStream(is));
214 parseEntity(is);
222 * @param is the stream to parse.
226 private BodyDescriptor parseHeader(InputStream is) throws IOException {
237 while ((curr = is.read()) != -1) {