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:48:00 PST 2010 -->
      6 <TITLE>
      7 com.google.common.io (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="com.google.common.io (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="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Package</B></FONT>&nbsp;</TD>
     42   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <FONT CLASS="NavBarFont1">Class</FONT>&nbsp;</TD>
     43   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-use.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/collect/package-summary.html"><B>PREV PACKAGE</B></A>&nbsp;
     59 &nbsp;<A HREF="../../../../com/google/common/primitives/package-summary.html"><B>NEXT PACKAGE</B></A></FONT></TD>
     60 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
     61   <A HREF="../../../../index.html?com/google/common/io/package-summary.html" target="_top"><B>FRAMES</B></A>  &nbsp;
     62 &nbsp;<A HREF="package-summary.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 </TABLE>
     78 <A NAME="skip-navbar_top"></A>
     79 <!-- ========= END OF TOP NAVBAR ========= -->
     80 
     81 <HR>
     82 <H2>
     83 Package com.google.common.io
     84 </H2>
     85 
     86 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
     87 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
     88 <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
     89 <B>Interface Summary</B></FONT></TH>
     90 </TR>
     91 <TR BGCOLOR="white" CLASS="TableRowColor">
     92 <TD WIDTH="15%"><B><A HREF="../../../../com/google/common/io/ByteArrayDataInput.html" title="interface in com.google.common.io">ByteArrayDataInput</A></B></TD>
     93 <TD>An extension of <code>DataInput</code> for reading from in-memory byte arrays; its
     94  methods offer identical functionality but do not throw <A HREF="http://java.sun.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io"><CODE>IOException</CODE></A>.</TD>
     95 </TR>
     96 <TR BGCOLOR="white" CLASS="TableRowColor">
     97 <TD WIDTH="15%"><B><A HREF="../../../../com/google/common/io/ByteArrayDataOutput.html" title="interface in com.google.common.io">ByteArrayDataOutput</A></B></TD>
     98 <TD>An extension of <code>DataOutput</code> for writing to in-memory byte arrays; its
     99  methods offer identical functionality but do not throw <A HREF="http://java.sun.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io"><CODE>IOException</CODE></A>.</TD>
    100 </TR>
    101 <TR BGCOLOR="white" CLASS="TableRowColor">
    102 <TD WIDTH="15%"><B><A HREF="../../../../com/google/common/io/ByteProcessor.html" title="interface in com.google.common.io">ByteProcessor&lt;T&gt;</A></B></TD>
    103 <TD>A callback interface to process bytes from a stream.</TD>
    104 </TR>
    105 <TR BGCOLOR="white" CLASS="TableRowColor">
    106 <TD WIDTH="15%"><B><A HREF="../../../../com/google/common/io/InputSupplier.html" title="interface in com.google.common.io">InputSupplier&lt;T&gt;</A></B></TD>
    107 <TD>A factory for readable streams of bytes or characters.</TD>
    108 </TR>
    109 <TR BGCOLOR="white" CLASS="TableRowColor">
    110 <TD WIDTH="15%"><B><A HREF="../../../../com/google/common/io/LineProcessor.html" title="interface in com.google.common.io">LineProcessor&lt;T&gt;</A></B></TD>
    111 <TD>A callback to be used with the streaming <code>readLines</code> methods.</TD>
    112 </TR>
    113 <TR BGCOLOR="white" CLASS="TableRowColor">
    114 <TD WIDTH="15%"><B><A HREF="../../../../com/google/common/io/OutputSupplier.html" title="interface in com.google.common.io">OutputSupplier&lt;T&gt;</A></B></TD>
    115 <TD>An factory for writable streams of bytes or characters.</TD>
    116 </TR>
    117 </TABLE>
    118 &nbsp;
    119 
    120 <P>
    121 
    122 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
    123 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
    124 <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
    125 <B>Class Summary</B></FONT></TH>
    126 </TR>
    127 <TR BGCOLOR="white" CLASS="TableRowColor">
    128 <TD WIDTH="15%"><B><A HREF="../../../../com/google/common/io/ByteStreams.html" title="class in com.google.common.io">ByteStreams</A></B></TD>
    129 <TD>Provides utility methods for working with byte arrays and I/O streams.</TD>
    130 </TR>
    131 <TR BGCOLOR="white" CLASS="TableRowColor">
    132 <TD WIDTH="15%"><B><A HREF="../../../../com/google/common/io/CharStreams.html" title="class in com.google.common.io">CharStreams</A></B></TD>
    133 <TD>Provides utility methods for working with character streams.</TD>
    134 </TR>
    135 <TR BGCOLOR="white" CLASS="TableRowColor">
    136 <TD WIDTH="15%"><B><A HREF="../../../../com/google/common/io/Closeables.html" title="class in com.google.common.io">Closeables</A></B></TD>
    137 <TD>Utility methods for working with <A HREF="http://java.sun.com/javase/6/docs/api/java/io/Closeable.html?is-external=true" title="class or interface in java.io"><CODE>Closeable</CODE></A> objects.</TD>
    138 </TR>
    139 <TR BGCOLOR="white" CLASS="TableRowColor">
    140 <TD WIDTH="15%"><B><A HREF="../../../../com/google/common/io/CountingInputStream.html" title="class in com.google.common.io">CountingInputStream</A></B></TD>
    141 <TD>An <A HREF="http://java.sun.com/javase/6/docs/api/java/io/InputStream.html?is-external=true" title="class or interface in java.io"><CODE>InputStream</CODE></A> that counts the number of bytes read.</TD>
    142 </TR>
    143 <TR BGCOLOR="white" CLASS="TableRowColor">
    144 <TD WIDTH="15%"><B><A HREF="../../../../com/google/common/io/CountingOutputStream.html" title="class in com.google.common.io">CountingOutputStream</A></B></TD>
    145 <TD>An OutputStream that counts the number of bytes written.</TD>
    146 </TR>
    147 <TR BGCOLOR="white" CLASS="TableRowColor">
    148 <TD WIDTH="15%"><B><A HREF="../../../../com/google/common/io/FileBackedOutputStream.html" title="class in com.google.common.io">FileBackedOutputStream</A></B></TD>
    149 <TD>An <A HREF="http://java.sun.com/javase/6/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io"><CODE>OutputStream</CODE></A> that starts buffering to a byte array, but
    150  switches to file buffering once the data reaches a configurable size.</TD>
    151 </TR>
    152 <TR BGCOLOR="white" CLASS="TableRowColor">
    153 <TD WIDTH="15%"><B><A HREF="../../../../com/google/common/io/Files.html" title="class in com.google.common.io">Files</A></B></TD>
    154 <TD>Provides utility methods for working with files.</TD>
    155 </TR>
    156 <TR BGCOLOR="white" CLASS="TableRowColor">
    157 <TD WIDTH="15%"><B><A HREF="../../../../com/google/common/io/Flushables.html" title="class in com.google.common.io">Flushables</A></B></TD>
    158 <TD>Utility methods for working with <A HREF="http://java.sun.com/javase/6/docs/api/java/io/Flushable.html?is-external=true" title="class or interface in java.io"><CODE>Flushable</CODE></A> objects.</TD>
    159 </TR>
    160 <TR BGCOLOR="white" CLASS="TableRowColor">
    161 <TD WIDTH="15%"><B><A HREF="../../../../com/google/common/io/LimitInputStream.html" title="class in com.google.common.io">LimitInputStream</A></B></TD>
    162 <TD>An InputStream that limits the number of bytes which can be read.</TD>
    163 </TR>
    164 <TR BGCOLOR="white" CLASS="TableRowColor">
    165 <TD WIDTH="15%"><B><A HREF="../../../../com/google/common/io/LineReader.html" title="class in com.google.common.io">LineReader</A></B></TD>
    166 <TD>A class for reading lines of text.</TD>
    167 </TR>
    168 <TR BGCOLOR="white" CLASS="TableRowColor">
    169 <TD WIDTH="15%"><B><A HREF="../../../../com/google/common/io/NullOutputStream.html" title="class in com.google.common.io">NullOutputStream</A></B></TD>
    170 <TD>Implementation of <A HREF="http://java.sun.com/javase/6/docs/api/java/io/OutputStream.html?is-external=true" title="class or interface in java.io"><CODE>OutputStream</CODE></A> that simply discards written bytes.</TD>
    171 </TR>
    172 <TR BGCOLOR="white" CLASS="TableRowColor">
    173 <TD WIDTH="15%"><B><A HREF="../../../../com/google/common/io/PatternFilenameFilter.html" title="class in com.google.common.io">PatternFilenameFilter</A></B></TD>
    174 <TD>File name filter that only accepts files matching a regular expression.</TD>
    175 </TR>
    176 <TR BGCOLOR="white" CLASS="TableRowColor">
    177 <TD WIDTH="15%"><B><A HREF="../../../../com/google/common/io/Resources.html" title="class in com.google.common.io">Resources</A></B></TD>
    178 <TD>Provides utility methods for working with resources in the classpath.</TD>
    179 </TR>
    180 </TABLE>
    181 &nbsp;
    182 
    183 <P>
    184 <DL>
    185 </DL>
    186 <HR>
    187 
    188 
    189 <!-- ======= START OF BOTTOM NAVBAR ====== -->
    190 <A NAME="navbar_bottom"><!-- --></A>
    191 <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
    192 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
    193 <TR>
    194 <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
    195 <A NAME="navbar_bottom_firstrow"><!-- --></A>
    196 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
    197   <TR ALIGN="center" VALIGN="top">
    198   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
    199   <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Package</B></FONT>&nbsp;</TD>
    200   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <FONT CLASS="NavBarFont1">Class</FONT>&nbsp;</TD>
    201   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-use.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
    202   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
    203   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
    204   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
    205   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
    206   </TR>
    207 </TABLE>
    208 </TD>
    209 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
    210 </EM>
    211 </TD>
    212 </TR>
    213 
    214 <TR>
    215 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
    216 &nbsp;<A HREF="../../../../com/google/common/collect/package-summary.html"><B>PREV PACKAGE</B></A>&nbsp;
    217 &nbsp;<A HREF="../../../../com/google/common/primitives/package-summary.html"><B>NEXT PACKAGE</B></A></FONT></TD>
    218 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
    219   <A HREF="../../../../index.html?com/google/common/io/package-summary.html" target="_top"><B>FRAMES</B></A>  &nbsp;
    220 &nbsp;<A HREF="package-summary.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
    221 &nbsp;<SCRIPT type="text/javascript">
    222   <!--
    223   if(window==top) {
    224     document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
    225   }
    226   //-->
    227 </SCRIPT>
    228 <NOSCRIPT>
    229   <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
    230 </NOSCRIPT>
    231 
    232 
    233 </FONT></TD>
    234 </TR>
    235 </TABLE>
    236 <A NAME="skip-navbar_bottom"></A>
    237 <!-- ======== END OF BOTTOM NAVBAR ======= -->
    238 
    239 <HR>
    240 
    241 </BODY>
    242 </HTML>
    243