|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.io.OutputStream
org.apache.axiom.util.base64.AbstractBase64EncodingOutputStream
public abstract class AbstractBase64EncodingOutputStream
Base class for OutputStream implementations that encode data in base64.
| Constructor Summary | |
|---|---|
AbstractBase64EncodingOutputStream()
|
|
| Method Summary | |
|---|---|
void |
close()
|
void |
complete()
Write out any pending data, including padding if necessary. |
protected abstract void |
doClose()
Close the underlying stream, if applicable. |
protected abstract void |
doFlush()
Flush the underlying stream, if applicable. |
protected abstract void |
doWrite(byte[] b)
Write base64 encoded data. |
void |
flush()
|
protected abstract void |
flushBuffer()
Write any pending data to the underlying stream, if applicable. |
void |
write(byte[] b,
int off,
int len)
|
void |
write(int b)
|
| Methods inherited from class java.io.OutputStream |
|---|
write |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractBase64EncodingOutputStream()
| Method Detail |
|---|
public final void write(byte[] b,
int off,
int len)
throws java.io.IOException
write in class java.io.OutputStreamjava.io.IOException
public final void write(int b)
throws java.io.IOException
write in class java.io.OutputStreamjava.io.IOException
public final void complete()
throws java.io.IOException
java.io.IOException - if an I/O error occurs
public final void flush()
throws java.io.IOException
flush in interface java.io.Flushableflush in class java.io.OutputStreamjava.io.IOException
public final void close()
throws java.io.IOException
close in interface java.io.Closeableclose in class java.io.OutputStreamjava.io.IOException
protected abstract void doWrite(byte[] b)
throws java.io.IOException
b - a byte array of length 4
java.io.IOException - if an I/O error occurs
protected abstract void flushBuffer()
throws java.io.IOException
java.io.IOException - if an I/O error occurs
protected abstract void doFlush()
throws java.io.IOException
java.io.IOException - if an I/O error occurs
protected abstract void doClose()
throws java.io.IOException
java.io.IOException - if an I/O error occurs
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||