config.setMaxLineLen(-1);
config.setMaxHeaderLen(-1);
MimeTokenStream parser = new MimeTokenStream(config); parser.parse(input);
while (!result && parser.next() != EntityState.T_END_OF_STREAM) {
final EntityState state = parser.getState();
switch (state) {
case T_BODY:
case T_PREAMBLE:
case T_EPILOGUE:
result = checkBody(isCaseInsensitive, buffer, result,