commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r368768 - /jakarta/commons/proper/codec/trunk/src/java/org/apache/commons/codec/binary/BinaryCodec.java
Date Fri, 13 Jan 2006 16:16:39 GMT
Author: ggregory
Date: Fri Jan 13 08:16:35 2006
New Revision: 368768

URL: http://svn.apache.org/viewcvs?rev=368768&view=rev
Log:
Javadoc: Changed 'ascii' to 'ASCII', since it is an acronym for American Standard Code for
Information Interchange.

Modified:
    jakarta/commons/proper/codec/trunk/src/java/org/apache/commons/codec/binary/BinaryCodec.java

Modified: jakarta/commons/proper/codec/trunk/src/java/org/apache/commons/codec/binary/BinaryCodec.java
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/codec/trunk/src/java/org/apache/commons/codec/binary/BinaryCodec.java?rev=368768&r1=368767&r2=368768&view=diff
==============================================================================
--- jakarta/commons/proper/codec/trunk/src/java/org/apache/commons/codec/binary/BinaryCodec.java
(original)
+++ jakarta/commons/proper/codec/trunk/src/java/org/apache/commons/codec/binary/BinaryCodec.java
Fri Jan 13 08:16:35 2006
@@ -70,11 +70,11 @@
     private static final int[] BITS = {BIT_0, BIT_1, BIT_2, BIT_3, BIT_4, BIT_5, BIT_6, BIT_7};
 
     /**
-     * Converts an array of raw binary data into an array of ascii 0 and 1 characters.
+     * Converts an array of raw binary data into an array of ASCII 0 and 1 characters.
      * 
      * @param raw
      *                  the raw binary data to convert
-     * @return 0 and 1 ascii character bytes one for each bit of the argument
+     * @return 0 and 1 ASCII character bytes one for each bit of the argument
      * @see org.apache.commons.codec.BinaryEncoder#encode(byte[])
      */
     public byte[] encode(byte[] raw) {
@@ -82,11 +82,11 @@
     }
 
     /**
-     * Converts an array of raw binary data into an array of ascii 0 and 1 chars.
+     * Converts an array of raw binary data into an array of ASCII 0 and 1 chars.
      * 
      * @param raw
      *                  the raw binary data to convert
-     * @return 0 and 1 ascii character chars one for each bit of the argument
+     * @return 0 and 1 ASCII character chars one for each bit of the argument
      * @throws EncoderException
      *                  if the argument is not a byte[]
      * @see org.apache.commons.codec.Encoder#encode(java.lang.Object)
@@ -99,10 +99,10 @@
     }
 
     /**
-     * Decodes a byte array where each byte represents an ascii '0' or '1'.
+     * Decodes a byte array where each byte represents an ASCII '0' or '1'.
      * 
      * @param ascii
-     *                  each byte represents an ascii '0' or '1'
+     *                  each byte represents an ASCII '0' or '1'
      * @return the raw encoded binary where each bit corresponds to a byte in the byte array
argument
      * @throws DecoderException
      *                  if argument is not a byte[], char[] or String
@@ -125,10 +125,10 @@
     }
 
     /**
-     * Decodes a byte array where each byte represents an ascii '0' or '1'.
+     * Decodes a byte array where each byte represents an ASCII '0' or '1'.
      * 
      * @param ascii
-     *                  each byte represents an ascii '0' or '1'
+     *                  each byte represents an ASCII '0' or '1'
      * @return the raw encoded binary where each bit corresponds to a byte in the byte array
argument
      * @see org.apache.commons.codec.Decoder#decode(Object)
      */
@@ -137,7 +137,7 @@
     }
 
     /**
-     * Decodes a String where each char of the String represents an ascii '0' or '1'.
+     * Decodes a String where each char of the String represents an ASCII '0' or '1'.
      * 
      * @param ascii
      *                  String of '0' and '1' characters
@@ -157,10 +157,10 @@
     //
     // ------------------------------------------------------------------------
     /**
-     * Decodes a byte array where each char represents an ascii '0' or '1'.
+     * Decodes a byte array where each char represents an ASCII '0' or '1'.
      * 
      * @param ascii
-     *                  each char represents an ascii '0' or '1'
+     *                  each char represents an ASCII '0' or '1'
      * @return the raw encoded binary where each bit corresponds to a char in the char array
argument
      */
     public static byte[] fromAscii(char[] ascii) {
@@ -184,10 +184,10 @@
     }
 
     /**
-     * Decodes a byte array where each byte represents an ascii '0' or '1'.
+     * Decodes a byte array where each byte represents an ASCII '0' or '1'.
      * 
      * @param ascii
-     *                  each byte represents an ascii '0' or '1'
+     *                  each byte represents an ASCII '0' or '1'
      * @return the raw encoded binary where each bit corresponds to a byte in the byte array
argument
      */
     public static byte[] fromAscii(byte[] ascii) {
@@ -211,7 +211,7 @@
     }
 
     /**
-     * Converts an array of raw binary data into an array of ascii 0 and 1 character bytes
- each byte is a truncated
+     * Converts an array of raw binary data into an array of ASCII 0 and 1 character bytes
- each byte is a truncated
      * char.
      * 
      * @param raw
@@ -242,7 +242,7 @@
     }
 
     /**
-     * Converts an array of raw binary data into an array of ascii 0 and 1 characters.
+     * Converts an array of raw binary data into an array of ASCII 0 and 1 characters.
      * 
      * @param raw
      *                  the raw binary data to convert
@@ -272,7 +272,7 @@
     }
 
     /**
-     * Converts an array of raw binary data into a String of ascii 0 and 1 characters.
+     * Converts an array of raw binary data into a String of ASCII 0 and 1 characters.
      * 
      * @param raw
      *                  the raw binary data to convert



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


Mime
View raw message