source: proiecte/HadoopJUnit/hadoop-0.20.1/docs/api/org/apache/hadoop/io/compress/bzip2/BZip2DummyDecompressor.html @ 120

Last change on this file since 120 was 120, checked in by (none), 14 years ago

Added the mail files for the Hadoop JUNit Project

  • Property svn:executable set to *
File size: 22.9 KB
Line 
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2<!--NewPage-->
3<HTML>
4<HEAD>
5<!-- Generated by javadoc (build 1.6.0_07) on Tue Sep 01 20:56:53 UTC 2009 -->
6<TITLE>
7BZip2DummyDecompressor (Hadoop 0.20.1 API)
8</TITLE>
9
10<META NAME="date" CONTENT="2009-09-01">
11
12<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../../stylesheet.css" TITLE="Style">
13
14<SCRIPT type="text/javascript">
15function windowTitle()
16{
17    if (location.href.indexOf('is-external=true') == -1) {
18        parent.document.title="BZip2DummyDecompressor (Hadoop 0.20.1 API)";
19    }
20}
21</SCRIPT>
22<NOSCRIPT>
23</NOSCRIPT>
24
25</HEAD>
26
27<BODY BGCOLOR="white" onload="windowTitle();">
28<HR>
29
30
31<!-- ========= START OF TOP NAVBAR ======= -->
32<A NAME="navbar_top"><!-- --></A>
33<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
34<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
35<TR>
36<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
37<A NAME="navbar_top_firstrow"><!-- --></A>
38<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
39  <TR ALIGN="center" VALIGN="top">
40  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
41  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
42  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
43  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/BZip2DummyDecompressor.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
44  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
45  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
46  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
47  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
48  </TR>
49</TABLE>
50</TD>
51<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
52</EM>
53</TD>
54</TR>
55
56<TR>
57<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
58&nbsp;<A HREF="../../../../../../org/apache/hadoop/io/compress/bzip2/BZip2DummyCompressor.html" title="class in org.apache.hadoop.io.compress.bzip2"><B>PREV CLASS</B></A>&nbsp;
59&nbsp;<A HREF="../../../../../../org/apache/hadoop/io/compress/bzip2/CBZip2InputStream.html" title="class in org.apache.hadoop.io.compress.bzip2"><B>NEXT CLASS</B></A></FONT></TD>
60<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
61  <A HREF="../../../../../../index.html?org/apache/hadoop/io/compress/bzip2/BZip2DummyDecompressor.html" target="_top"><B>FRAMES</B></A>  &nbsp;
62&nbsp;<A HREF="BZip2DummyDecompressor.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
63&nbsp;<SCRIPT type="text/javascript">
64  <!--
65  if(window==top) {
66    document.writeln('<A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
67  }
68  //-->
69</SCRIPT>
70<NOSCRIPT>
71  <A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A>
72</NOSCRIPT>
73
74
75</FONT></TD>
76</TR>
77<TR>
78<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
79  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
80<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
81DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
82</TR>
83</TABLE>
84<A NAME="skip-navbar_top"></A>
85<!-- ========= END OF TOP NAVBAR ========= -->
86
87<HR>
88<!-- ======== START OF CLASS DATA ======== -->
89<H2>
90<FONT SIZE="-1">
91org.apache.hadoop.io.compress.bzip2</FONT>
92<BR>
93Class BZip2DummyDecompressor</H2>
94<PRE>
95<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</A>
96  <IMG SRC="../../../../../../resources/inherit.gif" ALT="extended by "><B>org.apache.hadoop.io.compress.bzip2.BZip2DummyDecompressor</B>
97</PRE>
98<DL>
99<DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../../../../org/apache/hadoop/io/compress/Decompressor.html" title="interface in org.apache.hadoop.io.compress">Decompressor</A></DD>
100</DL>
101<HR>
102<DL>
103<DT><PRE>public class <B>BZip2DummyDecompressor</B><DT>extends <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A><DT>implements <A HREF="../../../../../../org/apache/hadoop/io/compress/Decompressor.html" title="interface in org.apache.hadoop.io.compress">Decompressor</A></DL>
104</PRE>
105
106<P>
107This is a dummy decompressor for BZip2.
108<P>
109
110<P>
111<HR>
112
113<P>
114
115<!-- ======== CONSTRUCTOR SUMMARY ======== -->
116
117<A NAME="constructor_summary"><!-- --></A>
118<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
119<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
120<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
121<B>Constructor Summary</B></FONT></TH>
122</TR>
123<TR BGCOLOR="white" CLASS="TableRowColor">
124<TD><CODE><B><A HREF="../../../../../../org/apache/hadoop/io/compress/bzip2/BZip2DummyDecompressor.html#BZip2DummyDecompressor()">BZip2DummyDecompressor</A></B>()</CODE>
125
126<BR>
127&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
128</TR>
129</TABLE>
130&nbsp;
131<!-- ========== METHOD SUMMARY =========== -->
132
133<A NAME="method_summary"><!-- --></A>
134<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
135<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
136<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
137<B>Method Summary</B></FONT></TH>
138</TR>
139<TR BGCOLOR="white" CLASS="TableRowColor">
140<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
141<CODE>&nbsp;int</CODE></FONT></TD>
142<TD><CODE><B><A HREF="../../../../../../org/apache/hadoop/io/compress/bzip2/BZip2DummyDecompressor.html#decompress(byte[], int, int)">decompress</A></B>(byte[]&nbsp;b,
143           int&nbsp;off,
144           int&nbsp;len)</CODE>
145
146<BR>
147&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Fills specified buffer with uncompressed data.</TD>
148</TR>
149<TR BGCOLOR="white" CLASS="TableRowColor">
150<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
151<CODE>&nbsp;void</CODE></FONT></TD>
152<TD><CODE><B><A HREF="../../../../../../org/apache/hadoop/io/compress/bzip2/BZip2DummyDecompressor.html#end()">end</A></B>()</CODE>
153
154<BR>
155&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Closes the decompressor and discards any unprocessed input.</TD>
156</TR>
157<TR BGCOLOR="white" CLASS="TableRowColor">
158<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
159<CODE>&nbsp;boolean</CODE></FONT></TD>
160<TD><CODE><B><A HREF="../../../../../../org/apache/hadoop/io/compress/bzip2/BZip2DummyDecompressor.html#finished()">finished</A></B>()</CODE>
161
162<BR>
163&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if the end of the compressed
164 data output stream has been reached.</TD>
165</TR>
166<TR BGCOLOR="white" CLASS="TableRowColor">
167<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
168<CODE>&nbsp;boolean</CODE></FONT></TD>
169<TD><CODE><B><A HREF="../../../../../../org/apache/hadoop/io/compress/bzip2/BZip2DummyDecompressor.html#needsDictionary()">needsDictionary</A></B>()</CODE>
170
171<BR>
172&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns <code>true</code> if a preset dictionary is needed for decompression.</TD>
173</TR>
174<TR BGCOLOR="white" CLASS="TableRowColor">
175<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
176<CODE>&nbsp;boolean</CODE></FONT></TD>
177<TD><CODE><B><A HREF="../../../../../../org/apache/hadoop/io/compress/bzip2/BZip2DummyDecompressor.html#needsInput()">needsInput</A></B>()</CODE>
178
179<BR>
180&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if the input data buffer is empty and
181 #setInput() should be called to provide more input.</TD>
182</TR>
183<TR BGCOLOR="white" CLASS="TableRowColor">
184<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
185<CODE>&nbsp;void</CODE></FONT></TD>
186<TD><CODE><B><A HREF="../../../../../../org/apache/hadoop/io/compress/bzip2/BZip2DummyDecompressor.html#reset()">reset</A></B>()</CODE>
187
188<BR>
189&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Resets decompressor so that a new set of input data can be processed.</TD>
190</TR>
191<TR BGCOLOR="white" CLASS="TableRowColor">
192<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
193<CODE>&nbsp;void</CODE></FONT></TD>
194<TD><CODE><B><A HREF="../../../../../../org/apache/hadoop/io/compress/bzip2/BZip2DummyDecompressor.html#setDictionary(byte[], int, int)">setDictionary</A></B>(byte[]&nbsp;b,
195              int&nbsp;off,
196              int&nbsp;len)</CODE>
197
198<BR>
199&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets preset dictionary for compression.</TD>
200</TR>
201<TR BGCOLOR="white" CLASS="TableRowColor">
202<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
203<CODE>&nbsp;void</CODE></FONT></TD>
204<TD><CODE><B><A HREF="../../../../../../org/apache/hadoop/io/compress/bzip2/BZip2DummyDecompressor.html#setInput(byte[], int, int)">setInput</A></B>(byte[]&nbsp;b,
205         int&nbsp;off,
206         int&nbsp;len)</CODE>
207
208<BR>
209&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets input data for decompression.</TD>
210</TR>
211</TABLE>
212&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
213<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
214<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
215<TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></B></TH>
216</TR>
217<TR BGCOLOR="white" CLASS="TableRowColor">
218<TD><CODE><A HREF="http://java.sun.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://java.sun.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://java.sun.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://java.sun.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://java.sun.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://java.sun.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://java.sun.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://java.sun.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://java.sun.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://java.sun.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://java.sun.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></TD>
219</TR>
220</TABLE>
221&nbsp;
222<P>
223
224<!-- ========= CONSTRUCTOR DETAIL ======== -->
225
226<A NAME="constructor_detail"><!-- --></A>
227<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
228<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
229<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
230<B>Constructor Detail</B></FONT></TH>
231</TR>
232</TABLE>
233
234<A NAME="BZip2DummyDecompressor()"><!-- --></A><H3>
235BZip2DummyDecompressor</H3>
236<PRE>
237public <B>BZip2DummyDecompressor</B>()</PRE>
238<DL>
239</DL>
240
241<!-- ============ METHOD DETAIL ========== -->
242
243<A NAME="method_detail"><!-- --></A>
244<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
245<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
246<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
247<B>Method Detail</B></FONT></TH>
248</TR>
249</TABLE>
250
251<A NAME="decompress(byte[], int, int)"><!-- --></A><H3>
252decompress</H3>
253<PRE>
254public int <B>decompress</B>(byte[]&nbsp;b,
255                      int&nbsp;off,
256                      int&nbsp;len)
257               throws <A HREF="http://java.sun.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE>
258<DL>
259<DD><B>Description copied from interface: <CODE><A HREF="../../../../../../org/apache/hadoop/io/compress/Decompressor.html#decompress(byte[], int, int)">Decompressor</A></CODE></B></DD>
260<DD>Fills specified buffer with uncompressed data. Returns actual number
261 of bytes of uncompressed data. A return value of 0 indicates that
262 #needsInput() should be called in order to determine if more input
263 data is required.
264<P>
265<DD><DL>
266<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../org/apache/hadoop/io/compress/Decompressor.html#decompress(byte[], int, int)">decompress</A></CODE> in interface <CODE><A HREF="../../../../../../org/apache/hadoop/io/compress/Decompressor.html" title="interface in org.apache.hadoop.io.compress">Decompressor</A></CODE></DL>
267</DD>
268<DD><DL>
269<DT><B>Parameters:</B><DD><CODE>b</CODE> - Buffer for the compressed data<DD><CODE>off</CODE> - Start offset of the data<DD><CODE>len</CODE> - Size of the buffer
270<DT><B>Returns:</B><DD>The actual number of bytes of compressed data.
271<DT><B>Throws:</B>
272<DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL>
273</DD>
274</DL>
275<HR>
276
277<A NAME="end()"><!-- --></A><H3>
278end</H3>
279<PRE>
280public void <B>end</B>()</PRE>
281<DL>
282<DD><B>Description copied from interface: <CODE><A HREF="../../../../../../org/apache/hadoop/io/compress/Decompressor.html#end()">Decompressor</A></CODE></B></DD>
283<DD>Closes the decompressor and discards any unprocessed input.
284<P>
285<DD><DL>
286<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../org/apache/hadoop/io/compress/Decompressor.html#end()">end</A></CODE> in interface <CODE><A HREF="../../../../../../org/apache/hadoop/io/compress/Decompressor.html" title="interface in org.apache.hadoop.io.compress">Decompressor</A></CODE></DL>
287</DD>
288<DD><DL>
289</DL>
290</DD>
291</DL>
292<HR>
293
294<A NAME="finished()"><!-- --></A><H3>
295finished</H3>
296<PRE>
297public boolean <B>finished</B>()</PRE>
298<DL>
299<DD><B>Description copied from interface: <CODE><A HREF="../../../../../../org/apache/hadoop/io/compress/Decompressor.html#finished()">Decompressor</A></CODE></B></DD>
300<DD>Returns true if the end of the compressed
301 data output stream has been reached.
302<P>
303<DD><DL>
304<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../org/apache/hadoop/io/compress/Decompressor.html#finished()">finished</A></CODE> in interface <CODE><A HREF="../../../../../../org/apache/hadoop/io/compress/Decompressor.html" title="interface in org.apache.hadoop.io.compress">Decompressor</A></CODE></DL>
305</DD>
306<DD><DL>
307
308<DT><B>Returns:</B><DD><code>true</code> if the end of the compressed
309 data output stream has been reached.</DL>
310</DD>
311</DL>
312<HR>
313
314<A NAME="needsDictionary()"><!-- --></A><H3>
315needsDictionary</H3>
316<PRE>
317public boolean <B>needsDictionary</B>()</PRE>
318<DL>
319<DD><B>Description copied from interface: <CODE><A HREF="../../../../../../org/apache/hadoop/io/compress/Decompressor.html#needsDictionary()">Decompressor</A></CODE></B></DD>
320<DD>Returns <code>true</code> if a preset dictionary is needed for decompression.
321<P>
322<DD><DL>
323<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../org/apache/hadoop/io/compress/Decompressor.html#needsDictionary()">needsDictionary</A></CODE> in interface <CODE><A HREF="../../../../../../org/apache/hadoop/io/compress/Decompressor.html" title="interface in org.apache.hadoop.io.compress">Decompressor</A></CODE></DL>
324</DD>
325<DD><DL>
326
327<DT><B>Returns:</B><DD><code>true</code> if a preset dictionary is needed for decompression</DL>
328</DD>
329</DL>
330<HR>
331
332<A NAME="needsInput()"><!-- --></A><H3>
333needsInput</H3>
334<PRE>
335public boolean <B>needsInput</B>()</PRE>
336<DL>
337<DD><B>Description copied from interface: <CODE><A HREF="../../../../../../org/apache/hadoop/io/compress/Decompressor.html#needsInput()">Decompressor</A></CODE></B></DD>
338<DD>Returns true if the input data buffer is empty and
339 #setInput() should be called to provide more input.
340<P>
341<DD><DL>
342<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../org/apache/hadoop/io/compress/Decompressor.html#needsInput()">needsInput</A></CODE> in interface <CODE><A HREF="../../../../../../org/apache/hadoop/io/compress/Decompressor.html" title="interface in org.apache.hadoop.io.compress">Decompressor</A></CODE></DL>
343</DD>
344<DD><DL>
345
346<DT><B>Returns:</B><DD><code>true</code> if the input data buffer is empty and
347 #setInput() should be called in order to provide more input.</DL>
348</DD>
349</DL>
350<HR>
351
352<A NAME="reset()"><!-- --></A><H3>
353reset</H3>
354<PRE>
355public void <B>reset</B>()</PRE>
356<DL>
357<DD><B>Description copied from interface: <CODE><A HREF="../../../../../../org/apache/hadoop/io/compress/Decompressor.html#reset()">Decompressor</A></CODE></B></DD>
358<DD>Resets decompressor so that a new set of input data can be processed.
359<P>
360<DD><DL>
361<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../org/apache/hadoop/io/compress/Decompressor.html#reset()">reset</A></CODE> in interface <CODE><A HREF="../../../../../../org/apache/hadoop/io/compress/Decompressor.html" title="interface in org.apache.hadoop.io.compress">Decompressor</A></CODE></DL>
362</DD>
363<DD><DL>
364</DL>
365</DD>
366</DL>
367<HR>
368
369<A NAME="setDictionary(byte[], int, int)"><!-- --></A><H3>
370setDictionary</H3>
371<PRE>
372public void <B>setDictionary</B>(byte[]&nbsp;b,
373                          int&nbsp;off,
374                          int&nbsp;len)</PRE>
375<DL>
376<DD><B>Description copied from interface: <CODE><A HREF="../../../../../../org/apache/hadoop/io/compress/Decompressor.html#setDictionary(byte[], int, int)">Decompressor</A></CODE></B></DD>
377<DD>Sets preset dictionary for compression. A preset dictionary
378 is used when the history buffer can be predetermined.
379<P>
380<DD><DL>
381<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../org/apache/hadoop/io/compress/Decompressor.html#setDictionary(byte[], int, int)">setDictionary</A></CODE> in interface <CODE><A HREF="../../../../../../org/apache/hadoop/io/compress/Decompressor.html" title="interface in org.apache.hadoop.io.compress">Decompressor</A></CODE></DL>
382</DD>
383<DD><DL>
384<DT><B>Parameters:</B><DD><CODE>b</CODE> - Dictionary data bytes<DD><CODE>off</CODE> - Start offset<DD><CODE>len</CODE> - Length</DL>
385</DD>
386</DL>
387<HR>
388
389<A NAME="setInput(byte[], int, int)"><!-- --></A><H3>
390setInput</H3>
391<PRE>
392public void <B>setInput</B>(byte[]&nbsp;b,
393                     int&nbsp;off,
394                     int&nbsp;len)</PRE>
395<DL>
396<DD><B>Description copied from interface: <CODE><A HREF="../../../../../../org/apache/hadoop/io/compress/Decompressor.html#setInput(byte[], int, int)">Decompressor</A></CODE></B></DD>
397<DD>Sets input data for decompression.
398 This should be called whenever #needsInput() returns
399 <code>true</code> indicating that more input data is required.
400<P>
401<DD><DL>
402<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../org/apache/hadoop/io/compress/Decompressor.html#setInput(byte[], int, int)">setInput</A></CODE> in interface <CODE><A HREF="../../../../../../org/apache/hadoop/io/compress/Decompressor.html" title="interface in org.apache.hadoop.io.compress">Decompressor</A></CODE></DL>
403</DD>
404<DD><DL>
405<DT><B>Parameters:</B><DD><CODE>b</CODE> - Input data<DD><CODE>off</CODE> - Start offset<DD><CODE>len</CODE> - Length</DL>
406</DD>
407</DL>
408<!-- ========= END OF CLASS DATA ========= -->
409<HR>
410
411
412<!-- ======= START OF BOTTOM NAVBAR ====== -->
413<A NAME="navbar_bottom"><!-- --></A>
414<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
415<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
416<TR>
417<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
418<A NAME="navbar_bottom_firstrow"><!-- --></A>
419<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
420  <TR ALIGN="center" VALIGN="top">
421  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
422  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
423  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
424  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/BZip2DummyDecompressor.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
425  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
426  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
427  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
428  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
429  </TR>
430</TABLE>
431</TD>
432<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
433</EM>
434</TD>
435</TR>
436
437<TR>
438<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
439&nbsp;<A HREF="../../../../../../org/apache/hadoop/io/compress/bzip2/BZip2DummyCompressor.html" title="class in org.apache.hadoop.io.compress.bzip2"><B>PREV CLASS</B></A>&nbsp;
440&nbsp;<A HREF="../../../../../../org/apache/hadoop/io/compress/bzip2/CBZip2InputStream.html" title="class in org.apache.hadoop.io.compress.bzip2"><B>NEXT CLASS</B></A></FONT></TD>
441<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
442  <A HREF="../../../../../../index.html?org/apache/hadoop/io/compress/bzip2/BZip2DummyDecompressor.html" target="_top"><B>FRAMES</B></A>  &nbsp;
443&nbsp;<A HREF="BZip2DummyDecompressor.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
444&nbsp;<SCRIPT type="text/javascript">
445  <!--
446  if(window==top) {
447    document.writeln('<A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
448  }
449  //-->
450</SCRIPT>
451<NOSCRIPT>
452  <A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A>
453</NOSCRIPT>
454
455
456</FONT></TD>
457</TR>
458<TR>
459<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
460  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
461<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
462DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
463</TR>
464</TABLE>
465<A NAME="skip-navbar_bottom"></A>
466<!-- ======== END OF BOTTOM NAVBAR ======= -->
467
468<HR>
469Copyright &copy; 2009 The Apache Software Foundation
470</BODY>
471</HTML>
Note: See TracBrowser for help on using the repository browser.