Package org.apache.tools.ant.util
Class UUEncoder
java.lang.Object
org.apache.tools.ant.util.UUEncoder
UUEncoding of an input stream placed into an OutputStream.
 This class is meant to be a drop in replacement for
 sun.misc.UUEncoder, which was previously used by Ant.
 The uuencode algorithm code has been copied from the
 geronimo project.
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidencode(InputStream is, OutputStream out) UUEncode bytes from the input stream, and write them as text characters to the output stream.
- 
Field Details- 
DEFAULT_MODEprotected static final int DEFAULT_MODE- See Also:
 
 
- 
- 
Constructor Details- 
UUEncoderConstructor specifying a name for the encoded buffer, begin line will be:begin 644 [NAME] - Parameters:
- name- the name of the encoded buffer.
 
 
- 
- 
Method Details- 
encodeUUEncode bytes from the input stream, and write them as text characters to the output stream. This method will run until it exhausts the input stream.- Parameters:
- is- the input stream.
- out- the output stream.
- Throws:
- IOException- if there is an error.
 
 
-