• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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_25) on Thu Jan 01 17:43:58 PST 2015 -->
6<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
7<title>ByteBufferBackedInputStream (jackson-databind 2.5.0 API)</title>
8<meta name="date" content="2015-01-01">
9<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
10</head>
11<body>
12<script type="text/javascript"><!--
13    if (location.href.indexOf('is-external=true') == -1) {
14        parent.document.title="ByteBufferBackedInputStream (jackson-databind 2.5.0 API)";
15    }
16//-->
17</script>
18<noscript>
19<div>JavaScript is disabled on your browser.</div>
20</noscript>
21<!-- ========= START OF TOP NAVBAR ======= -->
22<div class="topNav"><a name="navbar_top">
23<!--   -->
24</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
25<!--   -->
26</a>
27<ul class="navList" title="Navigation">
28<li><a href="../../../../../overview-summary.html">Overview</a></li>
29<li><a href="package-summary.html">Package</a></li>
30<li class="navBarCell1Rev">Class</li>
31<li><a href="class-use/ByteBufferBackedInputStream.html">Use</a></li>
32<li><a href="package-tree.html">Tree</a></li>
33<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
34<li><a href="../../../../../index-all.html">Index</a></li>
35<li><a href="../../../../../help-doc.html">Help</a></li>
36</ul>
37</div>
38<div class="subNav">
39<ul class="navList">
40<li><a href="../../../../../com/fasterxml/jackson/databind/util/BeanUtil.html" title="class in com.fasterxml.jackson.databind.util"><span class="strong">Prev Class</span></a></li>
41<li><a href="../../../../../com/fasterxml/jackson/databind/util/ByteBufferBackedOutputStream.html" title="class in com.fasterxml.jackson.databind.util"><span class="strong">Next Class</span></a></li>
42</ul>
43<ul class="navList">
44<li><a href="../../../../../index.html?com/fasterxml/jackson/databind/util/ByteBufferBackedInputStream.html" target="_top">Frames</a></li>
45<li><a href="ByteBufferBackedInputStream.html" target="_top">No Frames</a></li>
46</ul>
47<ul class="navList" id="allclasses_navbar_top">
48<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li>
49</ul>
50<div>
51<script type="text/javascript"><!--
52  allClassesLink = document.getElementById("allclasses_navbar_top");
53  if(window==top) {
54    allClassesLink.style.display = "block";
55  }
56  else {
57    allClassesLink.style.display = "none";
58  }
59  //-->
60</script>
61</div>
62<div>
63<ul class="subNavList">
64<li>Summary:&nbsp;</li>
65<li>Nested&nbsp;|&nbsp;</li>
66<li><a href="#field_summary">Field</a>&nbsp;|&nbsp;</li>
67<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
68<li><a href="#method_summary">Method</a></li>
69</ul>
70<ul class="subNavList">
71<li>Detail:&nbsp;</li>
72<li><a href="#field_detail">Field</a>&nbsp;|&nbsp;</li>
73<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
74<li><a href="#method_detail">Method</a></li>
75</ul>
76</div>
77<a name="skip-navbar_top">
78<!--   -->
79</a></div>
80<!-- ========= END OF TOP NAVBAR ========= -->
81<!-- ======== START OF CLASS DATA ======== -->
82<div class="header">
83<div class="subTitle">com.fasterxml.jackson.databind.util</div>
84<h2 title="Class ByteBufferBackedInputStream" class="title">Class ByteBufferBackedInputStream</h2>
85</div>
86<div class="contentContainer">
87<ul class="inheritance">
88<li><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
89<li>
90<ul class="inheritance">
91<li><a href="http://docs.oracle.com/javase/6/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">java.io.InputStream</a></li>
92<li>
93<ul class="inheritance">
94<li>com.fasterxml.jackson.databind.util.ByteBufferBackedInputStream</li>
95</ul>
96</li>
97</ul>
98</li>
99</ul>
100<div class="description">
101<ul class="blockList">
102<li class="blockList">
103<dl>
104<dt>All Implemented Interfaces:</dt>
105<dd><a href="http://docs.oracle.com/javase/6/docs/api/java/io/Closeable.html?is-external=true" title="class or interface in java.io">Closeable</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/AutoCloseable.html?is-external=true" title="class or interface in java.lang">AutoCloseable</a></dd>
106</dl>
107<hr>
108<br>
109<pre>public class <span class="strong">ByteBufferBackedInputStream</span>
110extends <a href="http://docs.oracle.com/javase/6/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</a></pre>
111<div class="block">Simple <a href="http://docs.oracle.com/javase/6/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io"><code>InputStream</code></a> implementation that exposes currently
112 available content of a <a href="http://docs.oracle.com/javase/6/docs/api/java/nio/ByteBuffer.html?is-external=true" title="class or interface in java.nio"><code>ByteBuffer</code></a>.</div>
113</li>
114</ul>
115</div>
116<div class="summary">
117<ul class="blockList">
118<li class="blockList">
119<!-- =========== FIELD SUMMARY =========== -->
120<ul class="blockList">
121<li class="blockList"><a name="field_summary">
122<!--   -->
123</a>
124<h3>Field Summary</h3>
125<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
126<caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
127<tr>
128<th class="colFirst" scope="col">Modifier and Type</th>
129<th class="colLast" scope="col">Field and Description</th>
130</tr>
131<tr class="altColor">
132<td class="colFirst"><code>protected <a href="http://docs.oracle.com/javase/6/docs/api/java/nio/ByteBuffer.html?is-external=true" title="class or interface in java.nio">ByteBuffer</a></code></td>
133<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/util/ByteBufferBackedInputStream.html#_b">_b</a></strong></code>&nbsp;</td>
134</tr>
135</table>
136</li>
137</ul>
138<!-- ======== CONSTRUCTOR SUMMARY ======== -->
139<ul class="blockList">
140<li class="blockList"><a name="constructor_summary">
141<!--   -->
142</a>
143<h3>Constructor Summary</h3>
144<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
145<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
146<tr>
147<th class="colOne" scope="col">Constructor and Description</th>
148</tr>
149<tr class="altColor">
150<td class="colOne"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/util/ByteBufferBackedInputStream.html#ByteBufferBackedInputStream(java.nio.ByteBuffer)">ByteBufferBackedInputStream</a></strong>(<a href="http://docs.oracle.com/javase/6/docs/api/java/nio/ByteBuffer.html?is-external=true" title="class or interface in java.nio">ByteBuffer</a>&nbsp;buf)</code>&nbsp;</td>
151</tr>
152</table>
153</li>
154</ul>
155<!-- ========== METHOD SUMMARY =========== -->
156<ul class="blockList">
157<li class="blockList"><a name="method_summary">
158<!--   -->
159</a>
160<h3>Method Summary</h3>
161<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
162<caption><span>Methods</span><span class="tabEnd">&nbsp;</span></caption>
163<tr>
164<th class="colFirst" scope="col">Modifier and Type</th>
165<th class="colLast" scope="col">Method and Description</th>
166</tr>
167<tr class="altColor">
168<td class="colFirst"><code>int</code></td>
169<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/util/ByteBufferBackedInputStream.html#available()">available</a></strong>()</code>&nbsp;</td>
170</tr>
171<tr class="rowColor">
172<td class="colFirst"><code>int</code></td>
173<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/util/ByteBufferBackedInputStream.html#read()">read</a></strong>()</code>&nbsp;</td>
174</tr>
175<tr class="altColor">
176<td class="colFirst"><code>int</code></td>
177<td class="colLast"><code><strong><a href="../../../../../com/fasterxml/jackson/databind/util/ByteBufferBackedInputStream.html#read(byte[], int, int)">read</a></strong>(byte[]&nbsp;bytes,
178    int&nbsp;off,
179    int&nbsp;len)</code>&nbsp;</td>
180</tr>
181</table>
182<ul class="blockList">
183<li class="blockList"><a name="methods_inherited_from_class_java.io.InputStream">
184<!--   -->
185</a>
186<h3>Methods inherited from class&nbsp;java.io.<a href="http://docs.oracle.com/javase/6/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</a></h3>
187<code><a href="http://docs.oracle.com/javase/6/docs/api/java/io/InputStream.html?is-external=true#close()" title="class or interface in java.io">close</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/io/InputStream.html?is-external=true#mark(int)" title="class or interface in java.io">mark</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/io/InputStream.html?is-external=true#markSupported()" title="class or interface in java.io">markSupported</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/io/InputStream.html?is-external=true#read(byte[])" title="class or interface in java.io">read</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/io/InputStream.html?is-external=true#reset()" title="class or interface in java.io">reset</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/io/InputStream.html?is-external=true#skip(long)" title="class or interface in java.io">skip</a></code></li>
188</ul>
189<ul class="blockList">
190<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
191<!--   -->
192</a>
193<h3>Methods inherited from class&nbsp;java.lang.<a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
194<code><a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</a></code></li>
195</ul>
196</li>
197</ul>
198</li>
199</ul>
200</div>
201<div class="details">
202<ul class="blockList">
203<li class="blockList">
204<!-- ============ FIELD DETAIL =========== -->
205<ul class="blockList">
206<li class="blockList"><a name="field_detail">
207<!--   -->
208</a>
209<h3>Field Detail</h3>
210<a name="_b">
211<!--   -->
212</a>
213<ul class="blockListLast">
214<li class="blockList">
215<h4>_b</h4>
216<pre>protected final&nbsp;<a href="http://docs.oracle.com/javase/6/docs/api/java/nio/ByteBuffer.html?is-external=true" title="class or interface in java.nio">ByteBuffer</a> _b</pre>
217</li>
218</ul>
219</li>
220</ul>
221<!-- ========= CONSTRUCTOR DETAIL ======== -->
222<ul class="blockList">
223<li class="blockList"><a name="constructor_detail">
224<!--   -->
225</a>
226<h3>Constructor Detail</h3>
227<a name="ByteBufferBackedInputStream(java.nio.ByteBuffer)">
228<!--   -->
229</a>
230<ul class="blockListLast">
231<li class="blockList">
232<h4>ByteBufferBackedInputStream</h4>
233<pre>public&nbsp;ByteBufferBackedInputStream(<a href="http://docs.oracle.com/javase/6/docs/api/java/nio/ByteBuffer.html?is-external=true" title="class or interface in java.nio">ByteBuffer</a>&nbsp;buf)</pre>
234</li>
235</ul>
236</li>
237</ul>
238<!-- ============ METHOD DETAIL ========== -->
239<ul class="blockList">
240<li class="blockList"><a name="method_detail">
241<!--   -->
242</a>
243<h3>Method Detail</h3>
244<a name="available()">
245<!--   -->
246</a>
247<ul class="blockList">
248<li class="blockList">
249<h4>available</h4>
250<pre>public&nbsp;int&nbsp;available()</pre>
251<dl>
252<dt><strong>Overrides:</strong></dt>
253<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/io/InputStream.html?is-external=true#available()" title="class or interface in java.io">available</a></code>&nbsp;in class&nbsp;<code><a href="http://docs.oracle.com/javase/6/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</a></code></dd>
254</dl>
255</li>
256</ul>
257<a name="read()">
258<!--   -->
259</a>
260<ul class="blockList">
261<li class="blockList">
262<h4>read</h4>
263<pre>public&nbsp;int&nbsp;read()
264         throws <a href="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
265<dl>
266<dt><strong>Specified by:</strong></dt>
267<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/io/InputStream.html?is-external=true#read()" title="class or interface in java.io">read</a></code>&nbsp;in class&nbsp;<code><a href="http://docs.oracle.com/javase/6/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</a></code></dd>
268<dt><span class="strong">Throws:</span></dt>
269<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd></dl>
270</li>
271</ul>
272<a name="read(byte[], int, int)">
273<!--   -->
274</a>
275<ul class="blockListLast">
276<li class="blockList">
277<h4>read</h4>
278<pre>public&nbsp;int&nbsp;read(byte[]&nbsp;bytes,
279       int&nbsp;off,
280       int&nbsp;len)
281         throws <a href="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></pre>
282<dl>
283<dt><strong>Overrides:</strong></dt>
284<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/io/InputStream.html?is-external=true#read(byte[], int, int)" title="class or interface in java.io">read</a></code>&nbsp;in class&nbsp;<code><a href="http://docs.oracle.com/javase/6/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</a></code></dd>
285<dt><span class="strong">Throws:</span></dt>
286<dd><code><a href="http://docs.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</a></code></dd></dl>
287</li>
288</ul>
289</li>
290</ul>
291</li>
292</ul>
293</div>
294</div>
295<!-- ========= END OF CLASS DATA ========= -->
296<!-- ======= START OF BOTTOM NAVBAR ====== -->
297<div class="bottomNav"><a name="navbar_bottom">
298<!--   -->
299</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
300<!--   -->
301</a>
302<ul class="navList" title="Navigation">
303<li><a href="../../../../../overview-summary.html">Overview</a></li>
304<li><a href="package-summary.html">Package</a></li>
305<li class="navBarCell1Rev">Class</li>
306<li><a href="class-use/ByteBufferBackedInputStream.html">Use</a></li>
307<li><a href="package-tree.html">Tree</a></li>
308<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
309<li><a href="../../../../../index-all.html">Index</a></li>
310<li><a href="../../../../../help-doc.html">Help</a></li>
311</ul>
312</div>
313<div class="subNav">
314<ul class="navList">
315<li><a href="../../../../../com/fasterxml/jackson/databind/util/BeanUtil.html" title="class in com.fasterxml.jackson.databind.util"><span class="strong">Prev Class</span></a></li>
316<li><a href="../../../../../com/fasterxml/jackson/databind/util/ByteBufferBackedOutputStream.html" title="class in com.fasterxml.jackson.databind.util"><span class="strong">Next Class</span></a></li>
317</ul>
318<ul class="navList">
319<li><a href="../../../../../index.html?com/fasterxml/jackson/databind/util/ByteBufferBackedInputStream.html" target="_top">Frames</a></li>
320<li><a href="ByteBufferBackedInputStream.html" target="_top">No Frames</a></li>
321</ul>
322<ul class="navList" id="allclasses_navbar_bottom">
323<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li>
324</ul>
325<div>
326<script type="text/javascript"><!--
327  allClassesLink = document.getElementById("allclasses_navbar_bottom");
328  if(window==top) {
329    allClassesLink.style.display = "block";
330  }
331  else {
332    allClassesLink.style.display = "none";
333  }
334  //-->
335</script>
336</div>
337<div>
338<ul class="subNavList">
339<li>Summary:&nbsp;</li>
340<li>Nested&nbsp;|&nbsp;</li>
341<li><a href="#field_summary">Field</a>&nbsp;|&nbsp;</li>
342<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
343<li><a href="#method_summary">Method</a></li>
344</ul>
345<ul class="subNavList">
346<li>Detail:&nbsp;</li>
347<li><a href="#field_detail">Field</a>&nbsp;|&nbsp;</li>
348<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
349<li><a href="#method_detail">Method</a></li>
350</ul>
351</div>
352<a name="skip-navbar_bottom">
353<!--   -->
354</a></div>
355<!-- ======== END OF BOTTOM NAVBAR ======= -->
356<p class="legalCopy"><small>Copyright &#169; 2014-2015 <a href="http://fasterxml.com/">FasterXML</a>. All Rights Reserved.</small></p>
357</body>
358</html>
359