JAVA/CORBA CLASSES


Examples: Platform property
Database 'Lotus Domino Designer 8.5.1 Help', View '(All)|All'

This application prints the name of the platform.

import lotus.domino.*;
class platform extends NotesThread
{
 public static void main(String argv[])
   {
       platform t = new platform();
       t.start();
   }
 public void runNotes()
   {
   try
     {
       Session s = NotesFactory.createSession();
       String p = s.getPlatform();
       System.out.println("Platform = " + p);
     }
   catch (Exception e)
     {
       e.printStackTrace();
     }
   }
}

See Also