Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'JCL/converterJclMin1.8/src/java/io')
-rw-r--r--JCL/converterJclMin1.8/src/java/io/BufferedInputStream.java17
-rw-r--r--JCL/converterJclMin1.8/src/java/io/BufferedOutputStream.java17
-rw-r--r--JCL/converterJclMin1.8/src/java/io/BufferedWriter.java22
-rw-r--r--JCL/converterJclMin1.8/src/java/io/ByteArrayInputStream.java17
-rw-r--r--JCL/converterJclMin1.8/src/java/io/ByteArrayOutputStream.java16
-rw-r--r--JCL/converterJclMin1.8/src/java/io/File.java46
-rw-r--r--JCL/converterJclMin1.8/src/java/io/FileInputStream.java18
-rw-r--r--JCL/converterJclMin1.8/src/java/io/FileOutputStream.java19
-rw-r--r--JCL/converterJclMin1.8/src/java/io/FileWriter.java24
-rw-r--r--JCL/converterJclMin1.8/src/java/io/IOException.java20
-rw-r--r--JCL/converterJclMin1.8/src/java/io/InputStream.java22
-rw-r--r--JCL/converterJclMin1.8/src/java/io/InputStreamReader.java22
-rw-r--r--JCL/converterJclMin1.8/src/java/io/InterruptedIOException.java15
-rw-r--r--JCL/converterJclMin1.8/src/java/io/OutputStream.java22
-rw-r--r--JCL/converterJclMin1.8/src/java/io/PrintStream.java35
-rw-r--r--JCL/converterJclMin1.8/src/java/io/PrintWriter.java28
-rw-r--r--JCL/converterJclMin1.8/src/java/io/Reader.java16
-rw-r--r--JCL/converterJclMin1.8/src/java/io/Serializable.java15
-rw-r--r--JCL/converterJclMin1.8/src/java/io/StringWriter.java23
-rw-r--r--JCL/converterJclMin1.8/src/java/io/UnsupportedEncodingException.java20
-rw-r--r--JCL/converterJclMin1.8/src/java/io/Writer.java19
21 files changed, 453 insertions, 0 deletions
diff --git a/JCL/converterJclMin1.8/src/java/io/BufferedInputStream.java b/JCL/converterJclMin1.8/src/java/io/BufferedInputStream.java
new file mode 100644
index 0000000000..aa574a1930
--- /dev/null
+++ b/JCL/converterJclMin1.8/src/java/io/BufferedInputStream.java
@@ -0,0 +1,17 @@
+/*******************************************************************************
+ * Copyright (c) 2000, 2004 IBM Corporation and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+package java.io;
+
+
+public class BufferedInputStream extends InputStream {
+ public BufferedInputStream(InputStream inputStream) {
+ }
+}
diff --git a/JCL/converterJclMin1.8/src/java/io/BufferedOutputStream.java b/JCL/converterJclMin1.8/src/java/io/BufferedOutputStream.java
new file mode 100644
index 0000000000..3ab0e26fc5
--- /dev/null
+++ b/JCL/converterJclMin1.8/src/java/io/BufferedOutputStream.java
@@ -0,0 +1,17 @@
+/*******************************************************************************
+ * Copyright (c) 2000, 2004 IBM Corporation and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+package java.io;
+
+
+public class BufferedOutputStream extends OutputStream {
+ public BufferedOutputStream(FileOutputStream outputStream) {
+ }
+}
diff --git a/JCL/converterJclMin1.8/src/java/io/BufferedWriter.java b/JCL/converterJclMin1.8/src/java/io/BufferedWriter.java
new file mode 100644
index 0000000000..61122c1b2f
--- /dev/null
+++ b/JCL/converterJclMin1.8/src/java/io/BufferedWriter.java
@@ -0,0 +1,22 @@
+/*******************************************************************************
+ * Copyright (c) 2000, 2004 IBM Corporation and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+package java.io;
+
+
+public class BufferedWriter extends Writer {
+
+ public BufferedWriter(Writer writer) {
+ }
+ public void flush() throws IOException {
+ }
+ public void close() throws IOException {
+ }
+}
diff --git a/JCL/converterJclMin1.8/src/java/io/ByteArrayInputStream.java b/JCL/converterJclMin1.8/src/java/io/ByteArrayInputStream.java
new file mode 100644
index 0000000000..7f095dcbcb
--- /dev/null
+++ b/JCL/converterJclMin1.8/src/java/io/ByteArrayInputStream.java
@@ -0,0 +1,17 @@
+/*******************************************************************************
+ * Copyright (c) 2000, 2004 IBM Corporation and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+package java.io;
+
+
+public class ByteArrayInputStream extends InputStream {
+ public ByteArrayInputStream(byte[] b) {
+ }
+}
diff --git a/JCL/converterJclMin1.8/src/java/io/ByteArrayOutputStream.java b/JCL/converterJclMin1.8/src/java/io/ByteArrayOutputStream.java
new file mode 100644
index 0000000000..8af40644cc
--- /dev/null
+++ b/JCL/converterJclMin1.8/src/java/io/ByteArrayOutputStream.java
@@ -0,0 +1,16 @@
+/*******************************************************************************
+ * Copyright (c) 2000, 2004 IBM Corporation and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+package java.io;
+
+
+public class ByteArrayOutputStream extends OutputStream {
+
+}
diff --git a/JCL/converterJclMin1.8/src/java/io/File.java b/JCL/converterJclMin1.8/src/java/io/File.java
new file mode 100644
index 0000000000..e0465e47fa
--- /dev/null
+++ b/JCL/converterJclMin1.8/src/java/io/File.java
@@ -0,0 +1,46 @@
+/*******************************************************************************
+ * Copyright (c) 2000, 2004 IBM Corporation and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+package java.io;
+
+public class File {
+ public static final char separatorChar = '\\';
+ public static final String separator = "\\"; //$NON-NLS-1$
+
+ public File(String s) {
+ }
+
+ public boolean exists() {
+ return false;
+ }
+
+ public boolean isDirectory() {
+ return false;
+ }
+
+ public String getAbsolutePath() {
+ return null;
+ }
+
+ public boolean mkdirs() {
+ return false;
+ }
+
+ public boolean mkdir() {
+ return false;
+ }
+
+ public String getName() {
+ return null;
+ }
+ public long length() {
+ return 0;
+ }
+}
diff --git a/JCL/converterJclMin1.8/src/java/io/FileInputStream.java b/JCL/converterJclMin1.8/src/java/io/FileInputStream.java
new file mode 100644
index 0000000000..c51d1be33c
--- /dev/null
+++ b/JCL/converterJclMin1.8/src/java/io/FileInputStream.java
@@ -0,0 +1,18 @@
+/*******************************************************************************
+ * Copyright (c) 2000, 2004 IBM Corporation and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+package java.io;
+
+
+public class FileInputStream extends InputStream {
+
+ public FileInputStream(File f) {
+ }
+}
diff --git a/JCL/converterJclMin1.8/src/java/io/FileOutputStream.java b/JCL/converterJclMin1.8/src/java/io/FileOutputStream.java
new file mode 100644
index 0000000000..c643bf9c41
--- /dev/null
+++ b/JCL/converterJclMin1.8/src/java/io/FileOutputStream.java
@@ -0,0 +1,19 @@
+/*******************************************************************************
+ * Copyright (c) 2000, 2004 IBM Corporation and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+package java.io;
+
+
+public class FileOutputStream extends OutputStream {
+ public FileOutputStream(File f) {
+ }
+ public FileOutputStream(String s) {
+ }
+}
diff --git a/JCL/converterJclMin1.8/src/java/io/FileWriter.java b/JCL/converterJclMin1.8/src/java/io/FileWriter.java
new file mode 100644
index 0000000000..667a188869
--- /dev/null
+++ b/JCL/converterJclMin1.8/src/java/io/FileWriter.java
@@ -0,0 +1,24 @@
+/*******************************************************************************
+ * Copyright (c) 2000, 2004 IBM Corporation and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+package java.io;
+
+
+public class FileWriter extends Writer {
+
+ public FileWriter(String s) {
+ }
+ public void flush() throws IOException {
+ }
+
+ public void close() throws IOException {
+ }
+
+}
diff --git a/JCL/converterJclMin1.8/src/java/io/IOException.java b/JCL/converterJclMin1.8/src/java/io/IOException.java
new file mode 100644
index 0000000000..e9dabf8df2
--- /dev/null
+++ b/JCL/converterJclMin1.8/src/java/io/IOException.java
@@ -0,0 +1,20 @@
+/*******************************************************************************
+ * Copyright (c) 2000, 2004 IBM Corporation and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+package java.io;
+
+public class IOException extends Exception {
+ private static final long serialVersionUID = 420068904675281479L;
+ public IOException(String s) {
+ super(s);
+ }
+ public IOException() {
+ }
+}
diff --git a/JCL/converterJclMin1.8/src/java/io/InputStream.java b/JCL/converterJclMin1.8/src/java/io/InputStream.java
new file mode 100644
index 0000000000..8aa222e902
--- /dev/null
+++ b/JCL/converterJclMin1.8/src/java/io/InputStream.java
@@ -0,0 +1,22 @@
+/*******************************************************************************
+ * Copyright (c) 2000, 2004 IBM Corporation and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+package java.io;
+
+public class InputStream {
+ public void close() throws IOException {
+ }
+ public int available() throws IOException {
+ return 0;
+ }
+ public int read(byte b[], int off, int len) throws IOException {
+ return 0;
+ }
+}
diff --git a/JCL/converterJclMin1.8/src/java/io/InputStreamReader.java b/JCL/converterJclMin1.8/src/java/io/InputStreamReader.java
new file mode 100644
index 0000000000..a9012a34b8
--- /dev/null
+++ b/JCL/converterJclMin1.8/src/java/io/InputStreamReader.java
@@ -0,0 +1,22 @@
+/*******************************************************************************
+ * Copyright (c) 2000, 2004 IBM Corporation and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+package java.io;
+
+
+public class InputStreamReader extends Reader {
+ public InputStreamReader(InputStream inputStream) {
+ }
+ public InputStreamReader(InputStream stream, String s) throws UnsupportedEncodingException {
+ }
+ public int read(char cbuf[], int offset, int length) throws IOException {
+ return 0;
+ }
+}
diff --git a/JCL/converterJclMin1.8/src/java/io/InterruptedIOException.java b/JCL/converterJclMin1.8/src/java/io/InterruptedIOException.java
new file mode 100644
index 0000000000..c727ca292d
--- /dev/null
+++ b/JCL/converterJclMin1.8/src/java/io/InterruptedIOException.java
@@ -0,0 +1,15 @@
+/*******************************************************************************
+ * Copyright (c) 2000, 2004 IBM Corporation and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+package java.io;
+
+public class InterruptedIOException extends Exception {
+ private static final long serialVersionUID = -2623465050370205911L;
+}
diff --git a/JCL/converterJclMin1.8/src/java/io/OutputStream.java b/JCL/converterJclMin1.8/src/java/io/OutputStream.java
new file mode 100644
index 0000000000..8d9756265b
--- /dev/null
+++ b/JCL/converterJclMin1.8/src/java/io/OutputStream.java
@@ -0,0 +1,22 @@
+/*******************************************************************************
+ * Copyright (c) 2000, 2004 IBM Corporation and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+package java.io;
+
+
+public class OutputStream {
+
+ public void write(byte b[]) throws IOException {
+ }
+ public void flush() throws IOException {
+ }
+ public void close() throws IOException {
+ }
+}
diff --git a/JCL/converterJclMin1.8/src/java/io/PrintStream.java b/JCL/converterJclMin1.8/src/java/io/PrintStream.java
new file mode 100644
index 0000000000..503f080425
--- /dev/null
+++ b/JCL/converterJclMin1.8/src/java/io/PrintStream.java
@@ -0,0 +1,35 @@
+/*******************************************************************************
+ * Copyright (c) 2000, 2004 IBM Corporation and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+package java.io;
+
+public class PrintStream {
+
+ public void println() {
+ }
+
+ public void println(String s) {
+ }
+
+ public void println(int i) {
+ }
+
+ public void println(Object o) {
+ }
+
+ public void print(String s) {
+ }
+
+ public void print(Object o) {
+ }
+
+ public void print(int i) {
+ }
+}
diff --git a/JCL/converterJclMin1.8/src/java/io/PrintWriter.java b/JCL/converterJclMin1.8/src/java/io/PrintWriter.java
new file mode 100644
index 0000000000..ec7e885e07
--- /dev/null
+++ b/JCL/converterJclMin1.8/src/java/io/PrintWriter.java
@@ -0,0 +1,28 @@
+/*******************************************************************************
+ * Copyright (c) 2000, 2004 IBM Corporation and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+package java.io;
+
+public class PrintWriter extends Writer {
+ public PrintWriter(ByteArrayOutputStream stream) {
+ }
+ public PrintWriter(Writer w) {
+ }
+ public void print(String s) {
+ }
+ public void print(char[] tab) {
+ }
+ public void flush() {
+ }
+ public void close() {
+ }
+ public void println(String s) {
+ }
+}
diff --git a/JCL/converterJclMin1.8/src/java/io/Reader.java b/JCL/converterJclMin1.8/src/java/io/Reader.java
new file mode 100644
index 0000000000..bb74ec22fa
--- /dev/null
+++ b/JCL/converterJclMin1.8/src/java/io/Reader.java
@@ -0,0 +1,16 @@
+/*******************************************************************************
+ * Copyright (c) 2000, 2004 IBM Corporation and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+package java.io;
+
+
+public class Reader {
+
+}
diff --git a/JCL/converterJclMin1.8/src/java/io/Serializable.java b/JCL/converterJclMin1.8/src/java/io/Serializable.java
new file mode 100644
index 0000000000..e33731bec8
--- /dev/null
+++ b/JCL/converterJclMin1.8/src/java/io/Serializable.java
@@ -0,0 +1,15 @@
+/*******************************************************************************
+ * Copyright (c) 2000, 2004 IBM Corporation and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+package java.io;
+
+public interface Serializable {
+
+}
diff --git a/JCL/converterJclMin1.8/src/java/io/StringWriter.java b/JCL/converterJclMin1.8/src/java/io/StringWriter.java
new file mode 100644
index 0000000000..84631fdee0
--- /dev/null
+++ b/JCL/converterJclMin1.8/src/java/io/StringWriter.java
@@ -0,0 +1,23 @@
+/*******************************************************************************
+ * Copyright (c) 2000, 2004 IBM Corporation and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+package java.io;
+
+
+public class StringWriter extends Writer {
+
+ public StringBuffer getBuffer() {
+ return null;
+ }
+ public void flush() {
+ }
+ public void close() {
+ }
+}
diff --git a/JCL/converterJclMin1.8/src/java/io/UnsupportedEncodingException.java b/JCL/converterJclMin1.8/src/java/io/UnsupportedEncodingException.java
new file mode 100644
index 0000000000..6eb4f03784
--- /dev/null
+++ b/JCL/converterJclMin1.8/src/java/io/UnsupportedEncodingException.java
@@ -0,0 +1,20 @@
+/*******************************************************************************
+ * Copyright (c) 2000, 2004 IBM Corporation and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+package java.io;
+
+public class UnsupportedEncodingException extends IOException {
+ private static final long serialVersionUID = 1031403719398591519L;
+ public UnsupportedEncodingException(String s) {
+ super(s);
+ }
+ public UnsupportedEncodingException() {
+ }
+}
diff --git a/JCL/converterJclMin1.8/src/java/io/Writer.java b/JCL/converterJclMin1.8/src/java/io/Writer.java
new file mode 100644
index 0000000000..8a198ae50c
--- /dev/null
+++ b/JCL/converterJclMin1.8/src/java/io/Writer.java
@@ -0,0 +1,19 @@
+/*******************************************************************************
+ * Copyright (c) 2000, 2004 IBM Corporation and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+package java.io;
+
+
+public abstract class Writer {
+ public abstract void flush() throws IOException;
+ public abstract void close() throws IOException;
+ public void write(String str) throws IOException {
+ }
+}

Back to the top