예제 #1
0
public void @this(global::java.io.OutputStream n1){
//XMLVM_BEGIN_WRAPPER[java.util.Formatter: void <init>(java.io.OutputStream)]
    global::org.xmlvm._nElement _r0;
    global::System.Object _r0_o = null;
    global::System.Object _r1_o = null;
    global::System.Object _r2_o = null;
    global::System.Object _r3_o = null;
    _r2_o = this;
    _r3_o = n1;
    ((global::java.lang.Object) _r2_o).@this();
    _r0.i = 0;
    ((global::java.util.Formatter) _r2_o)._fclosed = 0!=_r0.i;
    _r0_o = new global::java.io.OutputStreamWriter();
    _r1_o = global::java.nio.charset.Charset.defaultCharset();
    ((global::java.io.OutputStreamWriter) _r0_o).@this((global::java.io.OutputStream) _r3_o, (global::java.nio.charset.Charset) _r1_o);
    _r1_o = new global::java.io.BufferedWriter();
    ((global::java.io.BufferedWriter) _r1_o).@this((global::java.io.Writer) _r0_o);
    ((global::java.util.Formatter) _r2_o)._fout = (global::java.lang.Appendable) _r1_o;
    _r0_o = global::java.util.Locale.getDefault();
    ((global::java.util.Formatter) _r2_o)._flocale = (global::java.util.Locale) _r0_o;
    return;
//XMLVM_END_WRAPPER[java.util.Formatter: void <init>(java.io.OutputStream)]
}
예제 #2
0
public void @this(global::java.io.OutputStream n1, global::java.lang.String n2, global::java.util.Locale n3){
//XMLVM_BEGIN_WRAPPER[java.util.Formatter: void <init>(java.io.OutputStream, java.lang.String, java.util.Locale)]
    global::org.xmlvm._nElement _r0;
    global::System.Object _r0_o = null;
    global::System.Object _r1_o = null;
    global::System.Object _r2_o = null;
    global::System.Object _r3_o = null;
    global::System.Object _r4_o = null;
    global::System.Object _r5_o = null;
    _r2_o = this;
    _r3_o = n1;
    _r4_o = n2;
    _r5_o = n3;
    ((global::java.lang.Object) _r2_o).@this();
    _r0.i = 0;
    ((global::java.util.Formatter) _r2_o)._fclosed = 0!=_r0.i;
    _r0_o = new global::java.io.OutputStreamWriter();
    ((global::java.io.OutputStreamWriter) _r0_o).@this((global::java.io.OutputStream) _r3_o, (global::java.lang.String) _r4_o);
    _r1_o = new global::java.io.BufferedWriter();
    ((global::java.io.BufferedWriter) _r1_o).@this((global::java.io.Writer) _r0_o);
    ((global::java.util.Formatter) _r2_o)._fout = (global::java.lang.Appendable) _r1_o;
    ((global::java.util.Formatter) _r2_o)._flocale = (global::java.util.Locale) _r5_o;
    return;
//XMLVM_END_WRAPPER[java.util.Formatter: void <init>(java.io.OutputStream, java.lang.String, java.util.Locale)]
}
예제 #3
0
public void @this(global::java.io.File n1, global::java.lang.String n2, global::java.util.Locale n3){
//XMLVM_BEGIN_WRAPPER[java.util.Formatter: void <init>(java.io.File, java.lang.String, java.util.Locale)]
    global::org.xmlvm._nElement _r0;
    global::System.Object _r0_o = null;
    global::System.Object _r1_o = null;
    global::System.Object _r2_o = null;
    global::System.Object _r3_o = null;
    global::System.Object _r4_o = null;
    global::System.Object _r5_o = null;
    global::System.Object _r6_o = null;
    global::System.Object _r7_o = null;
    global::org.xmlvm._nExceptionAdapter _ex = null;
    _r4_o = this;
    _r5_o = n1;
    _r6_o = n2;
    _r7_o = n3;
    ((global::java.lang.Object) _r4_o).@this();
    _r0.i = 0;
    ((global::java.util.Formatter) _r4_o)._fclosed = 0!=_r0.i;
    _r0_o = null;
    try {
    _r1_o = new global::java.io.FileOutputStream();
    ((global::java.io.FileOutputStream) _r1_o).@this((global::java.io.File) _r5_o);
    }
    catch (global::System.Exception e) {
 global::org.xmlvm._nExceptionAdapter ex = e as global::org.xmlvm._nExceptionAdapter ?? new global::org.xmlvm._nExceptionAdapter(e.ToString(), e.ToJavaException());
        global::System.Object _java_exception = ex.getJavaException();
        if (_java_exception is global::java.lang.RuntimeException) {
            _ex = ex;
            goto label27;
        }
        if (_java_exception is global::java.io.UnsupportedEncodingException) {
            _ex = ex;
            goto label35;
        }
        throw ex;
    } // end catch
    try {
    _r0_o = new global::java.io.OutputStreamWriter();
    ((global::java.io.OutputStreamWriter) _r0_o).@this((global::java.io.OutputStream) _r1_o, (global::java.lang.String) _r6_o);
    _r2_o = new global::java.io.BufferedWriter();
    ((global::java.io.BufferedWriter) _r2_o).@this((global::java.io.Writer) _r0_o);
    ((global::java.util.Formatter) _r4_o)._fout = (global::java.lang.Appendable) _r2_o;
    }
    catch (global::System.Exception e) {
 global::org.xmlvm._nExceptionAdapter ex = e as global::org.xmlvm._nExceptionAdapter ?? new global::org.xmlvm._nExceptionAdapter(e.ToString(), e.ToJavaException());
        global::System.Object _java_exception = ex.getJavaException();
        if (_java_exception is global::java.lang.RuntimeException) {
            _ex = ex;
            goto label45;
        }
        if (_java_exception is global::java.io.UnsupportedEncodingException) {
            _ex = ex;
            goto label43;
        }
        throw ex;
    } // end catch
    ((global::java.util.Formatter) _r4_o)._flocale = (global::java.util.Locale) _r7_o;
    return;
    label27:;
    _r1_o = _ex.getJavaException();
    _ex = null;
    _r3_o = _r1_o;
    _r1_o = _r0_o;
    _r0_o = _r3_o;
    label31:;
    global::java.util.Formatter.closeOutputStream((global::java.io.OutputStream) _r1_o);
    throw new global::org.xmlvm._nExceptionAdapter((global::System.Object) _r0_o);
    label35:;
    _r1_o = _ex.getJavaException();
    _ex = null;
    _r3_o = _r1_o;
    _r1_o = _r0_o;
    _r0_o = _r3_o;
    label39:;
    global::java.util.Formatter.closeOutputStream((global::java.io.OutputStream) _r1_o);
    throw new global::org.xmlvm._nExceptionAdapter((global::System.Object) _r0_o);
    label43:;
    _r0_o = _ex.getJavaException();
    _ex = null;
    goto label39;
    label45:;
    _r0_o = _ex.getJavaException();
    _ex = null;
    goto label31;
//XMLVM_END_WRAPPER[java.util.Formatter: void <init>(java.io.File, java.lang.String, java.util.Locale)]
}