1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17 package org.apache.commons.vfs2.provider;
18
19 import java.io.IOException;
20
21 import org.apache.commons.vfs2.RandomAccessContent;
22 import org.apache.commons.vfs2.util.RandomAccessMode;
23
24
25
26
27
28
29 public abstract class AbstractRandomAccessContent implements RandomAccessContent {
30
31 protected AbstractRandomAccessContent(final RandomAccessMode mode) {
32 }
33
34
35
36
37
38
39
40 @Override
41 @Deprecated
42 public String readLine() throws IOException {
43 throw new UnsupportedOperationException("deprecated");
44 }
45
46 @Override
47 public void write(final byte[] b) throws IOException {
48 throw new UnsupportedOperationException();
49 }
50
51 @Override
52 public void write(final byte[] b, final int off, final int len) throws IOException {
53 throw new UnsupportedOperationException();
54 }
55
56 @Override
57 public void write(final int b) throws IOException {
58 throw new UnsupportedOperationException();
59 }
60
61 @Override
62 public void writeBoolean(final boolean v) throws IOException {
63 throw new UnsupportedOperationException();
64 }
65
66 @Override
67 public void writeByte(final int v) throws IOException {
68 throw new UnsupportedOperationException();
69 }
70
71 @Override
72 public void writeBytes(final String s) throws IOException {
73 throw new UnsupportedOperationException();
74 }
75
76 @Override
77 public void writeChar(final int v) throws IOException {
78 throw new UnsupportedOperationException();
79 }
80
81 @Override
82 public void writeChars(final String s) throws IOException {
83 throw new UnsupportedOperationException();
84 }
85
86 @Override
87 public void writeDouble(final double v) throws IOException {
88 throw new UnsupportedOperationException();
89 }
90
91 @Override
92 public void writeFloat(final float v) throws IOException {
93 throw new UnsupportedOperationException();
94 }
95
96 @Override
97 public void writeInt(final int v) throws IOException {
98 throw new UnsupportedOperationException();
99 }
100
101 @Override
102 public void writeLong(final long v) throws IOException {
103 throw new UnsupportedOperationException();
104 }
105
106 @Override
107 public void writeShort(final int v) throws IOException {
108 throw new UnsupportedOperationException();
109 }
110
111 @Override
112 public void writeUTF(final String str) throws IOException {
113 throw new UnsupportedOperationException();
114 }
115 }