[operations] [attributes] [fields] [template] [definition]
[implementation] [documentation]
To use the search tool you need to use a browser which supports JAVA (c)

[next] [prev] [superclass] [next peer] [prev peer] [subclass] [index] [hierarchy]

ASCIIEncoder

inherits from Object
inherits from PartEncoder
inherits from TextPartEncoder

Object <- ASCIIEncoder



Operations

Get list of all operations

CanEncodePart
ContentTypeForPart
EncodePart
PreferredTransferEncoder


Attributes

Get list of all attributes

EncoderPrecedence


Fields

No fields are defined by ASCIIEncoder or any of its superclasses.


Instance template

instance ASCIIEncoder tag;
end instance;

Class definition

Define Class ASCIIEncoder;
    inherits from Object;
    inherits from PartEncoder;
    inherits from TextPartEncoder;

    overrides CanEncodePart;
        // requires the part to be all-ASCII
    overrides ContentTypeForPart;
        // adds "charset=US-ASCII"
    overrides EncodePart;
        // writes the text as 8-bit chars to the target stream
    overrides PreferredTransferEncoder;
        // returns nilObject if no transfer encoding is needed
        // otherwise returns iQuotedPrintableEncoder
    overrides EncoderPrecedence;
        // returns -0x40000000 so this will be the encoder of first resort
end class;