code: private String flowToString(int flowcontrol) {
          switch (flowcontrol) {
              case AbstractSerialConnection.FLOW_CONTROL_DISABLED:
                  return "none";
              case AbstractSerialConnection.FLOW_CONTROL_XONXOFF_OUT_ENABLED:
                  return "xon/xoff out";
              case AbstractSerialConnection.FLOW_CONTROL_XONXOFF_IN_ENABLED:
                  return "xon/xoff in";
              case AbstractSerialConnection.FLOW_CONTROL_CTS_ENABLED:
                  return "rts/cts";
              case AbstractSerialConnection.FLOW_CONTROL_DTR_ENABLED:
                  return "dsr/dtr";
              default:
                  return "none";
          }
      }
docs: Converts an <tt>int</tt> describing a flow control type to a
  String describing a flow control type.
  
  @param flowcontrol the <tt>int</tt> describing the
  flow control type.
  @return the <tt>String</tt> describing the flow control type.