⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 javax.comm.commdriver.html

📁 java串口通讯api
💻 HTML
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<!--NewPage-->
<html>
<head>
<!-- Generated by javadoc on Sun Nov 15 16:06:15 PST 1998 -->
<title>
  Interface javax.comm.CommDriver
</title>
</head>
<body>
<a name="_top_"></a>
<pre>
<a href="packages.html">All Packages</a>  <a href="tree.html">Class Hierarchy</a>  <a href="Package-javax.comm.html">This Package</a>  <a href="Package-javax.comm.html">Previous</a>  <a href="javax.comm.CommPortOwnershipListener.html#_top_">Next</a>  <a href="AllNames.html">Index</a></pre>
<hr>
<h1>
  Interface javax.comm.CommDriver
</h1>
<dl>
  <dt> public interface <b>CommDriver</b>
</dl>
Part of the loadable device driver interface. <CODE>CommDriver</CODE> should not be used by application-level programs.
<p>
<hr>
<a name="index"></a>
<h2>
  <img src="images/method-index.gif" width=207 height=38 alt="Method Index">
</h2>
<dl>
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#getCommPort(java.lang.String, int)"><b>getCommPort</b></a>(String, int)
  <dd>  getCommPort() will be called by CommPortIdentifier from its open() method.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#initialize()"><b>initialize</b></a>()
  <dd>  initialize() will be called by the CommPortIdentifier's static initializer.
</dl>
<a name="methods"></a>
<h2>
  <img src="images/methods.gif" width=151 height=38 alt="Methods">
</h2>
<a name="initialize()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="initialize"><b>initialize</b></a>
<pre>
 public abstract void initialize()
</pre>
<dl>
  <dd> initialize() will be called by the CommPortIdentifier's static initializer. The responsibility of this method is: 1) Ensure that that the hardware is present. 2) Load any required native libraries. 3) Register the port names with the CommPortIdentifier.
<p>
</dl>
<a name="getCommPort(java.lang.String, int)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="getCommPort"><b>getCommPort</b></a>
<pre>
 public abstract <a href="javax.comm.CommPort.html#_top_">CommPort</a> getCommPort(String portName,
                                      int portType)
</pre>
<dl>
  <dd> getCommPort() will be called by CommPortIdentifier from its open() method. portName is a string that was registered earlier using the CommPortIdentifier.addPortName() method. getCommPort() returns an object that extends either SerialPort or ParallelPort.
<p>
</dl>
<hr>
<pre>
<a href="packages.html">All Packages</a>  <a href="tree.html">Class Hierarchy</a>  <a href="Package-javax.comm.html">This Package</a>  <a href="Package-javax.comm.html">Previous</a>  <a href="javax.comm.CommPortOwnershipListener.html#_top_">Next</a>  <a href="AllNames.html">Index</a></pre>
</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -