|
24 | 24 |
|
25 | 25 | /** |
26 | 26 | * 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. |
27 | 29 | * |
28 | 30 | * <p><b>Origin of code: </b>Avalon Excalibur (IO)</p> |
29 | 31 | * |
30 | 32 | * @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 $ |
32 | 34 | */ |
33 | 35 | public class SwappedDataInputStream extends ProxyInputStream |
34 | 36 | implements DataInput |
35 | 37 | { |
36 | 38 |
|
37 | 39 | /** |
38 | 40 | * Constructs a SwappedDataInputStream. |
| 41 | + * |
39 | 42 | * @param input InputStream to read from |
40 | 43 | */ |
41 | 44 | public SwappedDataInputStream( InputStream input ) |
@@ -112,7 +115,11 @@ public int readInt() |
112 | 115 | return EndianUtils.readSwappedInteger( in ); |
113 | 116 | } |
114 | 117 |
|
115 | | - /** @see java.io.DataInput#readLine() */ |
| 118 | + /** |
| 119 | + * Not currently supported. |
| 120 | + * |
| 121 | + * @see java.io.DataInput#readLine() |
| 122 | + */ |
116 | 123 | public String readLine() |
117 | 124 | throws IOException, EOFException |
118 | 125 | { |
@@ -148,7 +155,11 @@ public int readUnsignedShort() |
148 | 155 | return EndianUtils.readSwappedUnsignedShort( in ); |
149 | 156 | } |
150 | 157 |
|
151 | | - /** @see java.io.DataInput#readUTF() */ |
| 158 | + /** |
| 159 | + * Not currently supported. |
| 160 | + * |
| 161 | + * @see java.io.DataInput#readUTF() |
| 162 | + */ |
152 | 163 | public String readUTF() |
153 | 164 | throws IOException, EOFException |
154 | 165 | { |
|
0 commit comments