This documentation differs from the official API.
Jadeite adds
extra features to the API including:
variable font sizes,
constructions examples,
placeholders for classes and methods, and auto-generated “See Also” links.
Additionally it
is missing some items found in standard Javadoc documentation, including:
generics type information,
“Deprecated” tags and comments,
“See Also” links,
along with other minor differences.
Please send any questions or feedback to
bam@cs.cmu.edu.
com.sun.mail.util
class UUEncoderStream
public class UUEncoderStream
extends FilterOutputStream
This class implements a UUEncoder. It is implemented as
a FilterOutputStream, so one can just wrap this class around
any output stream and write bytes into this filter. The Encoding
is done as the bytes are written out.
Constructor Summary |
Create a UUencoder that encodes the specified input stream
|
Create a UUencoder that encodes the specified input stream
|
Create a UUencoder that encodes the specified input stream
|
Method Summary |
void |
|
void |
|
void |
Set up the buffer name and permission mode.
|
void |
|
void |
write(byte[] b, int off, int len)
|
void |
|
mode
protected int mode
-
name
protected String name
-
UUEncoderStream
public UUEncoderStream(OutputStream out)
-
Create a UUencoder that encodes the specified input stream
- Parameters:
out
- the output stream
UUEncoderStream
public UUEncoderStream(OutputStream out,
String name)
-
Create a UUencoder that encodes the specified input stream
- Parameters:
out
- the output stream
name
- Specifies a name for the encoded buffer
UUEncoderStream
public UUEncoderStream(OutputStream out,
String name,
int mode)
-
Create a UUencoder that encodes the specified input stream
- Parameters:
out
- the output stream
name
- Specifies a name for the encoded buffer
mode
- Specifies permission mode for the encoded buffer
close
public void close()
throws IOException
-
- Overrides:
close
in class FilterOutputStream
- Throws:
IOException
flush
public void flush()
throws IOException
-
- Overrides:
flush
in class FilterOutputStream
- Throws:
IOException
setNameMode
public void setNameMode(String name,
int mode)
-
Set up the buffer name and permission mode.
This method has any effect only if it is invoked before
you start writing into the output stream
- Parameters:
name
mode
write
public void write(byte[] data)
throws IOException
-
- Overrides:
write
in class FilterOutputStream
- Parameters:
data
- Throws:
IOException
write
public void write(byte[] b,
int off,
int len)
throws IOException
-
- Overrides:
write
in class FilterOutputStream
- Parameters:
b
off
len
- Throws:
IOException
write
public void write(int c)
throws IOException
-
- Overrides:
write
in class FilterOutputStream
- Parameters:
c
- Throws:
IOException
This documentation differs from the official API.
Jadeite adds
extra features to the API including:
variable font sizes,
constructions examples,
placeholders for classes and methods, and auto-generated “See Also” links.
Additionally it
is missing some items found in standard Javadoc documentation, including:
generics type information,
“Deprecated” tags and comments,
“See Also” links,
along with other minor differences.
Please send any questions or feedback to
bam@cs.cmu.edu.