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.1 ShunBatch

mark1Function

This method creates an instance of ShunBatch.

mark1Syntax

public ShunBatch(
    String   hostName,      /* (1) Host name                                   */
    int      port,          /* (2) Port number                                 */
    String   reserve2,      /* (3) Reserved (null)                             */
    String   strCode,       /* (4) Character encoding of data                  */
    String   getCode,       /* (5) Character encoding of returned result data  */
    String   directorName   /* (6) Director identifier                         */
) throws ShunException;

mark1Parameters

mark2(1) Host Name

Specifies the host name of the server where the director that will perform the data update is running.

If a null character or space character (" ") is specified as the host name, the host name will default to "localhost".

mark2(2) Port Number

Specifies the number of the port for receiving search requests on the director that will perform the data update.Specify the MySearchPort parameter in the director environment file of the director that will perform the data update.

mark2(3) Reserved

Specify null.

mark2(4) Character encoding of data

Specifies the character encoding of the data.

Setting

Meaning

UTF-8

UTF-8

GB2312

GB2312 (for Chinese language)

big5

big5 (for Chinese language)

KSC5601

KSC5601 (for the Hangul alphabet (Korean))

Specify the character encoding used on the director server.

mark2(5) Character encoding of returned results data

Specifies the character encoding of the returned search results data.

Setting

Meaning

UTF-8

UTF-8

GB2312

GB2312 (for Chinese language)

big5

big5 (for Chinese language)

KSC5601

KSC5601 (for the Hangul alphabet (Korean))

Specify the character encoding used on the director server.

mark2(6) Director identifier

Specifies the director identifier of the director that will perform the data update.

mark1Exceptions

mark2ShunException

ShunException is output when the system properties are not set or the director identifier is specified as a null character or a space character (" ").

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


Contents Index PreviousNext

All Rights Reserved, Copyright(C) FUJITSU LIMITED 2006