KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > j2me > io > FileInputStream


1 /*
2  * Javolution - Java(TM) Solution for Real-Time and Embedded Systems
3  * Copyright (C) 2005 - Javolution (http://javolution.org/)
4  * All rights reserved.
5  *
6  * Permission to use, copy, modify, and distribute this software is
7  * freely granted, provided that this notice is preserved.
8  */

9
10 package j2me.io;
11
12 import j2me.lang.UnsupportedOperationException;
13 import java.io.IOException JavaDoc;
14 import java.io.InputStream JavaDoc;
15
16
17 public class FileInputStream extends InputStream JavaDoc {
18     
19     public FileInputStream(String JavaDoc name) throws FileNotFoundException {
20         
21     }
22     public FileInputStream(File file) throws FileNotFoundException {
23         
24     }
25
26     public int read() throws IOException JavaDoc {
27         throw new UnsupportedOperationException JavaDoc(
28                 "File operations not supported for J2ME build");
29     }
30
31 }
Popular Tags