1 /*2 * Javolution - Java(TM) Solution for Real-Time and Embedded Systems3 * Copyright (C) 2005 - Javolution (http://javolution.org/)4 * All rights reserved.5 * 6 * Permission to use, copy, modify, and distribute this software is7 * 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 ;14 import java.io.InputStream ;15 16 17 public class FileInputStream extends InputStream {18 19 public FileInputStream(String name) throws FileNotFoundException {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 }