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

com.sas.iom
Class OutputStreamHeader

com.sas.iom.OutputStreamHeader
All Implemented Interfaces:
com.sas.io.OutputStreamHeaderInterface, java.io.Serializable, java.rmi.Remote

public class OutputStreamHeader
implements com.sas.io.OutputStreamHeaderInterface

Provides the capability to write header information to an IOM OutputStream.

Since:
1.0
See Also:
Serialized Form

Constructor Summary
OutputStreamHeader(OutputStream outputStream)
           
 
Method Summary
 void setHeader(java.lang.String name, java.lang.String value)
          Set header by delegating to the OutputStream.
 void setHeaders(java.util.Map headers)
          Set headers by delegating to the OutputStream.
 

Constructor Detail

OutputStreamHeader

public OutputStreamHeader(OutputStream outputStream)
                   throws java.rmi.RemoteException
Throws:
java.rmi.RemoteException
Method Detail

setHeader

public void setHeader(java.lang.String name,
                      java.lang.String value)
               throws java.io.IOException,
                      java.lang.IllegalStateException,
                      java.rmi.RemoteException
Set header by delegating to the OutputStream.

Specified by:
setHeader in interface com.sas.io.OutputStreamHeaderInterface
Throws:
java.io.IOException
java.lang.IllegalStateException
java.rmi.RemoteException

setHeaders

public void setHeaders(java.util.Map headers)
                throws java.io.IOException,
                       java.lang.IllegalStateException,
                       java.rmi.RemoteException
Set headers by delegating to the OutputStream.

Specified by:
setHeaders in interface com.sas.io.OutputStreamHeaderInterface
Throws:
java.io.IOException
java.lang.IllegalStateException
java.rmi.RemoteException

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




Copyright © 2009 SAS Institute Inc. All Rights Reserved.