equal
deleted
inserted
replaced
66 * |
66 * |
67 * Several useful encoders have already been written and are |
67 * Several useful encoders have already been written and are |
68 * referenced in the See Also list below. |
68 * referenced in the See Also list below. |
69 * |
69 * |
70 * @author Chuck McManis |
70 * @author Chuck McManis |
71 * @see CharacterDecoder; |
71 * @see CharacterDecoder |
72 * @see UCEncoder |
72 * @see UCEncoder |
73 * @see UUEncoder |
73 * @see UUEncoder |
74 * @see BASE64Encoder |
74 * @see BASE64Encoder |
75 */ |
75 */ |
76 public abstract class CharacterEncoder { |
76 public abstract class CharacterEncoder { |
105 throws IOException { |
105 throws IOException { |
106 } |
106 } |
107 |
107 |
108 /** |
108 /** |
109 * Encode the suffix that ends every output line. By default |
109 * Encode the suffix that ends every output line. By default |
110 * this method just prints a <newline> into the output stream. |
110 * this method just prints a newline into the output stream. |
111 */ |
111 */ |
112 protected void encodeLineSuffix(OutputStream aStream) throws IOException { |
112 protected void encodeLineSuffix(OutputStream aStream) throws IOException { |
113 pStream.println(); |
113 pStream.println(); |
114 } |
114 } |
115 |
115 |