com.sas.iom
Class OutputStream
java.lang.Object
|
+--java.io.OutputStream
|
+--com.sas.iom.OutputStream
- public class OutputStream
- extends OutputStream
Provides the capability to write output to an IOM OutputStream.
- Since:
- 1.0
|
Constructor Summary |
OutputStream(com.sas.iom.SASCache.ICacheWriter iCacheWriter,
com.sas.iom.SASCache.ICacheService iCacheService)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OutputStream
public OutputStream(com.sas.iom.SASCache.ICacheWriter iCacheWriter,
com.sas.iom.SASCache.ICacheService iCacheService)
getHeader
public OutputStreamHeaderInterface getHeader()
- Get the header interface for this OutputStream.
- Returns:
- header OutputStream header.
- See Also:
OutputStreamHeaderInterface
putData
public void putData(byte[] data)
- Put data to this OutputStream.
- Parameters:
data - Data to write.
putData
public void putData(String data)
- Put data to this OutputStream.
- Parameters:
data - Data to write.
putData
public void putData(String data,
String encoding)
- Put data to this OutputStream.
- Parameters:
data - Data to write.encoding - Name of a supported charset.
write
public void write(int b)
throws IOException
- Overrides:
write in class OutputStream
write
public void write(byte[] b)
throws IOException
- Overrides:
write in class OutputStream
write
public void write(byte[] b,
int off,
int len)
throws IOException
- Overrides:
write in class OutputStream
flush
public void flush()
throws IOException
- Overrides:
flush in class OutputStream
close
public void close()
throws IOException
- Overrides:
close in class OutputStream
Copyright © 2006 SAS Institute Inc. All Rights Reserved.
javadoc generated Fri, 10 Feb 2006 17:28:51