com.esri.arcgis.carto
Class TilesTable

java.lang.Object
  extended by com.esri.arcgis.carto.TilesTable
All Implemented Interfaces:
ITilesTable, com.esri.arcgis.interop.RemoteObjRef, java.io.Serializable

public class TilesTable
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, ITilesTable

COM Class 'TilesTable'. Generated 3/19/2015 1:20:41 PM from 'C:\ArcGIS\COM\esriCarto.olb'

Description 'A Tiles Table object.' 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
 
Fields inherited from interface com.esri.arcgis.carto.ITilesTable
IID, IID504dd827_f109_44c3_aa3e_5059219e2ac5, xxDummy
 
Constructor Summary
TilesTable()
          Constructs a TilesTable using ArcGIS Engine.
TilesTable(java.lang.Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
TilesTable theTilesTable = (TilesTable) obj;
 
Method Summary
 void close()
          Close the table.
 void create(java.lang.String levelCacheDir, java.lang.String format, int txStart, int txEnd, int tyStart, int tyEnd)
          Create the table.
 void delete(java.lang.String levelCacheDir, java.lang.String format, int ty, int tx)
          Delete the table.
 boolean equals(java.lang.Object o)
          Compare this object with another
 boolean exists(java.lang.String layerCacheDir, int ty, int tx)
          Table Exists
static java.lang.String getClsid()
          getClsid.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 int getOffset(int ty, int tx)
          Get the row in the table corresponding to the given tileX and tileY
 int getTileCount()
          Get Tile Count
 int hashCode()
          the hashcode for this object
 int insertTile(int ty, int tx, IStream pStream)
          Insert the tile into the table.
 boolean isLocked()
          Is table locked
 void open(java.lang.String levelCacheDir, int ty, int tx, boolean forReadOnly)
          Open the table.
 IStream queryTile(int ty, int tx)
          Query specific tile from the table.
 void release()
          Release a TilesTable.
 void updateTile(int ty, int tx, IStream pStream)
          Update Tile.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TilesTable

public TilesTable()
           throws java.io.IOException,
                  java.net.UnknownHostException
Constructs a TilesTable using ArcGIS Engine.

Throws:
java.io.IOException - if there are interop problems
java.net.UnknownHostException - if there are interop problems

TilesTable

public TilesTable(java.lang.Object obj)
           throws java.io.IOException
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
TilesTable theTilesTable = (TilesTable) obj;

Construct a TilesTable using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to TilesTable.

Parameters:
obj - an object returned from ArcGIS Engine or Server
Throws:
java.io.IOException - if there are interop problems
Method Detail

getClsid

public static java.lang.String getClsid()
getClsid.


equals

public boolean equals(java.lang.Object o)
Compare this object with another

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class java.lang.Object

getJintegraDispatch

public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
Deprecated. Internal use only.

Specified by:
getJintegraDispatch in interface com.esri.arcgis.interop.RemoteObjRef

release

public void release()
Release a TilesTable.

Specified by:
release in interface com.esri.arcgis.interop.RemoteObjRef

create

public void create(java.lang.String levelCacheDir,
                   java.lang.String format,
                   int txStart,
                   int txEnd,
                   int tyStart,
                   int tyEnd)
            throws java.io.IOException,
                   AutomationException
Create the table.

Specified by:
create in interface ITilesTable
Parameters:
levelCacheDir - The levelCacheDir (in)
format - The format (in)
txStart - The txStart (in)
txEnd - The txEnd (in)
tyStart - The tyStart (in)
tyEnd - The tyEnd (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

delete

public void delete(java.lang.String levelCacheDir,
                   java.lang.String format,
                   int ty,
                   int tx)
            throws java.io.IOException,
                   AutomationException
Delete the table.

Specified by:
delete in interface ITilesTable
Parameters:
levelCacheDir - The levelCacheDir (in)
format - The format (in)
ty - The ty (in)
tx - The tx (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

open

public void open(java.lang.String levelCacheDir,
                 int ty,
                 int tx,
                 boolean forReadOnly)
          throws java.io.IOException,
                 AutomationException
Open the table.

Specified by:
open in interface ITilesTable
Parameters:
levelCacheDir - The levelCacheDir (in)
ty - The ty (in)
tx - The tx (in)
forReadOnly - The forReadOnly (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

close

public void close()
           throws java.io.IOException,
                  AutomationException
Close the table.

Specified by:
close in interface ITilesTable
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getOffset

public int getOffset(int ty,
                     int tx)
              throws java.io.IOException,
                     AutomationException
Get the row in the table corresponding to the given tileX and tileY

Specified by:
getOffset in interface ITilesTable
Parameters:
ty - The ty (in)
tx - The tx (in)
Returns:
The pOffset
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

insertTile

public int insertTile(int ty,
                      int tx,
                      IStream pStream)
               throws java.io.IOException,
                      AutomationException
Insert the tile into the table.

Specified by:
insertTile in interface ITilesTable
Parameters:
ty - The ty (in)
tx - The tx (in)
pStream - A reference to a com.esri.arcgis.system.IStream (in)
Returns:
The pOffset
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

queryTile

public IStream queryTile(int ty,
                         int tx)
                  throws java.io.IOException,
                         AutomationException
Query specific tile from the table.

Specified by:
queryTile in interface ITilesTable
Parameters:
ty - The ty (in)
tx - The tx (in)
Returns:
A reference to a com.esri.arcgis.system.IStream
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

updateTile

public void updateTile(int ty,
                       int tx,
                       IStream pStream)
                throws java.io.IOException,
                       AutomationException
Update Tile.

Specified by:
updateTile in interface ITilesTable
Parameters:
ty - The ty (in)
tx - The tx (in)
pStream - A reference to a com.esri.arcgis.system.IStream (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isLocked

public boolean isLocked()
                 throws java.io.IOException,
                        AutomationException
Is table locked

Specified by:
isLocked in interface ITilesTable
Returns:
The isLocked
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getTileCount

public int getTileCount()
                 throws java.io.IOException,
                        AutomationException
Get Tile Count

Specified by:
getTileCount in interface ITilesTable
Returns:
The pTileCount
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

exists

public boolean exists(java.lang.String layerCacheDir,
                      int ty,
                      int tx)
               throws java.io.IOException,
                      AutomationException
Table Exists

Specified by:
exists in interface ITilesTable
Parameters:
layerCacheDir - The layerCacheDir (in)
ty - The ty (in)
tx - The tx (in)
Returns:
The pExists
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.