You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by ba...@apache.org on 2004/04/25 01:31:46 UTC

cvs commit: jakarta-commons/io/src/java/org/apache/commons/io package.html

bayard      2004/04/24 16:31:46

  Modified:    io/src/java/org/apache/commons/io package.html
  Log:
  Fixed name of IOUtils class
  
  Revision  Changes    Path
  1.4       +8 -8      jakarta-commons/io/src/java/org/apache/commons/io/package.html
  
  Index: package.html
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/io/src/java/org/apache/commons/io/package.html,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- package.html	21 Feb 2004 02:37:32 -0000	1.3
  +++ package.html	24 Apr 2004 23:31:46 -0000	1.4
  @@ -11,7 +11,7 @@
        <a name="doc.Description"></a>     
   <div align="center">       <a href="#doc.Intro">[Introduction]</a>      
   <a href="#doc.FilenameFilters">[FilenameFilters]</a>       <a
  - href="#doc.IOUtil">[IO Utilities]</a>       <a href="#doc.FileUtil">[File
  + href="#doc.IOUtils">[IO Utilities]</a>       <a href="#doc.FileUtil">[File
   Utilities]</a>       <a href="#doc.Endian">[Endian Utilities]</a>     </div>
         <a name="doc.Intro"></a>     
   <h2>Introduction</h2>
  @@ -31,10 +31,10 @@
   for example.</p>
   
   
  -        <a name="doc.IOUtil"></a>     
  -<h2>The <a href="IOUtil.html">org.apache.commons.io.IOUtil</a> class</h2>
  +        <a name="doc.IOUtils"></a>     
  +<h2>The <a href="IOUtils.html">org.apache.commons.io.IOUtils</a> class</h2>
        
  -<p>     The <a href="IOUtil.html">IOUtil</a> class contains a     comprehensive
  +<p>     The <a href="IOUtils.html">IOUtils</a> class contains a     comprehensive
   set of static methods for copying from:     </p>
   <ul>
          <li><code>String</code></li>
  @@ -72,10 +72,10 @@
   }
      </pre>
        
  -<p>With the IOUtil class, that could be done with:</p>
  +<p>With the IOUtils class, that could be done with:</p>
        
  -<pre>import java.net.URL;<br>import java.io.*;<br>import org.apache.commons.io.IOUtil;<br><br>public class IOUtilCopy {<br>  public static void main(String args[]) throws IOException {<br>    InputStream in = new URL( "http://jakarta.apache.org" ).openStream();<br>    <font
  - color="blue">System.out.println( IOUtil.toString( in ) );</font>
  +<pre>import java.net.URL;<br>import java.io.*;<br>import org.apache.commons.io.IOUtils;<br><br>public class IOUtilsCopy {<br>  public static void main(String args[]) throws IOException {<br>    InputStream in = new URL( "http://jakarta.apache.org" ).openStream();<br>    <font
  + color="blue">System.out.println( IOUtils.toString( in ) );</font>
         in.close();
     }   
   }
  @@ -85,7 +85,7 @@
   class can save a     great deal of time.</p>
        
   <p>For utility code such as this, flexibility and speed are of primary importance.
  -In IOUtil,     each kind of copy method has a variant which allows the buffer
  +In IOUtils,     each kind of copy method has a variant which allows the buffer
   size to be set. For methods that     convert bytes to chars, the encoding
   method may also be set.</p>
          <a name="doc.FileUtil"></a>     
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org