Skip to content

Commit 0003ff6

Browse files
committed
improved javadoc
git-svn-id: https://svn.apache.org/repos/asf/jakarta/commons/proper/io/trunk@140521 13f79535-47bb-0310-9956-ffa450edef68
1 parent 9ef3966 commit 0003ff6

1 file changed

Lines changed: 14 additions & 3 deletions

File tree

src/java/org/apache/commons/io/input/SwappedDataInputStream.java

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,18 +24,21 @@
2424

2525
/**
2626
* DataInput for systems relying on little endian data formats.
27+
* When read, values will be changed from little endian to big
28+
* endian formats for internal usage.
2729
*
2830
* <p><b>Origin of code: </b>Avalon Excalibur (IO)</p>
2931
*
3032
* @author <a href="mailto:peter@apache.org">Peter Donald</a>
31-
* @version CVS $Revision: 1.7 $ $Date: 2004/02/23 04:38:52 $
33+
* @version CVS $Revision: 1.8 $ $Date: 2004/02/23 04:56:59 $
3234
*/
3335
public class SwappedDataInputStream extends ProxyInputStream
3436
implements DataInput
3537
{
3638

3739
/**
3840
* Constructs a SwappedDataInputStream.
41+
*
3942
* @param input InputStream to read from
4043
*/
4144
public SwappedDataInputStream( InputStream input )
@@ -112,7 +115,11 @@ public int readInt()
112115
return EndianUtils.readSwappedInteger( in );
113116
}
114117

115-
/** @see java.io.DataInput#readLine() */
118+
/**
119+
* Not currently supported.
120+
*
121+
* @see java.io.DataInput#readLine()
122+
*/
116123
public String readLine()
117124
throws IOException, EOFException
118125
{
@@ -148,7 +155,11 @@ public int readUnsignedShort()
148155
return EndianUtils.readSwappedUnsignedShort( in );
149156
}
150157

151-
/** @see java.io.DataInput#readUTF() */
158+
/**
159+
* Not currently supported.
160+
*
161+
* @see java.io.DataInput#readUTF()
162+
*/
152163
public String readUTF()
153164
throws IOException, EOFException
154165
{

0 commit comments

Comments
 (0)