equal
deleted
inserted
replaced
86 */ |
86 */ |
87 |
87 |
88 public abstract class CharacterDecoder { |
88 public abstract class CharacterDecoder { |
89 |
89 |
90 /** Return the number of bytes per atom of decoding */ |
90 /** Return the number of bytes per atom of decoding */ |
91 abstract protected int bytesPerAtom(); |
91 protected abstract int bytesPerAtom(); |
92 |
92 |
93 /** Return the maximum number of bytes that can be encoded per line */ |
93 /** Return the maximum number of bytes that can be encoded per line */ |
94 abstract protected int bytesPerLine(); |
94 protected abstract int bytesPerLine(); |
95 |
95 |
96 /** decode the beginning of the buffer, by default this is a NOP. */ |
96 /** decode the beginning of the buffer, by default this is a NOP. */ |
97 protected void decodeBufferPrefix(PushbackInputStream aStream, OutputStream bStream) throws IOException { } |
97 protected void decodeBufferPrefix(PushbackInputStream aStream, OutputStream bStream) throws IOException { } |
98 |
98 |
99 /** decode the buffer suffix, again by default it is a NOP. */ |
99 /** decode the buffer suffix, again by default it is a NOP. */ |