home *** CD-ROM | disk | FTP | other *** search
- package sun.awt.motif;
-
- import java.io.OutputStream;
-
- public class XPFileOutputStream extends OutputStream {
- private int pData;
-
- public XPFileOutputStream(int var1) {
- this.pData = var1;
- }
-
- public void close() {
- this.pData = 0;
- }
-
- public void write(int var1) {
- this.write0(var1);
- }
-
- public void write(byte[] var1) {
- this.write1(var1, 0, var1.length);
- }
-
- public void write(byte[] var1, int var2, int var3) {
- this.write1(var1, var2, var3);
- }
-
- public native void flush();
-
- private native void write0(int var1);
-
- private native void write1(byte[] var1, int var2, int var3);
- }
-