This program accepts a server URI (in the format expected by ContentSourceFactory.newContentSource(URI)}) and one or more file pathnames of documents to load.
The main() method in this example leaves the ContentCreateOptions value set to null which will apply defaults when documents are loaded. This means that document type (XML, text() or binary()) may be determined by URI extention. If you instantiate this class from another class, you can set explicit options via the Options property before calling Load().
The main() method uses the absolute pathname of each file as its URI for loading. There is also a method provided which takes parallel arrays of URI strings and File objects.
For a list of all members of this type, see ContentLoader Members.
System.Object
   Marklogic.Xcc.Examples.ContentLoader
Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.
Namespace: Marklogic.Xcc.Examples
Assembly: MarklogicXcc (in MarklogicXcc.dll)
ContentLoader Members | Marklogic.Xcc.Examples Namespace