NetworkedPlanet | TMCore Engine API Guide |
Table of Contents
This chapter presents some easy examples of how to start working with the TMCore API. The following examples are a little bit more than the typical "Hello World" application you find at the start of programming texts. Our first example provides code for creating a topic map from scratch using the TMCore APIs. The second example is a bit more complex, it generates a topic map that represents the directories and files contained in a given directory on the file-system. This second example shows more use of the APIs for creating and modifying topic map data and also shows the use of the indexing system provided by the API. The third example shows how to write a topic map out to an XTM file and the final example shows how to import topic map data from an XTM into the TMCore system.