public class TrafficDataManager extends java.lang.Object implements com.esri.arcgis.interop.RemoteObjRef, ITrafficDataManager
Description 'A class for creating/managing dynamic traffic files for dynamic traffic feeds.' 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, IIDdd1ae245_b211_4502_89d4_b880bb10701d, xxDummy
Constructor and Description |
---|
TrafficDataManager()
Constructs a TrafficDataManager using ArcGIS Engine.
|
TrafficDataManager(java.lang.Object obj)
Deprecated.
As of ArcGIS 9.2, replaced by normal Java casts.
TrafficDataManager theTrafficDataManager = (TrafficDataManager) obj; |
Modifier and Type | Method and Description |
---|---|
int |
convertTMCToKey(java.lang.String tmcCode)
Converts a TMC string to a unique integer key value.
|
void |
deleteData(java.lang.String feedFolderPath,
java.util.Date utcCutoffDate)
Deletes all dynamic traffic files in the specified folder which are older than the specified cutoff date.
|
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.
|
int |
hashCode()
the hashcode for this object
|
void |
insert(int key,
IDoubleArray pTimeSliceSpeeds)
Inserts the speed values per time slice for the specified TMC key.
|
void |
release()
Release this COM object reference
|
void |
startEditing(java.util.Date feedUTCStartTime,
int estimatedKeyCount,
int timeSliceCount,
java.util.Date firstTimeSliceUTCStartTime,
int timeSliceDurationInMinutes,
int speedUnits,
int updateIntervalInMinutes,
int feedVersionNumber)
Starts a new edit session for tracking edits to a new dynamic traffic file.
|
void |
stopEditing(java.lang.String feedFolderPath,
boolean createCompressedFile)
Stops the current edit session and writes all current edits to a new dynamic traffic file in the specified folder.
|
public TrafficDataManager() throws java.io.IOException, java.net.UnknownHostException
java.io.IOException
- if there are interop problemsjava.net.UnknownHostException
- if there are interop problemspublic TrafficDataManager(java.lang.Object obj) throws java.io.IOException
TrafficDataManager theTrafficDataManager = (TrafficDataManager) obj;
obj
to TrafficDataManager
.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 startEditing(java.util.Date feedUTCStartTime, int estimatedKeyCount, int timeSliceCount, java.util.Date firstTimeSliceUTCStartTime, int timeSliceDurationInMinutes, int speedUnits, int updateIntervalInMinutes, int feedVersionNumber) throws java.io.IOException, AutomationException
startEditing
in interface ITrafficDataManager
feedUTCStartTime
- The feedUTCStartTime (in)estimatedKeyCount
- The estimatedKeyCount (in)timeSliceCount
- The timeSliceCount (in)firstTimeSliceUTCStartTime
- The firstTimeSliceUTCStartTime (in)timeSliceDurationInMinutes
- The timeSliceDurationInMinutes (in)speedUnits
- A com.esri.arcgis.geodatabase.esriNetworkAttributeUnits constant (in)updateIntervalInMinutes
- The updateIntervalInMinutes (in)feedVersionNumber
- The feedVersionNumber (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void insert(int key, IDoubleArray pTimeSliceSpeeds) throws java.io.IOException, AutomationException
insert
in interface ITrafficDataManager
key
- The key (in)pTimeSliceSpeeds
- A reference to a com.esri.arcgis.system.IDoubleArray (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void stopEditing(java.lang.String feedFolderPath, boolean createCompressedFile) throws java.io.IOException, AutomationException
stopEditing
in interface ITrafficDataManager
feedFolderPath
- The feedFolderPath (in)createCompressedFile
- The createCompressedFile (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void deleteData(java.lang.String feedFolderPath, java.util.Date utcCutoffDate) throws java.io.IOException, AutomationException
deleteData
in interface ITrafficDataManager
feedFolderPath
- The feedFolderPath (in)utcCutoffDate
- The utcCutoffDate (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public int convertTMCToKey(java.lang.String tmcCode) throws java.io.IOException, AutomationException
convertTMCToKey
in interface ITrafficDataManager
tmcCode
- The tmcCode (in)java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.