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/02/23 05:56:59 UTC
cvs commit: jakarta-commons/io/src/java/org/apache/commons/io/input SwappedDataInputStream.java
bayard 2004/02/22 20:56:59
Modified: io/src/java/org/apache/commons/io/input
SwappedDataInputStream.java
Log:
improved javadoc
Revision Changes Path
1.8 +14 -3 jakarta-commons/io/src/java/org/apache/commons/io/input/SwappedDataInputStream.java
Index: SwappedDataInputStream.java
===================================================================
RCS file: /home/cvs/jakarta-commons/io/src/java/org/apache/commons/io/input/SwappedDataInputStream.java,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- SwappedDataInputStream.java 23 Feb 2004 04:38:52 -0000 1.7
+++ SwappedDataInputStream.java 23 Feb 2004 04:56:59 -0000 1.8
@@ -24,6 +24,8 @@
/**
* DataInput for systems relying on little endian data formats.
+ * When read, values will be changed from little endian to big
+ * endian formats for internal usage.
*
* <p><b>Origin of code: </b>Avalon Excalibur (IO)</p>
*
@@ -36,6 +38,7 @@
/**
* Constructs a SwappedDataInputStream.
+ *
* @param input InputStream to read from
*/
public SwappedDataInputStream( InputStream input )
@@ -112,7 +115,11 @@
return EndianUtils.readSwappedInteger( in );
}
- /** @see java.io.DataInput#readLine() */
+ /**
+ * Not currently supported.
+ *
+ * @see java.io.DataInput#readLine()
+ */
public String readLine()
throws IOException, EOFException
{
@@ -148,7 +155,11 @@
return EndianUtils.readSwappedUnsignedShort( in );
}
- /** @see java.io.DataInput#readUTF() */
+ /**
+ * Not currently supported.
+ *
+ * @see java.io.DataInput#readUTF()
+ */
public String readUTF()
throws IOException, EOFException
{
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org