source: proiecte/HadoopJUnit/hadoop-0.20.1/docs/api/org/apache/hadoop/io/compress/zlib/BuiltInZlibDeflater.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.0 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>
7BuiltInZlibDeflater (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="BuiltInZlibDeflater (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/BuiltInZlibDeflater.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;PREV CLASS&nbsp;
59&nbsp;<A HREF="../../../../../../org/apache/hadoop/io/compress/zlib/BuiltInZlibInflater.html" title="class in org.apache.hadoop.io.compress.zlib"><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/zlib/BuiltInZlibDeflater.html" target="_top"><B>FRAMES</B></A>  &nbsp;
62&nbsp;<A HREF="BuiltInZlibDeflater.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;<A HREF="#fields_inherited_from_class_java.util.zip.Deflater">FIELD</A>&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.zlib</FONT>
92<BR>
93Class BuiltInZlibDeflater</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 "><A HREF="http://java.sun.com/javase/6/docs/api/java/util/zip/Deflater.html?is-external=true" title="class or interface in java.util.zip">java.util.zip.Deflater</A>
97      <IMG SRC="../../../../../../resources/inherit.gif" ALT="extended by "><B>org.apache.hadoop.io.compress.zlib.BuiltInZlibDeflater</B>
98</PRE>
99<DL>
100<DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../../../../org/apache/hadoop/io/compress/Compressor.html" title="interface in org.apache.hadoop.io.compress">Compressor</A></DD>
101</DL>
102<HR>
103<DL>
104<DT><PRE>public class <B>BuiltInZlibDeflater</B><DT>extends <A HREF="http://java.sun.com/javase/6/docs/api/java/util/zip/Deflater.html?is-external=true" title="class or interface in java.util.zip">Deflater</A><DT>implements <A HREF="../../../../../../org/apache/hadoop/io/compress/Compressor.html" title="interface in org.apache.hadoop.io.compress">Compressor</A></DL>
105</PRE>
106
107<P>
108A wrapper around java.util.zip.Deflater to make it conform
109 to org.apache.hadoop.io.compress.Compressor interface.
110<P>
111
112<P>
113<HR>
114
115<P>
116<!-- =========== FIELD SUMMARY =========== -->
117
118<A NAME="field_summary"><!-- --></A>
119<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
120<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
121<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
122<B>Field Summary</B></FONT></TH>
123</TR>
124</TABLE>
125&nbsp;<A NAME="fields_inherited_from_class_java.util.zip.Deflater"><!-- --></A>
126<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
127<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
128<TH ALIGN="left"><B>Fields inherited from class java.util.zip.<A HREF="http://java.sun.com/javase/6/docs/api/java/util/zip/Deflater.html?is-external=true" title="class or interface in java.util.zip">Deflater</A></B></TH>
129</TR>
130<TR BGCOLOR="white" CLASS="TableRowColor">
131<TD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/util/zip/Deflater.html?is-external=true#BEST_COMPRESSION" title="class or interface in java.util.zip">BEST_COMPRESSION</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/util/zip/Deflater.html?is-external=true#BEST_SPEED" title="class or interface in java.util.zip">BEST_SPEED</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/util/zip/Deflater.html?is-external=true#DEFAULT_COMPRESSION" title="class or interface in java.util.zip">DEFAULT_COMPRESSION</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/util/zip/Deflater.html?is-external=true#DEFAULT_STRATEGY" title="class or interface in java.util.zip">DEFAULT_STRATEGY</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/util/zip/Deflater.html?is-external=true#DEFLATED" title="class or interface in java.util.zip">DEFLATED</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/util/zip/Deflater.html?is-external=true#FILTERED" title="class or interface in java.util.zip">FILTERED</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/util/zip/Deflater.html?is-external=true#HUFFMAN_ONLY" title="class or interface in java.util.zip">HUFFMAN_ONLY</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/util/zip/Deflater.html?is-external=true#NO_COMPRESSION" title="class or interface in java.util.zip">NO_COMPRESSION</A></CODE></TD>
132</TR>
133</TABLE>
134&nbsp;
135<!-- ======== CONSTRUCTOR SUMMARY ======== -->
136
137<A NAME="constructor_summary"><!-- --></A>
138<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
139<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
140<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
141<B>Constructor Summary</B></FONT></TH>
142</TR>
143<TR BGCOLOR="white" CLASS="TableRowColor">
144<TD><CODE><B><A HREF="../../../../../../org/apache/hadoop/io/compress/zlib/BuiltInZlibDeflater.html#BuiltInZlibDeflater()">BuiltInZlibDeflater</A></B>()</CODE>
145
146<BR>
147&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
148</TR>
149<TR BGCOLOR="white" CLASS="TableRowColor">
150<TD><CODE><B><A HREF="../../../../../../org/apache/hadoop/io/compress/zlib/BuiltInZlibDeflater.html#BuiltInZlibDeflater(int)">BuiltInZlibDeflater</A></B>(int&nbsp;level)</CODE>
151
152<BR>
153&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
154</TR>
155<TR BGCOLOR="white" CLASS="TableRowColor">
156<TD><CODE><B><A HREF="../../../../../../org/apache/hadoop/io/compress/zlib/BuiltInZlibDeflater.html#BuiltInZlibDeflater(int, boolean)">BuiltInZlibDeflater</A></B>(int&nbsp;level,
157                    boolean&nbsp;nowrap)</CODE>
158
159<BR>
160&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
161</TR>
162</TABLE>
163&nbsp;
164<!-- ========== METHOD SUMMARY =========== -->
165
166<A NAME="method_summary"><!-- --></A>
167<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
168<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
169<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
170<B>Method Summary</B></FONT></TH>
171</TR>
172<TR BGCOLOR="white" CLASS="TableRowColor">
173<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
174<CODE>&nbsp;int</CODE></FONT></TD>
175<TD><CODE><B><A HREF="../../../../../../org/apache/hadoop/io/compress/zlib/BuiltInZlibDeflater.html#compress(byte[], int, int)">compress</A></B>(byte[]&nbsp;b,
176         int&nbsp;off,
177         int&nbsp;len)</CODE>
178
179<BR>
180&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Fills specified buffer with compressed data.</TD>
181</TR>
182</TABLE>
183&nbsp;<A NAME="methods_inherited_from_class_java.util.zip.Deflater"><!-- --></A>
184<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
185<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
186<TH ALIGN="left"><B>Methods inherited from class java.util.zip.<A HREF="http://java.sun.com/javase/6/docs/api/java/util/zip/Deflater.html?is-external=true" title="class or interface in java.util.zip">Deflater</A></B></TH>
187</TR>
188<TR BGCOLOR="white" CLASS="TableRowColor">
189<TD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/util/zip/Deflater.html?is-external=true#deflate(byte[])" title="class or interface in java.util.zip">deflate</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/util/zip/Deflater.html?is-external=true#deflate(byte[], int, int)" title="class or interface in java.util.zip">deflate</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/util/zip/Deflater.html?is-external=true#end()" title="class or interface in java.util.zip">end</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/util/zip/Deflater.html?is-external=true#finalize()" title="class or interface in java.util.zip">finalize</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/util/zip/Deflater.html?is-external=true#finish()" title="class or interface in java.util.zip">finish</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/util/zip/Deflater.html?is-external=true#finished()" title="class or interface in java.util.zip">finished</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/util/zip/Deflater.html?is-external=true#getAdler()" title="class or interface in java.util.zip">getAdler</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/util/zip/Deflater.html?is-external=true#getBytesRead()" title="class or interface in java.util.zip">getBytesRead</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/util/zip/Deflater.html?is-external=true#getBytesWritten()" title="class or interface in java.util.zip">getBytesWritten</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/util/zip/Deflater.html?is-external=true#getTotalIn()" title="class or interface in java.util.zip">getTotalIn</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/util/zip/Deflater.html?is-external=true#getTotalOut()" title="class or interface in java.util.zip">getTotalOut</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/util/zip/Deflater.html?is-external=true#needsInput()" title="class or interface in java.util.zip">needsInput</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/util/zip/Deflater.html?is-external=true#reset()" title="class or interface in java.util.zip">reset</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/util/zip/Deflater.html?is-external=true#setDictionary(byte[])" title="class or interface in java.util.zip">setDictionary</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/util/zip/Deflater.html?is-external=true#setDictionary(byte[], int, int)" title="class or interface in java.util.zip">setDictionary</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/util/zip/Deflater.html?is-external=true#setInput(byte[])" title="class or interface in java.util.zip">setInput</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/util/zip/Deflater.html?is-external=true#setInput(byte[], int, int)" title="class or interface in java.util.zip">setInput</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/util/zip/Deflater.html?is-external=true#setLevel(int)" title="class or interface in java.util.zip">setLevel</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/util/zip/Deflater.html?is-external=true#setStrategy(int)" title="class or interface in java.util.zip">setStrategy</A></CODE></TD>
190</TR>
191</TABLE>
192&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
193<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
194<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
195<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>
196</TR>
197<TR BGCOLOR="white" CLASS="TableRowColor">
198<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#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>
199</TR>
200</TABLE>
201&nbsp;<A NAME="methods_inherited_from_class_org.apache.hadoop.io.compress.Compressor"><!-- --></A>
202<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
203<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
204<TH ALIGN="left"><B>Methods inherited from interface org.apache.hadoop.io.compress.<A HREF="../../../../../../org/apache/hadoop/io/compress/Compressor.html" title="interface in org.apache.hadoop.io.compress">Compressor</A></B></TH>
205</TR>
206<TR BGCOLOR="white" CLASS="TableRowColor">
207<TD><CODE><A HREF="../../../../../../org/apache/hadoop/io/compress/Compressor.html#end()">end</A>, <A HREF="../../../../../../org/apache/hadoop/io/compress/Compressor.html#finish()">finish</A>, <A HREF="../../../../../../org/apache/hadoop/io/compress/Compressor.html#finished()">finished</A>, <A HREF="../../../../../../org/apache/hadoop/io/compress/Compressor.html#getBytesRead()">getBytesRead</A>, <A HREF="../../../../../../org/apache/hadoop/io/compress/Compressor.html#getBytesWritten()">getBytesWritten</A>, <A HREF="../../../../../../org/apache/hadoop/io/compress/Compressor.html#needsInput()">needsInput</A>, <A HREF="../../../../../../org/apache/hadoop/io/compress/Compressor.html#reset()">reset</A>, <A HREF="../../../../../../org/apache/hadoop/io/compress/Compressor.html#setDictionary(byte[], int, int)">setDictionary</A>, <A HREF="../../../../../../org/apache/hadoop/io/compress/Compressor.html#setInput(byte[], int, int)">setInput</A></CODE></TD>
208</TR>
209</TABLE>
210&nbsp;
211<P>
212
213<!-- ========= CONSTRUCTOR DETAIL ======== -->
214
215<A NAME="constructor_detail"><!-- --></A>
216<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
217<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
218<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
219<B>Constructor Detail</B></FONT></TH>
220</TR>
221</TABLE>
222
223<A NAME="BuiltInZlibDeflater(int, boolean)"><!-- --></A><H3>
224BuiltInZlibDeflater</H3>
225<PRE>
226public <B>BuiltInZlibDeflater</B>(int&nbsp;level,
227                           boolean&nbsp;nowrap)</PRE>
228<DL>
229</DL>
230<HR>
231
232<A NAME="BuiltInZlibDeflater(int)"><!-- --></A><H3>
233BuiltInZlibDeflater</H3>
234<PRE>
235public <B>BuiltInZlibDeflater</B>(int&nbsp;level)</PRE>
236<DL>
237</DL>
238<HR>
239
240<A NAME="BuiltInZlibDeflater()"><!-- --></A><H3>
241BuiltInZlibDeflater</H3>
242<PRE>
243public <B>BuiltInZlibDeflater</B>()</PRE>
244<DL>
245</DL>
246
247<!-- ============ METHOD DETAIL ========== -->
248
249<A NAME="method_detail"><!-- --></A>
250<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
251<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
252<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
253<B>Method Detail</B></FONT></TH>
254</TR>
255</TABLE>
256
257<A NAME="compress(byte[], int, int)"><!-- --></A><H3>
258compress</H3>
259<PRE>
260public int <B>compress</B>(byte[]&nbsp;b,
261                    int&nbsp;off,
262                    int&nbsp;len)
263             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>
264<DL>
265<DD><B>Description copied from interface: <CODE><A HREF="../../../../../../org/apache/hadoop/io/compress/Compressor.html#compress(byte[], int, int)">Compressor</A></CODE></B></DD>
266<DD>Fills specified buffer with compressed data. Returns actual number
267 of bytes of compressed data. A return value of 0 indicates that
268 needsInput() should be called in order to determine if more input
269 data is required.
270<P>
271<DD><DL>
272<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../../org/apache/hadoop/io/compress/Compressor.html#compress(byte[], int, int)">compress</A></CODE> in interface <CODE><A HREF="../../../../../../org/apache/hadoop/io/compress/Compressor.html" title="interface in org.apache.hadoop.io.compress">Compressor</A></CODE></DL>
273</DD>
274<DD><DL>
275<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
276<DT><B>Returns:</B><DD>The actual number of bytes of compressed data.
277<DT><B>Throws:</B>
278<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>
279</DD>
280</DL>
281<!-- ========= END OF CLASS DATA ========= -->
282<HR>
283
284
285<!-- ======= START OF BOTTOM NAVBAR ====== -->
286<A NAME="navbar_bottom"><!-- --></A>
287<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
288<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
289<TR>
290<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
291<A NAME="navbar_bottom_firstrow"><!-- --></A>
292<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
293  <TR ALIGN="center" VALIGN="top">
294  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
295  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
296  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
297  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/BuiltInZlibDeflater.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
298  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
299  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
300  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
301  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
302  </TR>
303</TABLE>
304</TD>
305<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
306</EM>
307</TD>
308</TR>
309
310<TR>
311<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
312&nbsp;PREV CLASS&nbsp;
313&nbsp;<A HREF="../../../../../../org/apache/hadoop/io/compress/zlib/BuiltInZlibInflater.html" title="class in org.apache.hadoop.io.compress.zlib"><B>NEXT CLASS</B></A></FONT></TD>
314<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
315  <A HREF="../../../../../../index.html?org/apache/hadoop/io/compress/zlib/BuiltInZlibDeflater.html" target="_top"><B>FRAMES</B></A>  &nbsp;
316&nbsp;<A HREF="BuiltInZlibDeflater.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
317&nbsp;<SCRIPT type="text/javascript">
318  <!--
319  if(window==top) {
320    document.writeln('<A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
321  }
322  //-->
323</SCRIPT>
324<NOSCRIPT>
325  <A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A>
326</NOSCRIPT>
327
328
329</FONT></TD>
330</TR>
331<TR>
332<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
333  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#fields_inherited_from_class_java.util.zip.Deflater">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
334<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
335DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
336</TR>
337</TABLE>
338<A NAME="skip-navbar_bottom"></A>
339<!-- ======== END OF BOTTOM NAVBAR ======= -->
340
341<HR>
342Copyright &copy; 2009 The Apache Software Foundation
343</BODY>
344</HTML>
Note: See TracBrowser for help on using the repository browser.