[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]

ASCIIDecoder

inherits from Object
inherits from Stream
inherits from Reader
inherits from PartDecoder
inherits from TextPartDecoder

Object <- ASCIIDecoder



Operations

Get list of all operations

CanDecodePart
DoSeekReader
InvertingEncoder


Attributes

Get list of all attributes

DecoderPrecedence


Fields

Field Type
Stream: target: Object
Reader: readerBuffer: Buffer
start: Unsigned
lowPosition: Unsigned
highPosition: Unsigned
currentPosition: Unsigned
closed: Boolean
seekable: Boolean
intermittent: Boolean
PartDecoder: contentDecoder: Stream


Instance template

instance ASCIIDecoder tag;
         target: nilObject;
   readerBuffer: nilObject;
          start: 0;
    lowPosition: 0;
   highPosition: 0;
currentPosition: 0;
         closed: false;
       seekable: false;
   intermittent: false;
 contentDecoder: nilObject;
end instance;

Class definition

Define Class ASCIIDecoder;
    inherits from Object;
    inherits from Stream, Reader;
    inherits from PartDecoder;
    inherits from TextPartDecoder;

    overrides DoSeekReader;
        // fills the buffer with 16-bit chars extended from 8-bit chars in the target stream

    overrides CanDecodePart;
        // handles text with no charset, or charset=US-ASCII
        // handles parts with no declared type
    overrides DecoderPrecedence;
        // returns 0x40000000 so this will be the decoder of last resort
    overrides InvertingEncoder;
        // returns an ASCIIEncoder
end class;