You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2012/05/17 20:06:02 UTC
svn commit: r1339758 -
/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/AbstractRandomAccessContent.java
Author: ggregory
Date: Thu May 17 18:06:02 2012
New Revision: 1339758
URL: http://svn.apache.org/viewvc?rev=1339758&view=rev
Log:
Sort methods in AB-order.
Modified:
commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/AbstractRandomAccessContent.java
Modified: commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/AbstractRandomAccessContent.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/AbstractRandomAccessContent.java?rev=1339758&r1=1339757&r2=1339758&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/AbstractRandomAccessContent.java (original)
+++ commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/AbstractRandomAccessContent.java Thu May 17 18:06:02 2012
@@ -35,85 +35,85 @@ public abstract class AbstractRandomAcce
this.mode = mode;
}
- public void writeDouble(double v) throws IOException
+ /**
+ * @deprecated see {@link java.io.DataInputStream#readLine()} This method will be removed when it is
+ * removed from the DataInput interface this class implements (which will probably never happen).
+ * @return The line as a String.
+ * @throws IOException if an error occurs.
+ */
+ @Deprecated
+ public String readLine() throws IOException
{
- throw new UnsupportedOperationException();
+ throw new UnsupportedOperationException("deprecated");
}
- public void writeFloat(float v) throws IOException
+ public void write(byte[] b) throws IOException
{
throw new UnsupportedOperationException();
}
- public void write(int b) throws IOException
+ public void write(byte[] b, int off, int len) throws IOException
{
throw new UnsupportedOperationException();
}
- public void writeByte(int v) throws IOException
+ public void write(int b) throws IOException
{
throw new UnsupportedOperationException();
}
- public void writeChar(int v) throws IOException
+ public void writeBoolean(boolean v) throws IOException
{
throw new UnsupportedOperationException();
}
- public void writeInt(int v) throws IOException
+ public void writeByte(int v) throws IOException
{
throw new UnsupportedOperationException();
}
- public void writeShort(int v) throws IOException
+ public void writeBytes(String s) throws IOException
{
throw new UnsupportedOperationException();
}
- public void writeLong(long v) throws IOException
+ public void writeChar(int v) throws IOException
{
throw new UnsupportedOperationException();
}
- public void writeBoolean(boolean v) throws IOException
+ public void writeChars(String s) throws IOException
{
throw new UnsupportedOperationException();
}
- public void write(byte[] b) throws IOException
+ public void writeDouble(double v) throws IOException
{
throw new UnsupportedOperationException();
}
- public void write(byte[] b, int off, int len) throws IOException
+ public void writeFloat(float v) throws IOException
{
throw new UnsupportedOperationException();
}
- public void writeBytes(String s) throws IOException
+ public void writeInt(int v) throws IOException
{
throw new UnsupportedOperationException();
}
- public void writeChars(String s) throws IOException
+ public void writeLong(long v) throws IOException
{
throw new UnsupportedOperationException();
}
- public void writeUTF(String str) throws IOException
+ public void writeShort(int v) throws IOException
{
throw new UnsupportedOperationException();
}
- /**
- * @deprecated see {@link java.io.DataInputStream#readLine()} This method will be removed when it is
- * removed from the DataInput interface this class implements (which will probably never happen).
- * @return The line as a String.
- * @throws IOException if an error occurs.
- */
- @Deprecated
- public String readLine() throws IOException
+ public void writeUTF(String str) throws IOException
{
- throw new UnsupportedOperationException("deprecated");
+ throw new UnsupportedOperationException();
}
}