AcmInputStream.html 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325
  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  2. <!-- NewPage -->
  3. <html lang="en">
  4. <head>
  5. <!-- Generated by javadoc (version 1.7.0_21) on Wed Sep 25 23:19:36 KST 2013 -->
  6. <title>AcmInputStream</title>
  7. <meta name="date" content="2013-09-25">
  8. <link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
  9. </head>
  10. <body>
  11. <script type="text/javascript"><!--
  12. if (location.href.indexOf('is-external=true') == -1) {
  13. parent.document.title="AcmInputStream";
  14. }
  15. //-->
  16. </script>
  17. <noscript>
  18. <div>JavaScript is disabled on your browser.</div>
  19. </noscript>
  20. <!-- ========= START OF TOP NAVBAR ======= -->
  21. <div class="topNav"><a name="navbar_top">
  22. <!-- -->
  23. </a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
  24. <!-- -->
  25. </a>
  26. <ul class="navList" title="Navigation">
  27. <li><a href="../../../../overview-summary.html">Overview</a></li>
  28. <li><a href="package-summary.html">Package</a></li>
  29. <li class="navBarCell1Rev">Class</li>
  30. <li><a href="package-tree.html">Tree</a></li>
  31. <li><a href="../../../../deprecated-list.html">Deprecated</a></li>
  32. <li><a href="../../../../index-all.html">Index</a></li>
  33. <li><a href="../../../../help-doc.html">Help</a></li>
  34. </ul>
  35. </div>
  36. <div class="subNav">
  37. <ul class="navList">
  38. <li><a href="../../../../org/ros/android/android_acm_serial/AcmDevicePermissionCallback.html" title="interface in org.ros.android.android_acm_serial"><span class="strong">Prev Class</span></a></li>
  39. <li><a href="../../../../org/ros/android/android_acm_serial/AcmOutputStream.html" title="class in org.ros.android.android_acm_serial"><span class="strong">Next Class</span></a></li>
  40. </ul>
  41. <ul class="navList">
  42. <li><a href="../../../../index.html?org/ros/android/android_acm_serial/AcmInputStream.html" target="_top">Frames</a></li>
  43. <li><a href="AcmInputStream.html" target="_top">No Frames</a></li>
  44. </ul>
  45. <ul class="navList" id="allclasses_navbar_top">
  46. <li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
  47. </ul>
  48. <div>
  49. <script type="text/javascript"><!--
  50. allClassesLink = document.getElementById("allclasses_navbar_top");
  51. if(window==top) {
  52. allClassesLink.style.display = "block";
  53. }
  54. else {
  55. allClassesLink.style.display = "none";
  56. }
  57. //-->
  58. </script>
  59. </div>
  60. <div>
  61. <ul class="subNavList">
  62. <li>Summary:&nbsp;</li>
  63. <li>Nested&nbsp;|&nbsp;</li>
  64. <li>Field&nbsp;|&nbsp;</li>
  65. <li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
  66. <li><a href="#method_summary">Method</a></li>
  67. </ul>
  68. <ul class="subNavList">
  69. <li>Detail:&nbsp;</li>
  70. <li>Field&nbsp;|&nbsp;</li>
  71. <li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
  72. <li><a href="#method_detail">Method</a></li>
  73. </ul>
  74. </div>
  75. <a name="skip-navbar_top">
  76. <!-- -->
  77. </a></div>
  78. <!-- ========= END OF TOP NAVBAR ========= -->
  79. <!-- ======== START OF CLASS DATA ======== -->
  80. <div class="header">
  81. <div class="subTitle">org.ros.android.android_acm_serial</div>
  82. <h2 title="Class AcmInputStream" class="title">Class AcmInputStream</h2>
  83. </div>
  84. <div class="contentContainer">
  85. <ul class="inheritance">
  86. <li>java.lang.Object</li>
  87. <li>
  88. <ul class="inheritance">
  89. <li>java.io.InputStream</li>
  90. <li>
  91. <ul class="inheritance">
  92. <li>org.ros.android.android_acm_serial.AcmInputStream</li>
  93. </ul>
  94. </li>
  95. </ul>
  96. </li>
  97. </ul>
  98. <div class="description">
  99. <ul class="blockList">
  100. <li class="blockList">
  101. <dl>
  102. <dt>All Implemented Interfaces:</dt>
  103. <dd>java.io.Closeable, java.lang.AutoCloseable</dd>
  104. </dl>
  105. <hr>
  106. <br>
  107. <pre>public class <span class="strong">AcmInputStream</span>
  108. extends java.io.InputStream</pre>
  109. </li>
  110. </ul>
  111. </div>
  112. <div class="summary">
  113. <ul class="blockList">
  114. <li class="blockList">
  115. <!-- ======== CONSTRUCTOR SUMMARY ======== -->
  116. <ul class="blockList">
  117. <li class="blockList"><a name="constructor_summary">
  118. <!-- -->
  119. </a>
  120. <h3>Constructor Summary</h3>
  121. <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
  122. <caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
  123. <tr>
  124. <th class="colOne" scope="col">Constructor and Description</th>
  125. </tr>
  126. <tr class="altColor">
  127. <td class="colOne"><code><strong><a href="../../../../org/ros/android/android_acm_serial/AcmInputStream.html#AcmInputStream(UsbDeviceConnection, UsbEndpoint)">AcmInputStream</a></strong>(UsbDeviceConnection&nbsp;connection,
  128. UsbEndpoint&nbsp;endpoint)</code>&nbsp;</td>
  129. </tr>
  130. </table>
  131. </li>
  132. </ul>
  133. <!-- ========== METHOD SUMMARY =========== -->
  134. <ul class="blockList">
  135. <li class="blockList"><a name="method_summary">
  136. <!-- -->
  137. </a>
  138. <h3>Method Summary</h3>
  139. <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
  140. <caption><span>Methods</span><span class="tabEnd">&nbsp;</span></caption>
  141. <tr>
  142. <th class="colFirst" scope="col">Modifier and Type</th>
  143. <th class="colLast" scope="col">Method and Description</th>
  144. </tr>
  145. <tr class="altColor">
  146. <td class="colFirst"><code>void</code></td>
  147. <td class="colLast"><code><strong><a href="../../../../org/ros/android/android_acm_serial/AcmInputStream.html#close()">close</a></strong>()</code>&nbsp;</td>
  148. </tr>
  149. <tr class="rowColor">
  150. <td class="colFirst"><code>int</code></td>
  151. <td class="colLast"><code><strong><a href="../../../../org/ros/android/android_acm_serial/AcmInputStream.html#read()">read</a></strong>()</code>&nbsp;</td>
  152. </tr>
  153. <tr class="altColor">
  154. <td class="colFirst"><code>int</code></td>
  155. <td class="colLast"><code><strong><a href="../../../../org/ros/android/android_acm_serial/AcmInputStream.html#read(byte[], int, int)">read</a></strong>(byte[]&nbsp;buffer,
  156. int&nbsp;offset,
  157. int&nbsp;count)</code>&nbsp;</td>
  158. </tr>
  159. </table>
  160. <ul class="blockList">
  161. <li class="blockList"><a name="methods_inherited_from_class_java.io.InputStream">
  162. <!-- -->
  163. </a>
  164. <h3>Methods inherited from class&nbsp;java.io.InputStream</h3>
  165. <code>available, mark, markSupported, read, reset, skip</code></li>
  166. </ul>
  167. <ul class="blockList">
  168. <li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
  169. <!-- -->
  170. </a>
  171. <h3>Methods inherited from class&nbsp;java.lang.Object</h3>
  172. <code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
  173. </ul>
  174. </li>
  175. </ul>
  176. </li>
  177. </ul>
  178. </div>
  179. <div class="details">
  180. <ul class="blockList">
  181. <li class="blockList">
  182. <!-- ========= CONSTRUCTOR DETAIL ======== -->
  183. <ul class="blockList">
  184. <li class="blockList"><a name="constructor_detail">
  185. <!-- -->
  186. </a>
  187. <h3>Constructor Detail</h3>
  188. <a name="AcmInputStream(UsbDeviceConnection, UsbEndpoint)">
  189. <!-- -->
  190. </a>
  191. <ul class="blockListLast">
  192. <li class="blockList">
  193. <h4>AcmInputStream</h4>
  194. <pre>public&nbsp;AcmInputStream(UsbDeviceConnection&nbsp;connection,
  195. UsbEndpoint&nbsp;endpoint)</pre>
  196. </li>
  197. </ul>
  198. </li>
  199. </ul>
  200. <!-- ============ METHOD DETAIL ========== -->
  201. <ul class="blockList">
  202. <li class="blockList"><a name="method_detail">
  203. <!-- -->
  204. </a>
  205. <h3>Method Detail</h3>
  206. <a name="close()">
  207. <!-- -->
  208. </a>
  209. <ul class="blockList">
  210. <li class="blockList">
  211. <h4>close</h4>
  212. <pre>public&nbsp;void&nbsp;close()
  213. throws java.io.IOException</pre>
  214. <dl>
  215. <dt><strong>Specified by:</strong></dt>
  216. <dd><code>close</code>&nbsp;in interface&nbsp;<code>java.io.Closeable</code></dd>
  217. <dt><strong>Specified by:</strong></dt>
  218. <dd><code>close</code>&nbsp;in interface&nbsp;<code>java.lang.AutoCloseable</code></dd>
  219. <dt><strong>Overrides:</strong></dt>
  220. <dd><code>close</code>&nbsp;in class&nbsp;<code>java.io.InputStream</code></dd>
  221. <dt><span class="strong">Throws:</span></dt>
  222. <dd><code>java.io.IOException</code></dd></dl>
  223. </li>
  224. </ul>
  225. <a name="read(byte[], int, int)">
  226. <!-- -->
  227. </a>
  228. <ul class="blockList">
  229. <li class="blockList">
  230. <h4>read</h4>
  231. <pre>public&nbsp;int&nbsp;read(byte[]&nbsp;buffer,
  232. int&nbsp;offset,
  233. int&nbsp;count)
  234. throws java.io.IOException</pre>
  235. <dl>
  236. <dt><strong>Overrides:</strong></dt>
  237. <dd><code>read</code>&nbsp;in class&nbsp;<code>java.io.InputStream</code></dd>
  238. <dt><span class="strong">Throws:</span></dt>
  239. <dd><code>java.io.IOException</code></dd></dl>
  240. </li>
  241. </ul>
  242. <a name="read()">
  243. <!-- -->
  244. </a>
  245. <ul class="blockListLast">
  246. <li class="blockList">
  247. <h4>read</h4>
  248. <pre>public&nbsp;int&nbsp;read()
  249. throws java.io.IOException</pre>
  250. <dl>
  251. <dt><strong>Specified by:</strong></dt>
  252. <dd><code>read</code>&nbsp;in class&nbsp;<code>java.io.InputStream</code></dd>
  253. <dt><span class="strong">Throws:</span></dt>
  254. <dd><code>java.io.IOException</code></dd></dl>
  255. </li>
  256. </ul>
  257. </li>
  258. </ul>
  259. </li>
  260. </ul>
  261. </div>
  262. </div>
  263. <!-- ========= END OF CLASS DATA ========= -->
  264. <!-- ======= START OF BOTTOM NAVBAR ====== -->
  265. <div class="bottomNav"><a name="navbar_bottom">
  266. <!-- -->
  267. </a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
  268. <!-- -->
  269. </a>
  270. <ul class="navList" title="Navigation">
  271. <li><a href="../../../../overview-summary.html">Overview</a></li>
  272. <li><a href="package-summary.html">Package</a></li>
  273. <li class="navBarCell1Rev">Class</li>
  274. <li><a href="package-tree.html">Tree</a></li>
  275. <li><a href="../../../../deprecated-list.html">Deprecated</a></li>
  276. <li><a href="../../../../index-all.html">Index</a></li>
  277. <li><a href="../../../../help-doc.html">Help</a></li>
  278. </ul>
  279. </div>
  280. <div class="subNav">
  281. <ul class="navList">
  282. <li><a href="../../../../org/ros/android/android_acm_serial/AcmDevicePermissionCallback.html" title="interface in org.ros.android.android_acm_serial"><span class="strong">Prev Class</span></a></li>
  283. <li><a href="../../../../org/ros/android/android_acm_serial/AcmOutputStream.html" title="class in org.ros.android.android_acm_serial"><span class="strong">Next Class</span></a></li>
  284. </ul>
  285. <ul class="navList">
  286. <li><a href="../../../../index.html?org/ros/android/android_acm_serial/AcmInputStream.html" target="_top">Frames</a></li>
  287. <li><a href="AcmInputStream.html" target="_top">No Frames</a></li>
  288. </ul>
  289. <ul class="navList" id="allclasses_navbar_bottom">
  290. <li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
  291. </ul>
  292. <div>
  293. <script type="text/javascript"><!--
  294. allClassesLink = document.getElementById("allclasses_navbar_bottom");
  295. if(window==top) {
  296. allClassesLink.style.display = "block";
  297. }
  298. else {
  299. allClassesLink.style.display = "none";
  300. }
  301. //-->
  302. </script>
  303. </div>
  304. <div>
  305. <ul class="subNavList">
  306. <li>Summary:&nbsp;</li>
  307. <li>Nested&nbsp;|&nbsp;</li>
  308. <li>Field&nbsp;|&nbsp;</li>
  309. <li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
  310. <li><a href="#method_summary">Method</a></li>
  311. </ul>
  312. <ul class="subNavList">
  313. <li>Detail:&nbsp;</li>
  314. <li>Field&nbsp;|&nbsp;</li>
  315. <li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
  316. <li><a href="#method_detail">Method</a></li>
  317. </ul>
  318. </div>
  319. <a name="skip-navbar_bottom">
  320. <!-- -->
  321. </a></div>
  322. <!-- ======== END OF BOTTOM NAVBAR ======= -->
  323. </body>
  324. </html>