serialExt
Class Serial

java.lang.Object
  |
  +--serialExt.Serial

public class Serial
extends java.lang.Object

Extension example. Uses the Java Communication API to enumerate parallel and serial ports.

alexis.grandemange@pagebox.net

Copyright (c) 2002-2003 Alexis Grandemange

This program is free software; you can redistribute it and/or
 modify it under the terms of the GNU Lesser General Public License
 as published by the Free Software Foundation; version 2.1 of the
 License.
 This library is distributed in the hope that it will be useful,
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 GNU Lesser General Public License for more details.
 A copy of the GNU Lesser General Public License lesser.txt should be
 included in the distribution.

Version:
0, 0, 1
Author:
Alexis Grandemange

Constructor Summary
Serial()
          Constructor.
 
Method Summary
 java.lang.Object call(java.lang.Object obj)
          ExtensionIF method.
static void main(java.lang.String[] args)
          To test the extension outside PageBox.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Serial

public Serial()
Constructor. Could have parameters.

Method Detail

call

public java.lang.Object call(java.lang.Object obj)
ExtensionIF method.

Parameters:
obj - parameter (not used)
Returns:
port ArrayList

main

public static void main(java.lang.String[] args)
To test the extension outside PageBox.

Parameters:
args - command line arguments