|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.tools.ant.util.UUEncoder
public class 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 Summary | |
---|---|
protected static int |
DEFAULT_MODE
|
Constructor Summary | |
---|---|
UUEncoder(java.lang.String name)
Constructor specifying a name for the encoded buffer, begin line will be: |
Method Summary | |
---|---|
void |
encode(java.io.InputStream is,
java.io.OutputStream out)
UUEncode bytes from the input stream, and write them as text characters to the output stream. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static final int DEFAULT_MODE
Constructor Detail |
---|
public UUEncoder(java.lang.String name)
begin 644 [NAME]
name
- the name of the encoded buffer.Method Detail |
---|
public void encode(java.io.InputStream is, java.io.OutputStream out) throws java.io.IOException
is
- the input stream.out
- the output stream.
java.io.IOException
- if there is an error.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |