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

Part 1 The Basic for Developing Application> Chapter 7 Shunsaku File> 7.3 Switching Shunsaku Files

7.3.1 Specifying with the Java API

Shunsaku File can be specified using the parameter in the setShunsakuFileName method.

mark1Syntax

ShunConnection object.setShunsakuFileName( Shunsaku File name );

mark1Arguments

mark2Shunsaku File name

Specify the name of Shunsaku File after switching Shunsaku File.

mark1Sample Code

For the case when switching from Shunsaku File "fileA" to Shunsaku File "fileB".

//Establish connection in fileA
ShunConnection con = new ShunConnection("DirSvr1",33101, "fileA");:
//Switch to fileB
con.setShunsakuFileName("fileB");
:

Contents Index PreviousNext

All Rights Reserved, Copyright(C) FUJITSU LIMITED 2006