|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ISMRouterFactory
Provides access to members for creating SMRouter objects.
Allows creation of SMRouter objects.
Method Summary | |
---|---|
ISMRouter |
createRouter(String routingFilePath)
Creates a SMRouter object based on information in the input routing initialization file. |
ISMRouter |
createRouterCfg(String routingFilePath,
String configPath)
Creates a SMRouter object based on additional information in the alternate routing configuration file. |
Method Detail |
---|
ISMRouter createRouter(String routingFilePath) throws IOException, AutomationException
The method creates a SMRouter object reading necessary information from the routing initialization file that is passed in.
The method returns an instance of the SMRouter object if successful. Otherwise it returns Nothing.
A routing initialization file, for example routing.ini or routing.rs, contains the definition of the routing service based on the specific information about routing data source.
routingFilePath
- The routingFilePath (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.ISMRouter createRouterCfg(String routingFilePath, String configPath) throws IOException, AutomationException
The method creates SMRouter object using the alternate configuration file along with the main routing initialization file.
The method returns an instance of the SMRouter object if successful. Otherwise it returns Nothing.
A routing initialization file, for example routing.ini or routing.rs, contains the definition of the routing service based on the specific information about routing data source.
A routing configuration file, for example routing.cfg, contains application specific information such as driving directions patterns, texts of directions parts, distance, time formats, and so on.
routingFilePath
- The routingFilePath (in)configPath
- The configPath (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |