public class ByteSwapStreamIO extends java.lang.Object implements com.esri.arcgis.interop.RemoteObjRef, IByteSwapStreamIO
Description 'Helper object that performs byte swapping of data read and written to stream.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =
IID, IIDe718734d_d494_4e44_92c8_e2212b4a2f8d, xxDummy
Constructor and Description |
---|
ByteSwapStreamIO()
Constructs a ByteSwapStreamIO using ArcGIS Engine.
|
ByteSwapStreamIO(java.lang.Object obj)
Deprecated.
As of ArcGIS 9.2, replaced by normal Java casts.
ByteSwapStreamIO theByteSwapStreamIO = (ByteSwapStreamIO) obj; |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o)
Compare this object with another
|
static java.lang.String |
getClsid()
getClsid.
|
com.esri.arcgis.interop.Dispatch |
getJintegraDispatch()
Gets a reference to a com.esri.arcgis.interop.Dispatch which can be used to access the COM object that support for this
interface indicates the implementing class references.
|
IStream |
getStream()
The stream to perform byte swap reads and writes to.
|
int |
hashCode()
the hashcode for this object
|
void |
read(int dataType,
int pv,
int cb,
int[] pcbRead)
Perform a read byte swapping to the native format.
|
void |
release()
Release this COM object reference
|
void |
setStreamByRef(IStream ppStream)
The stream to perform byte swap reads and writes to.
|
void |
write(int dataType,
int pv,
int cb,
int[] pcbWritten)
Perform a write byte swapping to the windows format.
|
public ByteSwapStreamIO() throws java.io.IOException, java.net.UnknownHostException
java.io.IOException
- if there are interop problemsjava.net.UnknownHostException
- if there are interop problemspublic ByteSwapStreamIO(java.lang.Object obj) throws java.io.IOException
ByteSwapStreamIO theByteSwapStreamIO = (ByteSwapStreamIO) obj;
obj
to ByteSwapStreamIO
.obj
- an object returned from ArcGIS Engine or Serverjava.io.IOException
- if there are interop problemspublic static java.lang.String getClsid()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
getJintegraDispatch
in interface com.esri.arcgis.interop.RemoteObjRef
public void release()
release
in interface com.esri.arcgis.interop.RemoteObjRef
public void setStreamByRef(IStream ppStream) throws java.io.IOException, AutomationException
setStreamByRef
in interface IByteSwapStreamIO
ppStream
- A reference to a com.esri.arcgis.system.IStream (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public IStream getStream() throws java.io.IOException, AutomationException
getStream
in interface IByteSwapStreamIO
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void read(int dataType, int pv, int cb, int[] pcbRead) throws java.io.IOException, AutomationException
read
in interface IByteSwapStreamIO
dataType
- A com.esri.arcgis.system.esriByteSwapDataType constant (in)pv
- A COM void* (out: use single element array)cb
- The cb (in)pcbRead
- The pcbRead (out: use single element array)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void write(int dataType, int pv, int cb, int[] pcbWritten) throws java.io.IOException, AutomationException
write
in interface IByteSwapStreamIO
dataType
- A com.esri.arcgis.system.esriByteSwapDataType constant (in)pv
- A COM void* (in)cb
- The cb (in)pcbWritten
- The pcbWritten (out: use single element array)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.