aboutsummaryrefslogtreecommitdiff
path: root/src/rejava/io/Reader.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/rejava/io/Reader.java')
-rw-r--r--src/rejava/io/Reader.java20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/rejava/io/Reader.java b/src/rejava/io/Reader.java
new file mode 100644
index 0000000..f0a6bfa
--- /dev/null
+++ b/src/rejava/io/Reader.java
@@ -0,0 +1,20 @@
1package rejava.io;
2
3/**
4 * A minimal version of java.io.Reader.
5 * (http://hg.openjdk.java.net/jdk7/jdk7/jdk
6 * /file/9b8c96f96a0f/src/share/classes/java/io/Reader.java)
7 *
8 * @author Pacien TRAN-GIRARD
9 */
10public abstract class Reader {
11
12 public abstract int read();
13
14 public abstract int read(final char[] cbuf, final int off, final int len);
15
16 public void close() {
17 return;
18 }
19
20} \ No newline at end of file