|
Foundation |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.sas.iom.OutputStream
public class OutputStream
Provides the capability to write output to an IOM OutputStream.
Constructor Summary | |
---|---|
OutputStream(com.sas.iom.SASCache.ICacheWriter iCacheWriter,
com.sas.iom.SASCache.ICacheService iCacheService)
|
Method Summary | |
---|---|
void |
close()
|
void |
flush()
|
com.sas.io.OutputStreamHeaderInterface |
getHeader()
Get the header interface for this OutputStream. |
void |
putData(byte[] data)
Put data to this OutputStream. |
void |
putData(java.lang.String data)
Put data to this OutputStream. |
void |
putData(java.lang.String data,
java.lang.String encoding)
Put data to this OutputStream. |
void |
write(byte[] b)
|
void |
write(byte[] b,
int off,
int len)
|
void |
write(int b)
|
Constructor Detail |
---|
public OutputStream(com.sas.iom.SASCache.ICacheWriter iCacheWriter, com.sas.iom.SASCache.ICacheService iCacheService)
Method Detail |
---|
public com.sas.io.OutputStreamHeaderInterface getHeader()
OutputStreamHeaderInterface
public void putData(byte[] data)
data
- Data to write.public void putData(java.lang.String data)
data
- Data to write.public void putData(java.lang.String data, java.lang.String encoding)
data
- Data to write.encoding
- Name of a supported charset.public void write(int b) throws java.io.IOException
write
in class java.io.OutputStream
java.io.IOException
public void write(byte[] b) throws java.io.IOException
write
in class java.io.OutputStream
java.io.IOException
public void write(byte[] b, int off, int len) throws java.io.IOException
write
in class java.io.OutputStream
java.io.IOException
public void flush() throws java.io.IOException
flush
in interface java.io.Flushable
flush
in class java.io.OutputStream
java.io.IOException
public void close() throws java.io.IOException
close
in interface java.io.Closeable
close
in class java.io.OutputStream
java.io.IOException
|
Foundation |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |