01: /*
02: * Javolution - Java(TM) Solution for Real-Time and Embedded Systems
03: * Copyright (C) 2005 - Javolution (http://javolution.org/)
04: * All rights reserved.
05: *
06: * Permission to use, copy, modify, and distribute this software is
07: * freely granted, provided that this notice is preserved.
08: */
09:
10: package j2me.io;
11:
12: import j2me.lang.UnsupportedOperationException;
13: import java.io.IOException;
14: import java.io.InputStream;
15:
16: public class FileInputStream extends InputStream {
17:
18: public FileInputStream(String name) throws FileNotFoundException {
19:
20: }
21:
22: public FileInputStream(File file) throws FileNotFoundException {
23:
24: }
25:
26: public int read() throws IOException {
27: throw new UnsupportedOperationException(
28: "File operations not supported for J2ME build");
29: }
30:
31: }
|