Author: scolebourne
Date: Sat Aug 27 16:10:29 2005
New Revision: 241816
URL: http://svn.apache.org/viewcvs?rev=241816&view=rev
Log:
Fix since tags
Modified:
jakarta/commons/proper/io/trunk/src/java/org/apache/commons/io/IOUtils.java
Modified:
jakarta/commons/proper/io/trunk/src/java/org/apache/commons/io/IOUtils.java
URL:
http://svn.apache.org/viewcvs/jakarta/commons/proper/io/trunk/src/java/org/apache/commons/io/IOUtils.java?rev=241816&r1=241815&r2=241816&view=diff
==============================================================================
--- jakarta/commons/proper/io/trunk/src/java/org/apache/commons/io/IOUtils.java
(original)
+++ jakarta/commons/proper/io/trunk/src/java/org/apache/commons/io/IOUtils.java
Sat Aug 27 16:10:29 2005
@@ -213,7 +213,7 @@
* @return the requested byte array
* @throws NullPointerException if the input is null
* @throws IOException if an I/O error occurs
- * @since 1.1
+ * @since Commons IO 1.1
*/
public static byte[] toByteArray(Reader input, String encoding)
throws IOException {
@@ -251,6 +251,7 @@
* @return the requested character array
* @throws NullPointerException if the input is null
* @throws IOException if an I/O error occurs
+ * @since Commons IO 1.1
*/
public static char[] toCharArray(InputStream is) throws IOException {
CharArrayWriter output = new CharArrayWriter();
@@ -273,6 +274,7 @@
* @return the requested character array
* @throws NullPointerException if the input is null
* @throws IOException if an I/O error occurs
+ * @since Commons IO 1.1
*/
public static char[] toCharArray(InputStream is, String encoding)
throws IOException {
@@ -291,6 +293,7 @@
* @return the requested character array
* @throws NullPointerException if the input is null
* @throws IOException if an I/O error occurs
+ * @since Commons IO 1.1
*/
public static char[] toCharArray(Reader input) throws IOException {
CharArrayWriter sw = new CharArrayWriter();
@@ -408,7 +411,7 @@
* @return the list of Strings, never null
* @throws NullPointerException if the input is null
* @throws IOException if an I/O error occurs
- * @since 1.1
+ * @since Commons IO 1.1
*/
public static List readLines(InputStream input) throws IOException {
InputStreamReader reader = new InputStreamReader(input);
@@ -430,7 +433,7 @@
* @return the list of Strings, never null
* @throws NullPointerException if the input is null
* @throws IOException if an I/O error occurs
- * @since 1.1
+ * @since Commons IO 1.1
*/
public static List readLines(InputStream input, String encoding) throws
IOException {
if (encoding == null) {
@@ -452,7 +455,7 @@
* @return the list of Strings, never null
* @throws NullPointerException if the input is null
* @throws IOException if an I/O error occurs
- * @since 1.1
+ * @since Commons IO 1.1
*/
public static List readLines(Reader input) throws IOException {
BufferedReader reader = new BufferedReader(input);
@@ -472,6 +475,7 @@
*
* @param input the string to convert
* @return an input stream
+ * @since Commons IO 1.1
*/
public static InputStream toInputStream(String input) {
byte[] bytes = input.getBytes();
@@ -489,6 +493,7 @@
* @param encoding the encoding to use, null means platform default
* @throws IOException if the encoding is invalid
* @return an input stream
+ * @since Commons IO 1.1
*/
public static InputStream toInputStream(String input, String encoding)
throws IOException {
byte[] bytes = encoding != null ? input.getBytes(encoding) :
input.getBytes();
@@ -505,7 +510,7 @@
* @param output the <code>OutputStream</code> to write to
* @throws NullPointerException if output is null
* @throws IOException if an I/O error occurs
- * @since 1.1
+ * @since Commons IO 1.1
*/
public static void write(byte[] data, OutputStream output)
throws IOException {
@@ -525,7 +530,7 @@
* @param output the <code>Writer</code> to write to
* @throws NullPointerException if output is null
* @throws IOException if an I/O error occurs
- * @since 1.1
+ * @since Commons IO 1.1
*/
public static void write(byte[] data, Writer output) throws IOException {
if (data != null) {
@@ -548,7 +553,7 @@
* @param encoding the encoding to use, null means platform default
* @throws NullPointerException if output is null
* @throws IOException if an I/O error occurs
- * @since 1.1
+ * @since Commons IO 1.1
*/
public static void write(byte[] data, Writer output, String encoding)
throws IOException {
@@ -572,7 +577,7 @@
* @param output the <code>Writer</code> to write to
* @throws NullPointerException if output is null
* @throws IOException if an I/O error occurs
- * @since 1.1
+ * @since Commons IO 1.1
*/
public static void write(char[] data, Writer output) throws IOException {
if (data != null) {
@@ -592,7 +597,7 @@
* @param output the <code>OutputStream</code> to write to
* @throws NullPointerException if output is null
* @throws IOException if an I/O error occurs
- * @since 1.1
+ * @since Commons IO 1.1
*/
public static void write(char[] data, OutputStream output)
throws IOException {
@@ -617,7 +622,7 @@
* @param encoding the encoding to use, null means platform default
* @throws NullPointerException if output is null
* @throws IOException if an I/O error occurs
- * @since 1.1
+ * @since Commons IO 1.1
*/
public static void write(char[] data, OutputStream output, String encoding)
throws IOException {
@@ -639,7 +644,7 @@
* @param output the <code>Writer</code> to write to
* @throws NullPointerException if output is null
* @throws IOException if an I/O error occurs
- * @since 1.1
+ * @since Commons IO 1.1
*/
public static void write(String data, Writer output) throws IOException {
if (data != null) {
@@ -658,7 +663,7 @@
* @param output the <code>OutputStream</code> to write to
* @throws NullPointerException if output is null
* @throws IOException if an I/O error occurs
- * @since 1.1
+ * @since Commons IO 1.1
*/
public static void write(String data, OutputStream output)
throws IOException {
@@ -681,7 +686,7 @@
* @param encoding the encoding to use, null means platform default
* @throws NullPointerException if output is null
* @throws IOException if an I/O error occurs
- * @since 1.1
+ * @since Commons IO 1.1
*/
public static void write(String data, OutputStream output, String encoding)
throws IOException {
@@ -703,7 +708,7 @@
* @param output the <code>Writer</code> to write to
* @throws NullPointerException if output is null
* @throws IOException if an I/O error occurs
- * @since 1.1
+ * @since Commons IO 1.1
*/
public static void write(StringBuffer data, Writer output)
throws IOException {
@@ -723,7 +728,7 @@
* @param output the <code>OutputStream</code> to write to
* @throws NullPointerException if output is null
* @throws IOException if an I/O error occurs
- * @since 1.1
+ * @since Commons IO 1.1
*/
public static void write(StringBuffer data, OutputStream output)
throws IOException {
@@ -746,7 +751,7 @@
* @param encoding the encoding to use, null means platform default
* @throws NullPointerException if output is null
* @throws IOException if an I/O error occurs
- * @since 1.1
+ * @since Commons IO 1.1
*/
public static void write(StringBuffer data, OutputStream output,
String encoding) throws IOException {
@@ -773,7 +778,7 @@
* @return the number of bytes copied
* @throws NullPointerException if the input or output is null
* @throws IOException if an I/O error occurs
- * @since 1.1
+ * @since Commons IO 1.1
*/
public static int copy(InputStream input, OutputStream output)
throws IOException {
@@ -800,7 +805,7 @@
* @param output the <code>Writer</code> to write to
* @throws NullPointerException if the input or output is null
* @throws IOException if an I/O error occurs
- * @since 1.1
+ * @since Commons IO 1.1
*/
public static void copy(InputStream input, Writer output)
throws IOException {
@@ -825,7 +830,7 @@
* @param encoding the encoding to use, null means platform default
* @throws NullPointerException if the input or output is null
* @throws IOException if an I/O error occurs
- * @since 1.1
+ * @since Commons IO 1.1
*/
public static void copy(InputStream input, Writer output, String encoding)
throws IOException {
@@ -850,7 +855,7 @@
* @return the number of characters copied
* @throws NullPointerException if the input or output is null
* @throws IOException if an I/O error occurs
- * @since 1.1
+ * @since Commons IO 1.1
*/
public static int copy(Reader input, Writer output) throws IOException {
char[] buffer = new char[DEFAULT_BUFFER_SIZE];
@@ -880,7 +885,7 @@
* @param output the <code>OutputStream</code> to write to
* @throws NullPointerException if the input or output is null
* @throws IOException if an I/O error occurs
- * @since 1.1
+ * @since Commons IO 1.1
*/
public static void copy(Reader input, OutputStream output)
throws IOException {
@@ -912,7 +917,7 @@
* @param encoding the encoding to use, null means platform default
* @throws NullPointerException if the input or output is null
* @throws IOException if an I/O error occurs
- * @since 1.1
+ * @since Commons IO 1.1
*/
public static void copy(Reader input, OutputStream output, String encoding)
throws IOException {
@@ -978,7 +983,7 @@
* exist, false otherwise
* @throws NullPointerException if either input is null
* @throws IOException if an I/O error occurs
- * @since 1.1
+ * @since Commons IO 1.1
*/
public static boolean contentEquals(Reader input1, Reader input2)
throws IOException {
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]