Adding documents to a document base
How to populate a document base (when there is no versioning).
Your program must be connected to a TEXTML Server instance.
IxiaDocBaseServices docbase = // ...
This section explains how to add documents to a document base with no versioning.
Versioning means that a docbase can store more than one version of a document: each version has the same document name, but a unique version number. No versioning means that a new version of a document replaces the existing document.
In the code snippets below, the documents to be added are files
located in a path stored in String sourceDirectory
.
To add documents to a document base:
You can build and run sample program SetDocuments:
ProgramFiles\IxiaSoft\TextmlServer45\...\SetDocuments.java