} else return false;
} else { return false; }
	private boolean registerSpecifiedPorts(int PortType)	{		String val = null;		try		    {		     String ext_dir=System.getProperty("java.ext.dirs")+System.getProperty("file.separator");		     FileInputStream rxtx_prop=new FileInputStream(ext_dir+"gnu.io.rxtx.properties");		     Properties p=new Properties();		     p.load(rxtx_prop);		     System.setProperties(p);		     for (Iterator it = p.keySet().iterator(); it.hasNext();) {		          String key = (String) it.next();		          System.setProperty(key, p.getProperty(key));		     }		    }catch(Exception e){			if (debug){			    System.out.println("The file: gnu.io.rxtx.properties doesn't exists.");			    System.out.println(e.toString());			    }//end if			}//end catch		if (debug)			System.out.println("checking for system-known ports of type "+PortType);		if (debug)			System.out.println("checking registry for ports of type "+PortType);		switch (PortType) {			case CommPortIdentifier.PORT_SERIAL:				if ((val = System.getProperty("gnu.io.rxtx.SerialPorts")) == null)				val = System.getProperty("gnu.io.SerialPorts");				break;			case CommPortIdentifier.PORT_PARALLEL:				if ((val = System.getProperty("gnu.io.rxtx.ParallelPorts")) == null)				val = System.getProperty("gnu.io.ParallelPorts");				break;			default:				if (debug)				System.out.println("unknown port type "+PortType+" passed to RXTXCommDriver.registerSpecifiedPorts()");		}		if (val != null) {			addSpecifiedPorts(val, PortType);			return true;		} else return false;	}