Interstage Shunsaku Data Manager Application Development Guide - Microsoft(R) Windows(R) 2000/ Microsoft(R) Windows Server(TM) 2003 - - UNIX - |
Contents
Index
![]() ![]() |
Appendix M Java APIs Used in V6.0L20 and Earlier | > M.2 ShunBatch Class |
This method creates an instance of ShunBatch.
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; |
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".
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.
Specify null.
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.
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.
Specifies the director identifier of the director that will perform the data update.
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
![]() ![]() |