Home | History | Annotate | Download | only in io
      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-google-internal) on Mon Jan 04 20:47:59 PST 2010 -->
      6 <TITLE>
      7 LimitInputStream (Guava Libraries 2010.01.04)
      8 </TITLE>
      9 
     10 <META NAME="date" CONTENT="2010-01-04">
     11 
     12 <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
     13 
     14 <SCRIPT type="text/javascript">
     15 function windowTitle()
     16 {
     17     if (location.href.indexOf('is-external=true') == -1) {
     18         parent.document.title="LimitInputStream (Guava Libraries 2010.01.04)";
     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/LimitInputStream.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="../../../../com/google/common/io/InputSupplier.html" title="interface in com.google.common.io"><B>PREV CLASS</B></A>&nbsp;
     59 &nbsp;<A HREF="../../../../com/google/common/io/LineProcessor.html" title="interface in com.google.common.io"><B>NEXT CLASS</B></A></FONT></TD>
     60 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
     61   <A HREF="../../../../index.html?com/google/common/io/LimitInputStream.html" target="_top"><B>FRAMES</B></A>  &nbsp;
     62 &nbsp;<A HREF="LimitInputStream.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.io.FilterInputStream">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">
     81 DETAIL:&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">
     91 com.google.common.io</FONT>
     92 <BR>
     93 Class LimitInputStream</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/io/InputStream.html?is-external=true" title="class or interface in java.io">java.io.InputStream</A>
     97       <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><A HREF="http://java.sun.com/javase/6/docs/api/java/io/FilterInputStream.html?is-external=true" title="class or interface in java.io">java.io.FilterInputStream</A>
     98           <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>com.google.common.io.LimitInputStream</B>
     99 </PRE>
    100 <DL>
    101 <DT><B>All Implemented Interfaces:</B> <DD><A HREF="http://java.sun.com/javase/6/docs/api/java/io/Closeable.html?is-external=true" title="class or interface in java.io">Closeable</A></DD>
    102 </DL>
    103 <HR>
    104 <DL>
    105 <DT><PRE>public class <B>LimitInputStream</B><DT>extends <A HREF="http://java.sun.com/javase/6/docs/api/java/io/FilterInputStream.html?is-external=true" title="class or interface in java.io">FilterInputStream</A></DL>
    106 </PRE>
    107 
    108 <P>
    109 An InputStream that limits the number of bytes which can be read.
    110 <P>
    111 
    112 <P>
    113 <DL>
    114 <DT><B>Since:</B></DT>
    115   <DD>2009.09.15 <b>tentative</b></DD>
    116 <DT><B>Author:</B></DT>
    117   <DD>Charles Fry</DD>
    118 </DL>
    119 <HR>
    120 
    121 <P>
    122 <!-- =========== FIELD SUMMARY =========== -->
    123 
    124 <A NAME="field_summary"><!-- --></A>
    125 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
    126 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
    127 <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
    128 <B>Field Summary</B></FONT></TH>
    129 </TR>
    130 </TABLE>
    131 &nbsp;<A NAME="fields_inherited_from_class_java.io.FilterInputStream"><!-- --></A>
    132 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
    133 <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
    134 <TH ALIGN="left"><B>Fields inherited from class java.io.<A HREF="http://java.sun.com/javase/6/docs/api/java/io/FilterInputStream.html?is-external=true" title="class or interface in java.io">FilterInputStream</A></B></TH>
    135 </TR>
    136 <TR BGCOLOR="white" CLASS="TableRowColor">
    137 <TD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/io/FilterInputStream.html?is-external=true#in" title="class or interface in java.io">in</A></CODE></TD>
    138 </TR>
    139 </TABLE>
    140 &nbsp;
    141 <!-- ======== CONSTRUCTOR SUMMARY ======== -->
    142 
    143 <A NAME="constructor_summary"><!-- --></A>
    144 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
    145 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
    146 <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
    147 <B>Constructor Summary</B></FONT></TH>
    148 </TR>
    149 <TR BGCOLOR="white" CLASS="TableRowColor">
    150 <TD><CODE><B><A HREF="../../../../com/google/common/io/LimitInputStream.html#LimitInputStream(java.io.InputStream, long)">LimitInputStream</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</A>&nbsp;in,
    151                  long&nbsp;limit)</CODE>
    152 
    153 <BR>
    154 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Wraps another input stream, limiting the number of bytes which can be read.</TD>
    155 </TR>
    156 </TABLE>
    157 &nbsp;
    158 <!-- ========== METHOD SUMMARY =========== -->
    159 
    160 <A NAME="method_summary"><!-- --></A>
    161 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
    162 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
    163 <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
    164 <B>Method Summary</B></FONT></TH>
    165 </TR>
    166 <TR BGCOLOR="white" CLASS="TableRowColor">
    167 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
    168 <CODE>&nbsp;int</CODE></FONT></TD>
    169 <TD><CODE><B><A HREF="../../../../com/google/common/io/LimitInputStream.html#available()">available</A></B>()</CODE>
    170 
    171 <BR>
    172 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
    173 </TR>
    174 <TR BGCOLOR="white" CLASS="TableRowColor">
    175 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
    176 <CODE>&nbsp;void</CODE></FONT></TD>
    177 <TD><CODE><B><A HREF="../../../../com/google/common/io/LimitInputStream.html#mark(int)">mark</A></B>(int&nbsp;readlimit)</CODE>
    178 
    179 <BR>
    180 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
    181 </TR>
    182 <TR BGCOLOR="white" CLASS="TableRowColor">
    183 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
    184 <CODE>&nbsp;int</CODE></FONT></TD>
    185 <TD><CODE><B><A HREF="../../../../com/google/common/io/LimitInputStream.html#read()">read</A></B>()</CODE>
    186 
    187 <BR>
    188 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
    189 </TR>
    190 <TR BGCOLOR="white" CLASS="TableRowColor">
    191 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
    192 <CODE>&nbsp;int</CODE></FONT></TD>
    193 <TD><CODE><B><A HREF="../../../../com/google/common/io/LimitInputStream.html#read(byte[], int, int)">read</A></B>(byte[]&nbsp;b,
    194      int&nbsp;off,
    195      int&nbsp;len)</CODE>
    196 
    197 <BR>
    198 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
    199 </TR>
    200 <TR BGCOLOR="white" CLASS="TableRowColor">
    201 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
    202 <CODE>&nbsp;void</CODE></FONT></TD>
    203 <TD><CODE><B><A HREF="../../../../com/google/common/io/LimitInputStream.html#reset()">reset</A></B>()</CODE>
    204 
    205 <BR>
    206 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
    207 </TR>
    208 <TR BGCOLOR="white" CLASS="TableRowColor">
    209 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
    210 <CODE>&nbsp;long</CODE></FONT></TD>
    211 <TD><CODE><B><A HREF="../../../../com/google/common/io/LimitInputStream.html#skip(long)">skip</A></B>(long&nbsp;n)</CODE>
    212 
    213 <BR>
    214 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
    215 </TR>
    216 </TABLE>
    217 &nbsp;<A NAME="methods_inherited_from_class_java.io.FilterInputStream"><!-- --></A>
    218 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
    219 <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
    220 <TH ALIGN="left"><B>Methods inherited from class java.io.<A HREF="http://java.sun.com/javase/6/docs/api/java/io/FilterInputStream.html?is-external=true" title="class or interface in java.io">FilterInputStream</A></B></TH>
    221 </TR>
    222 <TR BGCOLOR="white" CLASS="TableRowColor">
    223 <TD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/io/FilterInputStream.html?is-external=true#close()" title="class or interface in java.io">close</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/io/FilterInputStream.html?is-external=true#markSupported()" title="class or interface in java.io">markSupported</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/io/FilterInputStream.html?is-external=true#read(byte[])" title="class or interface in java.io">read</A></CODE></TD>
    224 </TR>
    225 </TABLE>
    226 &nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
    227 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
    228 <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
    229 <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>
    230 </TR>
    231 <TR BGCOLOR="white" CLASS="TableRowColor">
    232 <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>
    233 </TR>
    234 </TABLE>
    235 &nbsp;
    236 <P>
    237 
    238 <!-- ========= CONSTRUCTOR DETAIL ======== -->
    239 
    240 <A NAME="constructor_detail"><!-- --></A>
    241 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
    242 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
    243 <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
    244 <B>Constructor Detail</B></FONT></TH>
    245 </TR>
    246 </TABLE>
    247 
    248 <A NAME="LimitInputStream(java.io.InputStream, long)"><!-- --></A><H3>
    249 LimitInputStream</H3>
    250 <PRE>
    251 public <B>LimitInputStream</B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io">InputStream</A>&nbsp;in,
    252                         long&nbsp;limit)</PRE>
    253 <DL>
    254 <DD>Wraps another input stream, limiting the number of bytes which can be read.
    255 <P>
    256 <DL>
    257 <DT><B>Parameters:</B><DD><CODE>in</CODE> - the input stream to be wrapped<DD><CODE>limit</CODE> - the maximum number of bytes to be read</DL>
    258 </DL>
    259 
    260 <!-- ============ METHOD DETAIL ========== -->
    261 
    262 <A NAME="method_detail"><!-- --></A>
    263 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
    264 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
    265 <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
    266 <B>Method Detail</B></FONT></TH>
    267 </TR>
    268 </TABLE>
    269 
    270 <A NAME="available()"><!-- --></A><H3>
    271 available</H3>
    272 <PRE>
    273 public int <B>available</B>()
    274               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>
    275 <DL>
    276 <DD><DL>
    277 <DT><B>Overrides:</B><DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/io/FilterInputStream.html?is-external=true#available()" title="class or interface in java.io">available</A></CODE> in class <CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/io/FilterInputStream.html?is-external=true" title="class or interface in java.io">FilterInputStream</A></CODE></DL>
    278 </DD>
    279 <DD><DL>
    280 
    281 <DT><B>Throws:</B>
    282 <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>
    283 </DD>
    284 </DL>
    285 <HR>
    286 
    287 <A NAME="mark(int)"><!-- --></A><H3>
    288 mark</H3>
    289 <PRE>
    290 public void <B>mark</B>(int&nbsp;readlimit)</PRE>
    291 <DL>
    292 <DD><DL>
    293 <DT><B>Overrides:</B><DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/io/FilterInputStream.html?is-external=true#mark(int)" title="class or interface in java.io">mark</A></CODE> in class <CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/io/FilterInputStream.html?is-external=true" title="class or interface in java.io">FilterInputStream</A></CODE></DL>
    294 </DD>
    295 <DD><DL>
    296 </DL>
    297 </DD>
    298 </DL>
    299 <HR>
    300 
    301 <A NAME="read()"><!-- --></A><H3>
    302 read</H3>
    303 <PRE>
    304 public int <B>read</B>()
    305          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>
    306 <DL>
    307 <DD><DL>
    308 <DT><B>Overrides:</B><DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/io/FilterInputStream.html?is-external=true#read()" title="class or interface in java.io">read</A></CODE> in class <CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/io/FilterInputStream.html?is-external=true" title="class or interface in java.io">FilterInputStream</A></CODE></DL>
    309 </DD>
    310 <DD><DL>
    311 
    312 <DT><B>Throws:</B>
    313 <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>
    314 </DD>
    315 </DL>
    316 <HR>
    317 
    318 <A NAME="read(byte[], int, int)"><!-- --></A><H3>
    319 read</H3>
    320 <PRE>
    321 public int <B>read</B>(byte[]&nbsp;b,
    322                 int&nbsp;off,
    323                 int&nbsp;len)
    324          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>
    325 <DL>
    326 <DD><DL>
    327 <DT><B>Overrides:</B><DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/io/FilterInputStream.html?is-external=true#read(byte[], int, int)" title="class or interface in java.io">read</A></CODE> in class <CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/io/FilterInputStream.html?is-external=true" title="class or interface in java.io">FilterInputStream</A></CODE></DL>
    328 </DD>
    329 <DD><DL>
    330 
    331 <DT><B>Throws:</B>
    332 <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>
    333 </DD>
    334 </DL>
    335 <HR>
    336 
    337 <A NAME="reset()"><!-- --></A><H3>
    338 reset</H3>
    339 <PRE>
    340 public void <B>reset</B>()
    341            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>
    342 <DL>
    343 <DD><DL>
    344 <DT><B>Overrides:</B><DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/io/FilterInputStream.html?is-external=true#reset()" title="class or interface in java.io">reset</A></CODE> in class <CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/io/FilterInputStream.html?is-external=true" title="class or interface in java.io">FilterInputStream</A></CODE></DL>
    345 </DD>
    346 <DD><DL>
    347 
    348 <DT><B>Throws:</B>
    349 <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>
    350 </DD>
    351 </DL>
    352 <HR>
    353 
    354 <A NAME="skip(long)"><!-- --></A><H3>
    355 skip</H3>
    356 <PRE>
    357 public long <B>skip</B>(long&nbsp;n)
    358           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>
    359 <DL>
    360 <DD><DL>
    361 <DT><B>Overrides:</B><DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/io/FilterInputStream.html?is-external=true#skip(long)" title="class or interface in java.io">skip</A></CODE> in class <CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/io/FilterInputStream.html?is-external=true" title="class or interface in java.io">FilterInputStream</A></CODE></DL>
    362 </DD>
    363 <DD><DL>
    364 
    365 <DT><B>Throws:</B>
    366 <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>
    367 </DD>
    368 </DL>
    369 <!-- ========= END OF CLASS DATA ========= -->
    370 <HR>
    371 
    372 
    373 <!-- ======= START OF BOTTOM NAVBAR ====== -->
    374 <A NAME="navbar_bottom"><!-- --></A>
    375 <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
    376 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
    377 <TR>
    378 <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
    379 <A NAME="navbar_bottom_firstrow"><!-- --></A>
    380 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
    381   <TR ALIGN="center" VALIGN="top">
    382   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
    383   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
    384   <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
    385   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/LimitInputStream.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
    386   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
    387   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
    388   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
    389   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
    390   </TR>
    391 </TABLE>
    392 </TD>
    393 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
    394 </EM>
    395 </TD>
    396 </TR>
    397 
    398 <TR>
    399 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
    400 &nbsp;<A HREF="../../../../com/google/common/io/InputSupplier.html" title="interface in com.google.common.io"><B>PREV CLASS</B></A>&nbsp;
    401 &nbsp;<A HREF="../../../../com/google/common/io/LineProcessor.html" title="interface in com.google.common.io"><B>NEXT CLASS</B></A></FONT></TD>
    402 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
    403   <A HREF="../../../../index.html?com/google/common/io/LimitInputStream.html" target="_top"><B>FRAMES</B></A>  &nbsp;
    404 &nbsp;<A HREF="LimitInputStream.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
    405 &nbsp;<SCRIPT type="text/javascript">
    406   <!--
    407   if(window==top) {
    408     document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
    409   }
    410   //-->
    411 </SCRIPT>
    412 <NOSCRIPT>
    413   <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
    414 </NOSCRIPT>
    415 
    416 
    417 </FONT></TD>
    418 </TR>
    419 <TR>
    420 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
    421   SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#fields_inherited_from_class_java.io.FilterInputStream">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
    422 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
    423 DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
    424 </TR>
    425 </TABLE>
    426 <A NAME="skip-navbar_bottom"></A>
    427 <!-- ======== END OF BOTTOM NAVBAR ======= -->
    428 
    429 <HR>
    430 
    431 </BODY>
    432 </HTML>
    433