com.esri.arcgis.system
Class IZlibCompressionProxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.system.IZlibCompressionProxy
All Implemented Interfaces:
IZlibCompression, java.io.Externalizable, java.io.Serializable

public class IZlibCompressionProxy
extends com.esri.arcgis.interop.Dispatch
implements IZlibCompression, java.io.Serializable

Internal use class Proxy for COM Interface 'IZlibCompression'. Generated 3/19/2015 1:21:00 PM from 'C:\ArcGIS\COM\esriSystem.olb'

Description: 'Provides access to compress and uncompress texture data.' 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 =

See Also:
Serialized Form

Field Summary
 boolean noncastable
           
static java.lang.Class targetClass
           
 
Fields inherited from class com.esri.arcgis.interop.Dispatch
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef
 
Fields inherited from interface com.esri.arcgis.system.IZlibCompression
IID, IIDfee4d81c_25d9_4389_a20c_16821ec90719
 
Constructor Summary
  IZlibCompressionProxy()
          For internal use only
  IZlibCompressionProxy(java.lang.Object obj)
           
protected IZlibCompressionProxy(java.lang.Object obj, java.lang.String iid)
           
  IZlibCompressionProxy(java.lang.String CLSID, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo)
           
protected IZlibCompressionProxy(java.lang.String CLSID, java.lang.String iid, java.lang.String host, com.esri.arcgis.interop.AuthInfo authInfo)
           
 
Method Summary
 void addListener(java.lang.String iidStr, java.lang.Object theListener, java.lang.Object theSource)
           
 void compress(int inSize, byte[] pInBuff, int[] pOutSize, byte[] pOutBuff)
          Compress the current the input buffer.
 void compressByLevel(int inSize, byte[] pInBuff, int level, int[] pOutSize, byte[] pOutBuff)
          Compress the current the input buffer by level.
 int getBufferSize(int size)
          Estimated buffer size of compress/uncompress texture data.
 void removeListener(java.lang.String iidStr, java.lang.Object theListener)
           
 void unCompress(int inSize, byte[] pInBuff, int[] pOutSize, byte[] pOutBuff)
          UnCompress the current the input buffer.
 
Methods inherited from class com.esri.arcgis.interop.Dispatch
bindUsingMoniker, constructVtblPosTable, convertToNative, cookieForListener, createDispatch, createObjrefMonikerDisplayName, equals, getActiveObject, getActiveObject, getDefaultProperty, getDispatchIdOfName, getLastErrorCode, getMtsObjectContext, getObjRef, getPropertyByName, getPropertyByName, getVtblPos, hashCode, initDispatch, invoke, invokeMethodByName, invokeMethodByName, invokeMethodByName, invokePropertyGetByName, invokePropertyPutByName, invokePropertyPutByRefByName, isNativeMode, isObjRef, optimizedVtblInvoke, queryInterface, readExternal, release, setNativeMode, setPropertyByName, toString, vtblInvoke, writeExternal
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

targetClass

public static final java.lang.Class targetClass

noncastable

public boolean noncastable
Constructor Detail

IZlibCompressionProxy

public IZlibCompressionProxy(java.lang.String CLSID,
                             java.lang.String host,
                             com.esri.arcgis.interop.AuthInfo authInfo)
                      throws java.net.UnknownHostException,
                             java.io.IOException
Throws:
java.net.UnknownHostException
java.io.IOException

IZlibCompressionProxy

public IZlibCompressionProxy()
For internal use only


IZlibCompressionProxy

public IZlibCompressionProxy(java.lang.Object obj)
                      throws java.io.IOException
Throws:
java.io.IOException

IZlibCompressionProxy

protected IZlibCompressionProxy(java.lang.Object obj,
                                java.lang.String iid)
                         throws java.io.IOException
Throws:
java.io.IOException

IZlibCompressionProxy

protected IZlibCompressionProxy(java.lang.String CLSID,
                                java.lang.String iid,
                                java.lang.String host,
                                com.esri.arcgis.interop.AuthInfo authInfo)
                         throws java.io.IOException
Throws:
java.io.IOException
Method Detail

addListener

public void addListener(java.lang.String iidStr,
                        java.lang.Object theListener,
                        java.lang.Object theSource)
                 throws java.io.IOException
Overrides:
addListener in class com.esri.arcgis.interop.Dispatch
Throws:
java.io.IOException

removeListener

public void removeListener(java.lang.String iidStr,
                           java.lang.Object theListener)
                    throws java.io.IOException
Overrides:
removeListener in class com.esri.arcgis.interop.Dispatch
Throws:
java.io.IOException

getBufferSize

public int getBufferSize(int size)
                  throws java.io.IOException,
                         AutomationException
Estimated buffer size of compress/uncompress texture data.

Specified by:
getBufferSize in interface IZlibCompression
Parameters:
size - The size (in)
Returns:
The pSize
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

compress

public void compress(int inSize,
                     byte[] pInBuff,
                     int[] pOutSize,
                     byte[] pOutBuff)
              throws java.io.IOException,
                     AutomationException
Compress the current the input buffer. Uses best compression.

Specified by:
compress in interface IZlibCompression
Parameters:
inSize - The inSize (in)
pInBuff - An unsigned byte (in)
pOutSize - The pOutSize (in/out: use single element array)
pOutBuff - An unsigned byte (in/out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

compressByLevel

public void compressByLevel(int inSize,
                            byte[] pInBuff,
                            int level,
                            int[] pOutSize,
                            byte[] pOutBuff)
                     throws java.io.IOException,
                            AutomationException
Compress the current the input buffer by level. If level less than 0, use default, if greater than best use best.

Specified by:
compressByLevel in interface IZlibCompression
Parameters:
inSize - The inSize (in)
pInBuff - An unsigned byte (in)
level - The level (in)
pOutSize - The pOutSize (in/out: use single element array)
pOutBuff - An unsigned byte (in/out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

unCompress

public void unCompress(int inSize,
                       byte[] pInBuff,
                       int[] pOutSize,
                       byte[] pOutBuff)
                throws java.io.IOException,
                       AutomationException
UnCompress the current the input buffer.

Specified by:
unCompress in interface IZlibCompression
Parameters:
inSize - The inSize (in)
pInBuff - An unsigned byte (in)
pOutSize - The pOutSize (in/out: use single element array)
pOutBuff - An unsigned byte (in/out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.