***  This API provides Binary Compatibility only, not Source Compatibility  ***

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)
           
 
Method Summary
 void close()
           
 void flush()
           
 OutputStreamHeaderInterface getHeader()
          Get the header interface for this OutputStream.
 void putData(byte[] data)
          Put data to this OutputStream.
 void putData(String data)
          Put data to this OutputStream.
 void putData(String data, String encoding)
          Put data to this OutputStream.
 void write(byte[] b)
           
 void write(byte[] b, int off, int len)
           
 void write(int b)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OutputStream

public OutputStream(com.sas.iom.SASCache.ICacheWriter iCacheWriter,
                    com.sas.iom.SASCache.ICacheService iCacheService)
Method Detail

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

***  This API provides Binary Compatibility only, not Source Compatibility  ***




Copyright © 2006 SAS Institute Inc. All Rights Reserved.
javadoc generated Fri, 10 Feb 2006 17:28:51