com.eurotech.framework.comm
Class CommURI.Builder

java.lang.Object
  extended by com.eurotech.framework.comm.CommURI.Builder
Enclosing class:
CommURI

public static class CommURI.Builder
extends Object

Builder class used as a helper in building the components of a CommURI

Author:
eurotech

Constructor Summary
CommURI.Builder(String port)
           
 
Method Summary
 CommURI build()
           
 CommURI.Builder withBaudRate(int baudRate)
           
 CommURI.Builder withDataBits(int dataBits)
           
 CommURI.Builder withFlowControl(int flowControl)
           
 CommURI.Builder withParity(int parity)
           
 CommURI.Builder withStopBits(int stopBits)
           
 CommURI.Builder withTimeout(int timeout)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CommURI.Builder

public CommURI.Builder(String port)
Method Detail

withBaudRate

public CommURI.Builder withBaudRate(int baudRate)

withDataBits

public CommURI.Builder withDataBits(int dataBits)

withStopBits

public CommURI.Builder withStopBits(int stopBits)

withParity

public CommURI.Builder withParity(int parity)

withFlowControl

public CommURI.Builder withFlowControl(int flowControl)

withTimeout

public CommURI.Builder withTimeout(int timeout)

build

public CommURI build()


Copyright © 2013. All Rights Reserved.