Interstage Shunsaku Data Manager Application Development Guide - Microsoft(R) Windows(R) 2000/ Microsoft(R) Windows Server(TM) 2003 - - UNIX -
Contents Index PreviousNext

Appendix M Java APIs Used in V6.0L20 and Earlier> M.2 ShunBatch Class

M.2.2 executeAdd

mark1Function

This method adds XML documents stored in the specified text file to a Shunsaku

mark1Syntax

public void executeAdd(
    String   xmlDatafileName      /* (1) Path to the text file       */
) throws ShunException;

mark1Return Value

None

mark1Parameters

mark2(1) Path to the text file

Specifies the full pathname of the text file containing XML document that is to be added.The character encoding of the XML document to be added must be the same as that of the data stored in Shunsaku. Note, however, that the character encoding specified in the XML root tag is disabled.

To add multiple items of XML documents, it is recommended that the data be joined together into a single text file and specified as an argument.

mark1Exceptions

mark2ShunException

ShunException is output when an error occurs while XML documents are being added.

Refer to M.4 Error Codes Output for details on error codes.

mark1Notes


Contents Index PreviousNext

All Rights Reserved, Copyright(C) FUJITSU LIMITED 2006