Uses of Interface
org.apache.james.mime4j.util.ByteSequence
-
-
Uses of ByteSequence in org.apache.james.mime4j.field
Methods in org.apache.james.mime4j.field that return ByteSequence Modifier and Type Method Description ByteSequenceAbstractField. getRaw()Gets original (raw) representation of the field, if available,nullotherwise.Methods in org.apache.james.mime4j.field with parameters of type ByteSequence Modifier and Type Method Description static ParsedFieldDefaultFieldParser. parse(ByteSequence raw, DecodeMonitor monitor)Parses the given byte sequence and returns an instance of theParsedFieldclass.static ParsedFieldLenientFieldParser. parse(ByteSequence raw, DecodeMonitor monitor)Parses the given byte sequence and returns an instance of theParsedFieldclass. -
Uses of ByteSequence in org.apache.james.mime4j.field.address
Methods in org.apache.james.mime4j.field.address with parameters of type ByteSequence Modifier and Type Method Description AddressLenientAddressParser. parseAddress(ByteSequence buf, ParserCursor cursor, java.util.BitSet delimiters)AddressListLenientAddressParser. parseAddressList(ByteSequence buf, ParserCursor cursor)(package private) java.lang.StringLenientAddressParser. parseDomain(ByteSequence buf, ParserCursor cursor, java.util.BitSet delimiters)GroupLenientAddressParser. parseGroup(ByteSequence buf, ParserCursor cursor)MailboxLenientAddressParser. parseMailbox(ByteSequence buf, ParserCursor cursor, java.util.BitSet delimiters)(package private) MailboxLenientAddressParser. parseMailboxAddress(java.lang.String openingText, ByteSequence buf, ParserCursor cursor)(package private) java.util.List<Mailbox>LenientAddressParser. parseMailboxes(ByteSequence buf, ParserCursor cursor, java.util.BitSet delimiters)(package private) DomainListLenientAddressParser. parseRoute(ByteSequence buf, ParserCursor cursor, java.util.BitSet delimiters) -
Uses of ByteSequence in org.apache.james.mime4j.internal
Methods in org.apache.james.mime4j.internal that return ByteSequence Modifier and Type Method Description private static ByteSequenceParserStreamContentHandler. loadStream(java.io.InputStream in) -
Uses of ByteSequence in org.apache.james.mime4j.message
Fields in org.apache.james.mime4j.message declared as ByteSequence Modifier and Type Field Description private ByteSequenceMultipartImpl. epilogueprivate ByteSequenceMultipartImpl. preambleMethods in org.apache.james.mime4j.message that return ByteSequence Modifier and Type Method Description private ByteSequenceDefaultMessageWriter. getBoundary(ContentTypeField contentType)ByteSequenceMultipartImpl. getEpilogueRaw()ByteSequenceMultipartImpl. getPreambleRaw()Methods in org.apache.james.mime4j.message with parameters of type ByteSequence Modifier and Type Method Description voidMultipartImpl. setEpilogueRaw(ByteSequence epilogue)voidMultipartImpl. setPreambleRaw(ByteSequence preamble)private voidDefaultMessageWriter. writeBytes(ByteSequence byteSequence, java.io.OutputStream out) -
Uses of ByteSequence in org.apache.james.mime4j.stream
Fields in org.apache.james.mime4j.stream declared as ByteSequence Modifier and Type Field Description private ByteSequenceRawField. rawMethods in org.apache.james.mime4j.stream that return ByteSequence Modifier and Type Method Description ByteSequenceField. getRaw()Gets original (raw) representation of the field, if available,nullotherwise.ByteSequenceRawField. getRaw()Methods in org.apache.james.mime4j.stream with parameters of type ByteSequence Modifier and Type Method Description voidRawFieldParser. copyContent(ByteSequence buf, ParserCursor cursor, java.util.BitSet delimiters, java.lang.StringBuilder dst)Transfers content into the destination buffer until a whitespace character, a comment, or any of the given delimiters is encountered.voidRawFieldParser. copyQuotedContent(ByteSequence buf, ParserCursor cursor, java.lang.StringBuilder dst)Transfers content enclosed with quote marks into the destination buffer.voidRawFieldParser. copyUnquotedContent(ByteSequence buf, ParserCursor cursor, java.util.BitSet delimiters, java.lang.StringBuilder dst)Transfers content into the destination buffer until a whitespace character, a comment, a quote, or any of the given delimiters is encountered.RawFieldRawFieldParser. parseField(ByteSequence raw)Parses the sequence of bytes intoRawField.NameValuePairRawFieldParser. parseParameter(ByteSequence buf, ParserCursor cursor)Parses the sequence of bytes containing a field parameter delimited with semicolon intoNameValuePair.java.util.List<NameValuePair>RawFieldParser. parseParameters(ByteSequence buf, ParserCursor cursor)Parses the sequence of bytes containing field parameters delimited with semicolon into a list ofNameValuePairs.RawBodyRawFieldParser. parseRawBody(ByteSequence buf, ParserCursor cursor)Parses the sequence of bytes containing a value with parameters intoRawBody.java.lang.StringRawFieldParser. parseToken(ByteSequence buf, ParserCursor cursor, java.util.BitSet delimiters)Extracts from the sequence of bytes a token terminated with any of the given delimiters discarding semantically insignificant whitespace characters and comments.private java.lang.StringRawFieldParser. parseUtf8Filename(ByteSequence buf)Special case for parsingfilenameattribute in nonstandard encoding like:Content-Disposition: attachment; filename="УПД ОБЩЕСТВО С ОГРАНИЧЕННОЙ ОТВЕТСТВЕННОСТЬЮ "СТАНЦИЯ ВИРТУАЛЬНАЯ" 01-05-21.pdf"java.lang.StringRawFieldParser. parseValue(ByteSequence buf, ParserCursor cursor, java.util.BitSet delimiters)Extracts from the sequence of bytes a value which can be enclosed in quote marks and terminated with any of the given delimiters discarding semantically insignificant whitespace characters and comments.voidRawFieldParser. skipAllWhiteSpace(ByteSequence buf, ParserCursor cursor)Skips semantically insignificant whitespace characters and comments and moves the cursor to the closest semantically significant non-whitespace character.voidRawFieldParser. skipComment(ByteSequence buf, ParserCursor cursor)Skips semantically insignificant content if the current position is positioned at the beginning of a comment and moves the cursor past the end of the comment.voidRawFieldParser. skipWhiteSpace(ByteSequence buf, ParserCursor cursor)Skips semantically insignificant whitespace characters and moves the cursor to the closest non-whitespace character.Constructors in org.apache.james.mime4j.stream with parameters of type ByteSequence Constructor Description RawField(ByteSequence raw, int delimiterIdx, java.lang.String name, java.lang.String body) -
Uses of ByteSequence in org.apache.james.mime4j.util
Classes in org.apache.james.mime4j.util that implement ByteSequence Modifier and Type Class Description classByteArrayBufferA resizable byte array.(package private) classEmptyByteSequenceclassRecycledByteArrayBufferA resizable byte array.Fields in org.apache.james.mime4j.util declared as ByteSequence Modifier and Type Field Description static ByteSequenceByteSequence. EMPTYAn empty byte sequence.Methods in org.apache.james.mime4j.util that return ByteSequence Modifier and Type Method Description static ByteSequenceContentUtil. encode(java.lang.CharSequence string)Encodes the specified string into an immutable sequence of bytes using the US-ASCII charset.static ByteSequenceContentUtil. encode(java.nio.charset.Charset charset, java.lang.CharSequence string)Encodes the specified string into an immutable sequence of bytes using the specified charset.Methods in org.apache.james.mime4j.util with parameters of type ByteSequence Modifier and Type Method Description static java.lang.StringContentUtil. decode(java.nio.charset.Charset charset, ByteSequence byteSequence)Decodes the specified sequence of bytes into a string using the specified charset.static java.lang.StringContentUtil. decode(java.nio.charset.Charset charset, ByteSequence byteSequence, int offset, int length)Decodes a sub-sequence of the specified sequence of bytes into a string using the specified charset.static java.lang.StringContentUtil. decode(ByteSequence byteSequence)Decodes the specified sequence of bytes into a string using the US-ASCII charset.static java.lang.StringContentUtil. decode(ByteSequence byteSequence, int offset, int length)Decodes a sub-sequence of the specified sequence of bytes into a string using the US-ASCII charset.static java.lang.StringContentUtil. decode(ByteSequence byteSequence, int offset, int length, java.nio.charset.Charset charset)Decodes a sub-sequence of the specified sequence of bytes into a string using the US-ASCII charset with falling back toContentUtil.decode(Charset, ByteSequence, int, int)on a first non US-ASCII character.static booleanCharsetUtil. isASCII(ByteSequence raw)Returnstrueif the specified byte array consists entirely of US ASCII characters.
-