public class platform6 implements Runnable
{
String host="172.16.6.60", user="admin", pwd="password";
String server = null;
// the dir to save xml
String dir = "c:\\xml";
// max record to read
int max = 20;
// no use in this example
Boolean done = null;
public static void main(String argv[])
{
platform6 t = new platform6();
Thread nt = new Thread((Runnable)t);
nt.start();
}
public platform6()
{
}
public void run()
{
BufferedOutputStream out = null;
try
{
Session s = NotesFactory.createSession(
host, user, pwd);
String p = s.getPlatform();
System.out.println("Platform = " + p);