www.pudn.com > j2me_cldc-1_1-fcs-src-winunix.rar > ConsoleOutputStream.java
/*
* Copyright © 2003 Sun Microsystems, Inc. All rights reserved.
* SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
*/
package com.sun.cldc.io;
import java.io.OutputStream;
import java.io.IOException;
public class ConsoleOutputStream extends OutputStream {
/**
* Writes the specified byte to this output stream.
*
* @param b the byte.
* @exception IOException if an I/O error occurs. In particular,
* an IOException may be thrown if the
* output stream has been closed.
*/
public native synchronized void write(int c) throws IOException;
}