Uses of Class
org.apache.james.mime4j.MimeException
Packages that use MimeException
Package
Description
-
Uses of MimeException in org.apache.james.mime4j
Methods in org.apache.james.mime4j that return MimeExceptionModifier and TypeMethodDescriptionMimeIOException.getCause()Returns theMimeExceptionthat caused thisMimeIOException.Constructors in org.apache.james.mime4j with parameters of type MimeExceptionModifierConstructorDescriptionMimeIOException(MimeException cause) Constructs an IO exception based onMimeException. -
Uses of MimeException in org.apache.james.mime4j.dom
Methods in org.apache.james.mime4j.dom that throw MimeExceptionModifier and TypeMethodDescriptionstatic MessageServiceFactoryMessageServiceFactory.newInstance()MessageBuilder.parseHeader(InputStream source) MessageBuilder.parseMessage(InputStream source) -
Uses of MimeException in org.apache.james.mime4j.dom.field
Subclasses of MimeException in org.apache.james.mime4j.dom.fieldModifier and TypeClassDescriptionclassThis exception is thrown when parse errors are encountered. -
Uses of MimeException in org.apache.james.mime4j.field
Methods in org.apache.james.mime4j.field that throw MimeExceptionModifier and TypeMethodDescriptionstatic ParsedFieldstatic ParsedFieldDefaultFieldParser.parse(String rawStr, DecodeMonitor monitor) Parses the given string and returns an instance of theParsedFieldclass.static ParsedFieldDefaultFieldParser.parse(ByteSequence raw, DecodeMonitor monitor) Parses the given byte sequence and returns an instance of theParsedFieldclass.static ParsedFieldParses the given string and returns an instance of theParsedFieldclass.static ParsedFieldLenientFieldParser.parse(String rawStr, DecodeMonitor monitor) Parses the given string and returns an instance of theFieldclass.static ParsedFieldLenientFieldParser.parse(ByteSequence raw, DecodeMonitor monitor) Parses the given byte sequence and returns an instance of theParsedFieldclass. -
Uses of MimeException in org.apache.james.mime4j.field.address
Subclasses of MimeException in org.apache.james.mime4j.field.addressModifier and TypeClassDescriptionclassThis exception is thrown when parse errors are encountered. -
Uses of MimeException in org.apache.james.mime4j.field.contentdisposition.parser
Subclasses of MimeException in org.apache.james.mime4j.field.contentdisposition.parserModifier and TypeClassDescriptionclassThis exception is thrown when parse errors are encountered. -
Uses of MimeException in org.apache.james.mime4j.field.contenttype.parser
Subclasses of MimeException in org.apache.james.mime4j.field.contenttype.parserModifier and TypeClassDescriptionclassThis exception is thrown when parse errors are encountered. -
Uses of MimeException in org.apache.james.mime4j.field.datetime.parser
Subclasses of MimeException in org.apache.james.mime4j.field.datetime.parserModifier and TypeClassDescriptionclassThis exception is thrown when parse errors are encountered. -
Uses of MimeException in org.apache.james.mime4j.field.language.parser
Subclasses of MimeException in org.apache.james.mime4j.field.language.parserModifier and TypeClassDescriptionclassThis exception is thrown when parse errors are encountered. -
Uses of MimeException in org.apache.james.mime4j.field.mimeversion.parser
Subclasses of MimeException in org.apache.james.mime4j.field.mimeversion.parserModifier and TypeClassDescriptionclassThis exception is thrown when parse errors are encountered. -
Uses of MimeException in org.apache.james.mime4j.field.structured.parser
Subclasses of MimeException in org.apache.james.mime4j.field.structured.parserModifier and TypeClassDescriptionclassThis exception is thrown when parse errors are encountered. -
Uses of MimeException in org.apache.james.mime4j.internal
Methods in org.apache.james.mime4j.internal that throw MimeExceptionModifier and TypeMethodDescriptionvoidParserStreamContentHandler.body(BodyDescriptor bd, InputStream is) voidParserStreamContentHandler.endBodyPart()voidParserStreamContentHandler.endHeader()voidParserStreamContentHandler.endMessage()voidParserStreamContentHandler.endMultipart()voidParserStreamContentHandler.epilogue(InputStream is) voidvoidParserStreamContentHandler.preamble(InputStream is) voidParserStreamContentHandler.raw(InputStream is) Unsupported.voidParserStreamContentHandler.startBodyPart()voidParserStreamContentHandler.startHeader()voidParserStreamContentHandler.startMessage()voidParserStreamContentHandler.startMultipart(BodyDescriptor bd) -
Uses of MimeException in org.apache.james.mime4j.io
Subclasses of MimeException in org.apache.james.mime4j.ioModifier and TypeClassDescriptionclassSignals a I/O error due to the total header length exceeding the maximum limit.classSignals a I/O error due to the header count exceeding the maximum limit. -
Uses of MimeException in org.apache.james.mime4j.message
Methods in org.apache.james.mime4j.message that throw MimeException -
Uses of MimeException in org.apache.james.mime4j.parser
Methods in org.apache.james.mime4j.parser that throw MimeExceptionModifier and TypeMethodDescriptionvoidAbstractContentHandler.body(BodyDescriptor bd, InputStream is) voidContentHandler.body(BodyDescriptor bd, InputStream is) Called when the body of a discrete (non-multipart) entity is about to be parsed.voidAbstractContentHandler.endBodyPart()voidContentHandler.endBodyPart()Called when a body part ends.voidAbstractContentHandler.endHeader()voidContentHandler.endHeader()Called when there are no more header fields in a message or body part.voidAbstractContentHandler.endMessage()voidContentHandler.endMessage()Called when a message ends.voidAbstractContentHandler.endMultipart()voidContentHandler.endMultipart()Called when the body of an entity has been parsed.voidAbstractContentHandler.epilogue(InputStream is) voidContentHandler.epilogue(InputStream is) Called for the epilogue (whatever comes after the final body part) of amultipart/*entity.voidvoidCalled for each field of a header.voidMimeStreamParser.parse(InputStream instream) Parses a stream of bytes containing a MIME message.voidAbstractContentHandler.preamble(InputStream is) voidContentHandler.preamble(InputStream is) Called for the preamble (whatever comes before the first body part) of amultipart/*entity.voidAbstractContentHandler.raw(InputStream is) voidContentHandler.raw(InputStream is) Called when a new entity (message or body part) starts and the parser is inrawmode.voidAbstractContentHandler.startBodyPart()voidContentHandler.startBodyPart()Called when a new body part starts inside amultipart/*entity.voidAbstractContentHandler.startHeader()voidContentHandler.startHeader()Called when a header (of a message or body part) is about to be parsed.voidAbstractContentHandler.startMessage()voidContentHandler.startMessage()Called when a new message starts (a top level message or an embedded rfc822 message).voidAbstractContentHandler.startMultipart(BodyDescriptor bd) voidContentHandler.startMultipart(BodyDescriptor bd) Called when the body of a multipart entity is about to be parsed. -
Uses of MimeException in org.apache.james.mime4j.samples.mbox
Methods in org.apache.james.mime4j.samples.mbox that throw MimeExceptionModifier and TypeMethodDescriptionprivate static StringIterateOverMbox.messageSummary(InputStream messageBytes) Parse a message and return a simpleStringrepresentation of some important fields. -
Uses of MimeException in org.apache.james.mime4j.stream
Subclasses of MimeException in org.apache.james.mime4j.streamModifier and TypeClassDescriptionclassIndicates that strict parsing has been enabled and an optional invality has been found in the input.Methods in org.apache.james.mime4j.stream that throw MimeExceptionModifier and TypeMethodDescriptionUpdates builder's internal state by adding a new field.Should be called for eachContent-header field of a MIME message or part.EntityStateMachine.advance()Advances the state machine to the next state in the process of the MIME stream parsing.MimeEntity.advance()voidFieldBuilder.append(ByteArrayBuffer line) Updates builder's internal state by adding a new line of text.DefaultFieldBuilder.build()FieldBuilder.build()Builds an instance ofRawFieldbased on the internal state.private voidMimeEntity.createMimePartStream()protected voidMimeTokenStream.next()This method advances the token stream to the next token.protected booleanMimeEntity.nextField()private voidFallbackBodyDescriptorBuilder.parseContentType(Field field) RawFieldParser.parseField(ByteSequence raw) Parses the sequence of bytes intoRawField.private voidMimeEntity.readRawField() -
Uses of MimeException in org.apache.james.mime4j.utils.search
Methods in org.apache.james.mime4j.utils.search that throw MimeExceptionModifier and TypeMethodDescriptionprotected voidprivate booleanMessageMatcher.matchBufferInMailBeingMimeAware(InputStream input, CharBuffer buffer) booleanMessageMatcher.messageMatches(InputStream input) Is searchContents found in the given input?