com.sas.iom
Class InputStreamHeader
com.sas.iom.InputStreamHeader
- All Implemented Interfaces:
- com.sas.io.InputStreamHeaderInterface, java.io.Serializable, java.rmi.Remote
public class InputStreamHeader
- implements com.sas.io.InputStreamHeaderInterface
Provides the capability to read header information from an
IOM InputStream
.
- Since:
- 1.0
- See Also:
- Serialized Form
InputStreamHeader
public InputStreamHeader(InputStream inputStream)
throws java.rmi.RemoteException
- Throws:
java.rmi.RemoteException
getCharacterEncoding
public java.lang.String getCharacterEncoding()
throws java.io.IOException,
java.rmi.RemoteException
- Specified by:
getCharacterEncoding
in interface com.sas.io.InputStreamHeaderInterface
- Throws:
java.io.IOException
java.rmi.RemoteException
getContentEncoding
public java.lang.String getContentEncoding()
throws java.io.IOException,
java.rmi.RemoteException
- Specified by:
getContentEncoding
in interface com.sas.io.InputStreamHeaderInterface
- Throws:
java.io.IOException
java.rmi.RemoteException
getContentType
public java.lang.String getContentType()
throws java.io.IOException,
java.rmi.RemoteException
- Specified by:
getContentType
in interface com.sas.io.InputStreamHeaderInterface
- Throws:
java.io.IOException
java.rmi.RemoteException
getHeaderFieldDate
public long getHeaderFieldDate(java.lang.String name,
long Default)
throws java.io.IOException,
java.rmi.RemoteException
- Specified by:
getHeaderFieldDate
in interface com.sas.io.InputStreamHeaderInterface
- Throws:
java.io.IOException
java.rmi.RemoteException
getHeaderFieldInt
public int getHeaderFieldInt(java.lang.String name,
int Default)
throws java.io.IOException,
java.rmi.RemoteException
- Specified by:
getHeaderFieldInt
in interface com.sas.io.InputStreamHeaderInterface
- Throws:
java.io.IOException
java.rmi.RemoteException
getHeaders
public java.util.Map getHeaders()
throws java.io.IOException,
java.rmi.RemoteException
- Get response headers by delegating to the InputStream.
- Specified by:
getHeaders
in interface com.sas.io.InputStreamHeaderInterface
- Throws:
java.io.IOException
java.rmi.RemoteException
headerAvailable
public boolean headerAvailable()
throws java.rmi.RemoteException
- Determine whether or not the header is available by delegating to the InputStream.
- Specified by:
headerAvailable
in interface com.sas.io.InputStreamHeaderInterface
- Throws:
java.rmi.RemoteException
Copyright © 2009 SAS Institute Inc. All Rights Reserved.