KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > j2me > io > FileOutputStream


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.OutputStream JavaDoc;
15
16
17 public class FileOutputStream extends OutputStream JavaDoc {
18     
19     public FileOutputStream(String JavaDoc name) throws FileNotFoundException {
20     }
21     public FileOutputStream(File file) throws FileNotFoundException {
22     }
23
24     public void write(int arg0) throws IOException JavaDoc {
25         throw new UnsupportedOperationException JavaDoc(
26             "File operations not supported for J2ME build");
27     }
28
29 }
Popular Tags