public void @this(global::java.lang.String n1){
//XMLVM_BEGIN_WRAPPER[com.codename1.processing.JSONContent: void <init>(java.lang.String)]
    global::org.xmlvm._nElement _r0;
    global::System.Object _r0_o = null;
    global::org.xmlvm._nElement _r1;
    global::System.Object _r1_o = null;
    global::org.xmlvm._nElement _r2;
    global::System.Object _r2_o = null;
    global::org.xmlvm._nElement _r3;
    global::System.Object _r3_o = null;
    global::org.xmlvm._nElement _r4;
    global::System.Object _r4_o = null;
    global::org.xmlvm._nElement _r5;
    global::System.Object _r5_o = null;
    global::org.xmlvm._nExceptionAdapter _ex = null;
    _r4_o = this;
    _r5_o = n1;
    // Value=UTF-8
    _r3_o = new global::java.lang.String();
    ((global::java.lang.String)_r3_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)85)), unchecked((char) unchecked((uint) 84)), unchecked((char) unchecked((uint) 70)), unchecked((char) unchecked((uint) 45)), unchecked((char) unchecked((uint) 56))}));
    _r0_o = new global::java.io.InputStreamReader();
    _r1_o = new global::java.io.ByteArrayInputStream();
    // Value=UTF-8
    _r2_o = new global::java.lang.String();
    ((global::java.lang.String)_r2_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)85)), unchecked((char) unchecked((uint) 84)), unchecked((char) unchecked((uint) 70)), unchecked((char) unchecked((uint) 45)), unchecked((char) unchecked((uint) 56))}));
    _r2_o = ((global::java.lang.String) _r5_o).getBytes((global::java.lang.String) _r3_o);
    ((global::java.io.ByteArrayInputStream) _r1_o).@this((global::org.xmlvm._nArrayAdapter<sbyte>) _r2_o);
    // Value=UTF-8
    _r2_o = new global::java.lang.String();
    ((global::java.lang.String)_r2_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)85)), unchecked((char) unchecked((uint) 84)), unchecked((char) unchecked((uint) 70)), unchecked((char) unchecked((uint) 45)), unchecked((char) unchecked((uint) 56))}));
    ((global::java.io.InputStreamReader) _r0_o).@this((global::java.io.InputStream) _r1_o, (global::java.lang.String) _r3_o);
    ((global::com.codename1.processing.JSONContent) _r4_o).@this((global::java.io.Reader) _r0_o);
    return;
//XMLVM_END_WRAPPER[com.codename1.processing.JSONContent: void <init>(java.lang.String)]
}
Exemple #2
0
public virtual void save(global::com.codename1.ui.Image n1, global::java.io.OutputStream n2, global::java.lang.String n3, float n4){
//XMLVM_BEGIN_WRAPPER[com.codename1.ui.util.ImageIO: void save(com.codename1.ui.Image, java.io.OutputStream, java.lang.String, float)]
    global::org.xmlvm._nElement _r0;
    global::System.Object _r0_o = null;
    global::org.xmlvm._nElement _r1;
    global::System.Object _r1_o = null;
    global::org.xmlvm._nElement _r2;
    global::System.Object _r2_o = null;
    global::org.xmlvm._nElement _r3;
    global::System.Object _r3_o = null;
    global::org.xmlvm._nElement _r4;
    global::System.Object _r4_o = null;
    global::org.xmlvm._nElement _r5;
    global::System.Object _r5_o = null;
    global::org.xmlvm._nElement _r6;
    global::System.Object _r6_o = null;
    global::org.xmlvm._nElement _r7;
    global::System.Object _r7_o = null;
    global::org.xmlvm._nElement _r8;
    global::System.Object _r8_o = null;
    global::org.xmlvm._nElement _r9;
    global::System.Object _r9_o = null;
    global::org.xmlvm._nElement _r10;
    global::System.Object _r10_o = null;
    global::org.xmlvm._nElement _r11;
    global::System.Object _r11_o = null;
    global::org.xmlvm._nElement _r12;
    global::System.Object _r12_o = null;
    global::org.xmlvm._nElement _r13;
    global::System.Object _r13_o = null;
    global::org.xmlvm._nExceptionAdapter _ex = null;
    _r9_o = this;
    _r10_o = n1;
    _r11_o = n2;
    _r12_o = n3;
    _r13.f = n4;
    _r1.i = ((_r10_o != null) && (_r10_o is global::com.codename1.ui.EncodedImage)) ? 1 : 0;
    if (_r1.i == 0) goto label33;
    _r0_o = _r10_o;
    _r0_o = _r0_o;
    _r8_o = _r0_o;
    _r2_o = new global::java.io.ByteArrayInputStream();
    _r1_o = ((global::com.codename1.ui.EncodedImage) _r8_o).getImageData();
    ((global::java.io.ByteArrayInputStream) _r2_o).@this((global::org.xmlvm._nArrayAdapter<sbyte>) _r1_o);
    _r5.i = ((global::com.codename1.ui.EncodedImage) _r8_o).getWidth();
    _r6.i = ((global::com.codename1.ui.EncodedImage) _r8_o).getHeight();
    _r1_o = _r9_o;
    _r3_o = _r11_o;
    _r4_o = _r12_o;
    _r7.f = _r13.f;
    ((global::com.codename1.ui.util.ImageIO) _r1_o).save((global::java.io.InputStream) _r2_o, (global::java.io.OutputStream) _r3_o, (global::java.lang.String) _r4_o, (int) _r5.i, (int) _r6.i, (float) _r7.f);
    label32:;
    return;
    label33:;
    ((global::com.codename1.ui.util.ImageIO) _r9_o).saveImage((global::com.codename1.ui.Image) _r10_o, (global::java.io.OutputStream) _r11_o, (global::java.lang.String) _r12_o, (float) _r13.f);
    goto label32;
//XMLVM_END_WRAPPER[com.codename1.ui.util.ImageIO: void save(com.codename1.ui.Image, java.io.OutputStream, java.lang.String, float)]
}
Exemple #3
0
private static global::System.Object wrap(global::java.lang.String n1){
//XMLVM_BEGIN_WRAPPER[com.codename1.processing.XMLContent: java.io.Reader wrap(java.lang.String)]
    global::org.xmlvm._nElement _r0;
    global::System.Object _r0_o = null;
    global::org.xmlvm._nElement _r1;
    global::System.Object _r1_o = null;
    global::org.xmlvm._nElement _r2;
    global::System.Object _r2_o = null;
    global::org.xmlvm._nElement _r3;
    global::System.Object _r3_o = null;
    global::org.xmlvm._nElement _r4;
    global::System.Object _r4_o = null;
    global::org.xmlvm._nExceptionAdapter _ex = null;
    _r4_o = n1;
    // Value=UTF-8
    _r1_o = new global::java.lang.String();
    ((global::java.lang.String)_r1_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)85)), unchecked((char) unchecked((uint) 84)), unchecked((char) unchecked((uint) 70)), unchecked((char) unchecked((uint) 45)), unchecked((char) unchecked((uint) 56))}));
    try {
    _r1_o = new global::java.io.InputStreamReader();
    _r2_o = new global::java.io.ByteArrayInputStream();
    // Value=UTF-8
    _r3_o = new global::java.lang.String();
    ((global::java.lang.String)_r3_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)85)), unchecked((char) unchecked((uint) 84)), unchecked((char) unchecked((uint) 70)), unchecked((char) unchecked((uint) 45)), unchecked((char) unchecked((uint) 56))}));
    _r3_o = ((global::java.lang.String) _r4_o).getBytes((global::java.lang.String) _r3_o);
    ((global::java.io.ByteArrayInputStream) _r2_o).@this((global::org.xmlvm._nArrayAdapter<sbyte>) _r3_o);
    // Value=UTF-8
    _r3_o = new global::java.lang.String();
    ((global::java.lang.String)_r3_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)85)), unchecked((char) unchecked((uint) 84)), unchecked((char) unchecked((uint) 70)), unchecked((char) unchecked((uint) 45)), unchecked((char) unchecked((uint) 56))}));
    ((global::java.io.InputStreamReader) _r1_o).@this((global::java.io.InputStream) _r2_o, (global::java.lang.String) _r3_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.io.UnsupportedEncodingException) {
            _ex = ex;
            goto label21;
        }
        throw ex;
    } // end catch
    label20:;
    return (global::java.io.Reader) _r1_o;
    label21:;
    _r1_o = _ex.getJavaException();
    _ex = null;
    _r0_o = _r1_o;
    ((global::java.io.UnsupportedEncodingException) _r0_o).printStackTrace();
    _r1_o = null;
    goto label20;
//XMLVM_END_WRAPPER[com.codename1.processing.XMLContent: java.io.Reader wrap(java.lang.String)]
}
public void @this(global::java.io.InputStream n1){
//XMLVM_BEGIN_WRAPPER[java.io.ObjectInputStream: void <init>(java.io.InputStream)]
    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::org.xmlvm._nElement _r4;
    global::System.Object _r5_o = null;
    global::System.Object _r6_o = null;
    _r5_o = this;
    _r6_o = n1;
    _r4.i = 0;
    ((global::java.io.InputStream) _r5_o).@this();
    _r0_o = new global::java.io.ByteArrayInputStream();
    _r1_o = new global::org.xmlvm._nArrayAdapter<sbyte>(new sbyte[_r4.i]);
    ((global::java.io.ByteArrayInputStream) _r0_o).@this((global::org.xmlvm._nArrayAdapter<sbyte>) _r1_o);
    ((global::java.io.ObjectInputStream) _r5_o)._femptyStream = (global::java.io.InputStream) _r0_o;
    _r0_o = ((global::java.io.ObjectInputStream) _r5_o)._femptyStream;
    ((global::java.io.ObjectInputStream) _r5_o)._fprimitiveData = (global::java.io.InputStream) _r0_o;
    _r0.i = 1;
    ((global::java.io.ObjectInputStream) _r5_o)._fmustResolve = 0!=_r0.i;
// Red class access removed: org.apache.harmony.misc.accessors.AccessorFactory getObjectAccessor
throw new global::org.xmlvm._nNotYetImplementedException("Red class access removed: org.apache.harmony.misc.accessors.AccessorFactory getObjectAccessor");
    ((global::java.io.ObjectInputStream) _r5_o)._faccessor = (global::org.xmlvm.runtime.RedTypeMarker) _r0_o;
    _r0_o = ((global::java.lang.Object) _r5_o).getClass();
    _r1_o = global::org.xmlvm._nTIB.getClass(typeof(global::java.io.ObjectInputStream));
    _r2_o = global::java.lang.System.getSecurityManager();
    if (_r2_o == null) goto label62;
    if (_r0_o == _r1_o) goto label62;
    _r3_o = new global::java.io.ObjectInputStream_21();
    ((global::java.io.ObjectInputStream_21) _r3_o).@this((global::java.io.ObjectInputStream) _r5_o, (global::java.lang.Class) _r0_o, (global::java.lang.Class) _r1_o);
    _r0_o = global::java.security.AccessController.doPrivileged((global::java.security.PrivilegedAction) _r3_o);
    _r0.i = ((global::java.lang.Boolean) _r0_o).booleanValue() ? 1 : 0;
    if (_r0.i == 0) goto label62;
    _r0_o = java.io._iObjectStreamConstants._fSUBCLASS_1IMPLEMENTATION_1PERMISSION;
    ((global::java.lang.SecurityManager) _r2_o).checkPermission((global::java.security.Permission) _r0_o);
    label62:;
    _r0.i = ((_r6_o != null) && (_r6_o is global::java.io.DataInputStream)) ? 1 : 0;
    if (_r0.i == 0) goto label99;
    _r0_o = _r6_o;
    label69:;
    ((global::java.io.ObjectInputStream) _r5_o)._finput = (global::java.io.DataInputStream) _r0_o;
    _r0_o = new global::java.io.DataInputStream();
    ((global::java.io.DataInputStream) _r0_o).@this((global::java.io.InputStream) _r5_o);
    ((global::java.io.ObjectInputStream) _r5_o)._fprimitiveTypes = (global::java.io.DataInputStream) _r0_o;
    ((global::java.io.ObjectInputStream) _r5_o)._fenableResolve = 0!=_r4.i;
    ((global::java.io.ObjectInputStream) _r5_o)._fsubclassOverridingImplementation = 0!=_r4.i;
    ((global::java.io.ObjectInputStream) _r5_o).resetState();
    ((global::java.io.ObjectInputStream) _r5_o)._fnestedLevels = _r4.i;
    _r0_o = ((global::java.io.ObjectInputStream) _r5_o)._finput;
    ((global::java.io.ObjectInputStream) _r5_o)._fprimitiveData = (global::java.io.InputStream) _r0_o;
    ((global::java.io.ObjectInputStream) _r5_o).readStreamHeader();
    _r0_o = ((global::java.io.ObjectInputStream) _r5_o)._femptyStream;
    ((global::java.io.ObjectInputStream) _r5_o)._fprimitiveData = (global::java.io.InputStream) _r0_o;
    return;
    label99:;
    _r0_o = new global::java.io.DataInputStream();
    ((global::java.io.DataInputStream) _r0_o).@this((global::java.io.InputStream) _r6_o);
    goto label69;
//XMLVM_END_WRAPPER[java.io.ObjectInputStream: void <init>(java.io.InputStream)]
}
new public void @this(){
//XMLVM_BEGIN_WRAPPER[java.io.ObjectInputStream: void <init>()]
    global::System.Object _r0_o = null;
    global::org.xmlvm._nElement _r1;
    global::System.Object _r1_o = null;
    global::org.xmlvm._nElement _r2;
    global::System.Object _r3_o = null;
    _r3_o = this;
    _r2.i = 1;
    ((global::java.io.InputStream) _r3_o).@this();
    _r0_o = new global::java.io.ByteArrayInputStream();
    _r1.i = 0;
    _r1_o = new global::org.xmlvm._nArrayAdapter<sbyte>(new sbyte[_r1.i]);
    ((global::java.io.ByteArrayInputStream) _r0_o).@this((global::org.xmlvm._nArrayAdapter<sbyte>) _r1_o);
    ((global::java.io.ObjectInputStream) _r3_o)._femptyStream = (global::java.io.InputStream) _r0_o;
    _r0_o = ((global::java.io.ObjectInputStream) _r3_o)._femptyStream;
    ((global::java.io.ObjectInputStream) _r3_o)._fprimitiveData = (global::java.io.InputStream) _r0_o;
    ((global::java.io.ObjectInputStream) _r3_o)._fmustResolve = 0!=_r2.i;
// Red class access removed: org.apache.harmony.misc.accessors.AccessorFactory getObjectAccessor
throw new global::org.xmlvm._nNotYetImplementedException("Red class access removed: org.apache.harmony.misc.accessors.AccessorFactory getObjectAccessor");
    ((global::java.io.ObjectInputStream) _r3_o)._faccessor = (global::org.xmlvm.runtime.RedTypeMarker) _r0_o;
    _r0_o = global::java.lang.System.getSecurityManager();
    if (_r0_o == null) goto label37;
    _r1_o = global::java.io.ObjectInputStream._fSUBCLASS_1IMPLEMENTATION_1PERMISSION;
    ((global::java.lang.SecurityManager) _r0_o).checkPermission((global::java.security.Permission) _r1_o);
    label37:;
    ((global::java.io.ObjectInputStream) _r3_o)._fsubclassOverridingImplementation = 0!=_r2.i;
    return;
//XMLVM_END_WRAPPER[java.io.ObjectInputStream: void <init>()]
}
public virtual global::System.Object scaledEncoded(int n1, int n2){
//XMLVM_BEGIN_WRAPPER[com.codename1.ui.EncodedImage: com.codename1.ui.EncodedImage scaledEncoded(int, int)]
    global::org.xmlvm._nElement _r0;
    global::System.Object _r0_o = null;
    global::org.xmlvm._nElement _r1;
    global::System.Object _r1_o = null;
    global::org.xmlvm._nElement _r2;
    global::System.Object _r2_o = null;
    global::org.xmlvm._nElement _r3;
    global::System.Object _r3_o = null;
    global::org.xmlvm._nElement _r4;
    global::System.Object _r4_o = null;
    global::org.xmlvm._nElement _r5;
    global::System.Object _r5_o = null;
    global::org.xmlvm._nElement _r6;
    global::System.Object _r6_o = null;
    global::org.xmlvm._nElement _r7;
    global::System.Object _r7_o = null;
    global::org.xmlvm._nElement _r8;
    global::System.Object _r8_o = null;
    global::org.xmlvm._nElement _r9;
    global::System.Object _r9_o = null;
    global::org.xmlvm._nElement _r10;
    global::System.Object _r10_o = null;
    global::org.xmlvm._nElement _r11;
    global::System.Object _r11_o = null;
    global::org.xmlvm._nElement _r12;
    global::System.Object _r12_o = null;
    global::org.xmlvm._nExceptionAdapter _ex = null;
    _r10_o = this;
    _r11.i = n1;
    _r12.i = n2;
    _r9.i = -1;
    _r1.i = ((global::com.codename1.ui.EncodedImage) _r10_o).getWidth();
    if (_r11.i != _r1.i) goto label15;
    _r1.i = ((global::com.codename1.ui.EncodedImage) _r10_o).getHeight();
    if (_r12.i != _r1.i) goto label15;
    _r1_o = _r10_o;
    label14:;
    return (global::com.codename1.ui.EncodedImage) _r1_o;
    label15:;
    try {
    _r0_o = global::com.codename1.ui.util.ImageIO.getImageIO();
    if (_r0_o == null) goto label109;
    // Value=png
    _r3_o = new global::java.lang.String();
    ((global::java.lang.String)_r3_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)112)), unchecked((char) unchecked((uint) 110)), unchecked((char) unchecked((uint) 103))}));
    _r1.i = ((global::com.codename1.ui.EncodedImage) _r10_o).isOpaque() ? 1 : 0;
    if (_r1.i != 0) goto label37;
    // Value=png
    _r1_o = new global::java.lang.String();
    ((global::java.lang.String)_r1_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)112)), unchecked((char) unchecked((uint) 110)), unchecked((char) unchecked((uint) 103))}));
    _r1.i = ((global::com.codename1.ui.util.ImageIO) _r0_o).isFormatSupported((global::java.lang.String) _r1_o) ? 1 : 0;
    if (_r1.i != 0) goto label47;
    }
    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.io.IOException) {
            _ex = ex;
            goto label104;
        }
        throw ex;
    } // end catch
    label37:;
    try {
    // Value=jpeg
    _r1_o = new global::java.lang.String();
    ((global::java.lang.String)_r1_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)106)), unchecked((char) unchecked((uint) 112)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 103))}));
    _r1.i = ((global::com.codename1.ui.util.ImageIO) _r0_o).isFormatSupported((global::java.lang.String) _r1_o) ? 1 : 0;
    if (_r1.i == 0) goto label47;
    // Value=jpeg
    _r3_o = new global::java.lang.String();
    ((global::java.lang.String)_r3_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)106)), unchecked((char) unchecked((uint) 112)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 103))}));
    }
    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.io.IOException) {
            _ex = ex;
            goto label104;
        }
        throw ex;
    } // end catch
    label47:;
    try {
    _r1.i = ((global::com.codename1.ui.util.ImageIO) _r0_o).isFormatSupported((global::java.lang.String) _r3_o) ? 1 : 0;
    if (_r1.i == 0) goto label109;
    _r2_o = new global::java.io.ByteArrayOutputStream();
    ((global::java.io.ByteArrayOutputStream) _r2_o).@this();
    _r1_o = new global::java.io.ByteArrayInputStream();
    _r4_o = ((global::com.codename1.ui.EncodedImage) _r10_o).getImageData();
    ((global::java.io.ByteArrayInputStream) _r1_o).@this((global::org.xmlvm._nArrayAdapter<sbyte>) _r4_o);
    _r6.f = (float)0.9D;
    _r4.i = _r11.i;
    _r5.i = _r12.i;
    ((global::com.codename1.ui.util.ImageIO) _r0_o).save((global::java.io.InputStream) _r1_o, (global::java.io.OutputStream) _r2_o, (global::java.lang.String) _r3_o, (int) _r4.i, (int) _r5.i, (float) _r6.f);
    global::com.codename1.io.Util.cleanup((global::java.lang.Object) _r2_o);
    _r1_o = ((global::java.io.ByteArrayOutputStream) _r2_o).toByteArray();
    _r8_o = global::com.codename1.ui.EncodedImage.create((global::org.xmlvm._nArrayAdapter<sbyte>) _r1_o);
    _r1.i = ((global::com.codename1.ui.EncodedImage) _r10_o)._fopaque ? 1 : 0;
    ((global::com.codename1.ui.EncodedImage) _r8_o)._fopaque = 0!=_r1.i;
    _r1.i = ((global::com.codename1.ui.EncodedImage) _r10_o)._fopaqueChecked ? 1 : 0;
    ((global::com.codename1.ui.EncodedImage) _r8_o)._fopaqueChecked = 0!=_r1.i;
    if (_r11.i <= _r9.i) goto label102;
    if (_r12.i <= _r9.i) goto label102;
    ((global::com.codename1.ui.EncodedImage) _r8_o)._fwidth = _r11.i;
    ((global::com.codename1.ui.EncodedImage) _r8_o)._fheight = _r12.i;
    }
    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.io.IOException) {
            _ex = ex;
            goto label104;
        }
        throw ex;
    } // end catch
    label102:;
    _r1_o = _r8_o;
    goto label14;
    label104:;
    _r1_o = _ex.getJavaException();
    _ex = null;
    _r7_o = _r1_o;
    ((global::java.io.IOException) _r7_o).printStackTrace();
    label109:;
    _r1_o = null;
    goto label14;
//XMLVM_END_WRAPPER[com.codename1.ui.EncodedImage: com.codename1.ui.EncodedImage scaledEncoded(int, int)]
}
Exemple #7
0
private global::System.Object getMediaSegment(global::com.codename1.ui.html.CSSParser_2ExtInputStreamReader n1, global::java.lang.String n2, global::com.codename1.ui.html.HTMLComponent n3){
//XMLVM_BEGIN_WRAPPER[com.codename1.ui.html.CSSParser: com.codename1.ui.html.CSSParser$ExtInputStreamReader getMediaSegment(com.codename1.ui.html.CSSParser$ExtInputStreamReader, java.lang.String, com.codename1.ui.html.HTMLComponent)]
    global::org.xmlvm._nElement _r0;
    global::System.Object _r0_o = null;
    global::org.xmlvm._nElement _r1;
    global::System.Object _r1_o = null;
    global::org.xmlvm._nElement _r2;
    global::System.Object _r2_o = null;
    global::org.xmlvm._nElement _r3;
    global::System.Object _r3_o = null;
    global::org.xmlvm._nElement _r4;
    global::System.Object _r4_o = null;
    global::org.xmlvm._nElement _r5;
    global::System.Object _r5_o = null;
    global::org.xmlvm._nElement _r6;
    global::System.Object _r6_o = null;
    global::org.xmlvm._nElement _r7;
    global::System.Object _r7_o = null;
    global::org.xmlvm._nElement _r8;
    global::System.Object _r8_o = null;
    global::org.xmlvm._nElement _r9;
    global::System.Object _r9_o = null;
    global::org.xmlvm._nElement _r10;
    global::System.Object _r10_o = null;
    global::org.xmlvm._nElement _r11;
    global::System.Object _r11_o = null;
    global::org.xmlvm._nElement _r12;
    global::System.Object _r12_o = null;
    global::org.xmlvm._nElement _r13;
    global::System.Object _r13_o = null;
    global::org.xmlvm._nElement _r14;
    global::System.Object _r14_o = null;
    global::org.xmlvm._nElement _r15;
    global::System.Object _r15_o = null;
    global::org.xmlvm._nElement _r16;
    global::System.Object _r16_o = null;
    global::org.xmlvm._nElement _r17;
    global::System.Object _r17_o = null;
    global::org.xmlvm._nElement _r18;
    global::System.Object _r18_o = null;
    global::org.xmlvm._nElement _r19;
    global::System.Object _r19_o = null;
    global::org.xmlvm._nElement _r20;
    global::System.Object _r20_o = null;
    global::org.xmlvm._nExceptionAdapter _ex = null;
    _r17_o = this;
    _r18_o = n1;
    _r19_o = n2;
    _r20_o = n3;
    _r5.i = 1;
    _r6.i = 1;
    _r7.i = 1;
    _r8.i = 1;
    _r3_o = _r17_o;
    _r4_o = _r18_o;
    _r15_o = ((global::com.codename1.ui.html.CSSParser) _r3_o).nextToken((global::com.codename1.ui.html.CSSParser_2ExtInputStreamReader) _r4_o, 0!=_r5.i, 0!=_r6.i, 0!=_r7.i, 0!=_r8.i);
    _r9.i = ((global::com.codename1.ui.html.CSSParser_2ExtInputStreamReader) _r18_o).readCharFromReader();
    label16:;
    _r3.i = (_r9.i << 24) >> 24;
    _r4.i = -1;
    if (_r3.i == _r4.i) goto label29;
    _r3.i = 123;
    if (_r9.i == _r3.i) goto label29;
    _r9.i = ((global::com.codename1.ui.html.CSSParser_2ExtInputStreamReader) _r18_o).readCharFromReader();
    goto label16;
    label29:;
    _r12_o = new global::java.lang.StringBuilder();
    ((global::java.lang.StringBuilder) _r12_o).@this();
    _r0_o = _r17_o;
    _r1_o = _r15_o;
    _r11.i = ((global::com.codename1.ui.html.CSSParser) _r0_o).mediaTypeMatches((global::java.lang.String) _r1_o) ? 1 : 0;
    _r10.i = 1;
    label42:;
    if (_r10.i <= 0) goto label52;
    _r9.i = ((global::com.codename1.ui.html.CSSParser_2ExtInputStreamReader) _r18_o).readCharFromReader();
    _r3.i = (_r9.i << 24) >> 24;
    _r4.i = -1;
    if (_r3.i != _r4.i) goto label120;
    label52:;
    if (_r11.i == 0) goto label191;
    _r13_o = null;
    if (_r19_o == null) goto label89;
    try {
    _r14_o = new global::com.codename1.ui.html.CSSParser_2ExtInputStreamReader();
    _r3_o = new global::java.io.InputStreamReader();
    _r4_o = new global::java.io.ByteArrayInputStream();
    _r5_o = ((global::java.lang.StringBuilder) _r12_o).toString();
    _r5_o = ((global::java.lang.String) _r5_o).getBytes();
    ((global::java.io.ByteArrayInputStream) _r4_o).@this((global::org.xmlvm._nArrayAdapter<sbyte>) _r5_o);
    _r0_o = _r3_o;
    _r1_o = _r4_o;
    _r2_o = _r19_o;
    ((global::java.io.InputStreamReader) _r0_o).@this((global::java.io.InputStream) _r1_o, (global::java.lang.String) _r2_o);
    _r0_o = _r14_o;
    _r1_o = _r17_o;
    _r2_o = _r3_o;
    ((global::com.codename1.ui.html.CSSParser_2ExtInputStreamReader) _r0_o).@this((global::com.codename1.ui.html.CSSParser) _r1_o, (global::java.io.Reader) _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.io.UnsupportedEncodingException) {
            _ex = ex;
            goto label139;
        }
        throw ex;
    } // end catch
    _r13_o = _r14_o;
    label89:;
    if (_r13_o != null) goto label118;
    _r13_o = new global::com.codename1.ui.html.CSSParser_2ExtInputStreamReader();
    _r3_o = new global::java.io.InputStreamReader();
    _r4_o = new global::java.io.ByteArrayInputStream();
    _r5_o = ((global::java.lang.StringBuilder) _r12_o).toString();
    _r5_o = ((global::java.lang.String) _r5_o).getBytes();
    ((global::java.io.ByteArrayInputStream) _r4_o).@this((global::org.xmlvm._nArrayAdapter<sbyte>) _r5_o);
    ((global::java.io.InputStreamReader) _r3_o).@this((global::java.io.InputStream) _r4_o);
    _r0_o = _r13_o;
    _r1_o = _r17_o;
    _r2_o = _r3_o;
    ((global::com.codename1.ui.html.CSSParser_2ExtInputStreamReader) _r0_o).@this((global::com.codename1.ui.html.CSSParser) _r1_o, (global::java.io.Reader) _r2_o);
    label118:;
    _r3_o = _r13_o;
    label119:;
    return (global::com.codename1.ui.html.CSSParser_2ExtInputStreamReader) _r3_o;
    label120:;
    if (_r11.i == 0) goto label125;
    ((global::java.lang.StringBuilder) _r12_o).append((char) _r9.i);
    label125:;
    _r3.i = 123;
    if (_r9.i != _r3.i) goto label132;
    _r10.i = _r10.i + 1;
    goto label42;
    label132:;
    _r3.i = 125;
    if (_r9.i != _r3.i) goto label42;
    _r10.i = _r10.i + -1;
    goto label42;
    label139:;
    _r3_o = _ex.getJavaException();
    _ex = null;
    _r16_o = _r3_o;
    _r4.i = 9;
    // Value=@media
    _r5_o = new global::java.lang.String();
    ((global::java.lang.String)_r5_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)64)), unchecked((char) unchecked((uint) 109)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 100)), unchecked((char) unchecked((uint) 105)), unchecked((char) unchecked((uint) 97))}));
    _r6_o = null;
    _r3_o = new global::java.lang.StringBuilder();
    ((global::java.lang.StringBuilder) _r3_o).@this();
    // Value=Encoding '
    _r7_o = new global::java.lang.String();
    ((global::java.lang.String)_r7_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)69)), unchecked((char) unchecked((uint) 110)), unchecked((char) unchecked((uint) 99)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 100)), unchecked((char) unchecked((uint) 105)), unchecked((char) unchecked((uint) 110)), unchecked((char) unchecked((uint) 103)), unchecked((char) unchecked((uint) 32)), unchecked((char) unchecked((uint) 39))}));
    _r3_o = ((global::java.lang.StringBuilder) _r3_o).append((global::java.lang.String) _r7_o);
    _r0_o = _r3_o;
    _r1_o = _r19_o;
    _r3_o = ((global::java.lang.StringBuilder) _r0_o).append((global::java.lang.String) _r1_o);
    // Value=' failed for media segment. 
    _r7_o = new global::java.lang.String();
    ((global::java.lang.String)_r7_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)39)), unchecked((char) unchecked((uint) 32)), unchecked((char) unchecked((uint) 102)), unchecked((char) unchecked((uint) 97)), unchecked((char) unchecked((uint) 105)), unchecked((char) unchecked((uint) 108)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 100)), unchecked((char) unchecked((uint) 32)), unchecked((char) unchecked((uint) 102)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 114)), unchecked((char) unchecked((uint) 32)), unchecked((char) unchecked((uint) 109)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 100)), unchecked((char) unchecked((uint) 105)), unchecked((char) unchecked((uint) 97)), unchecked((char) unchecked((uint) 32)), unchecked((char) unchecked((uint) 115)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 103)), unchecked((char) unchecked((uint) 109)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 110)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 46)), unchecked((char) unchecked((uint) 32))}));
    _r3_o = ((global::java.lang.StringBuilder) _r3_o).append((global::java.lang.String) _r7_o);
    _r7_o = ((global::java.io.UnsupportedEncodingException) _r16_o).getMessage();
    _r3_o = ((global::java.lang.StringBuilder) _r3_o).append((global::java.lang.String) _r7_o);
    _r8_o = ((global::java.lang.StringBuilder) _r3_o).toString();
    _r3_o = _r17_o;
    _r7_o = _r19_o;
    ((global::com.codename1.ui.html.CSSParser) _r3_o).notifyError((int) _r4.i, (global::java.lang.String) _r5_o, (global::java.lang.String) _r6_o, (global::java.lang.String) _r7_o, (global::java.lang.String) _r8_o);
    goto label89;
    label191:;
    _r3_o = null;
    goto label119;
//XMLVM_END_WRAPPER[com.codename1.ui.html.CSSParser: com.codename1.ui.html.CSSParser$ExtInputStreamReader getMediaSegment(com.codename1.ui.html.CSSParser$ExtInputStreamReader, java.lang.String, com.codename1.ui.html.HTMLComponent)]
}
public static bool createAnonymous(){
//XMLVM_BEGIN_WRAPPER[com.codename1.cloud.CloudPersona: boolean createAnonymous()]
    global::org.xmlvm._nElement _r0;
    global::System.Object _r0_o = null;
    global::org.xmlvm._nElement _r1;
    global::System.Object _r1_o = null;
    global::org.xmlvm._nElement _r2;
    global::System.Object _r2_o = null;
    global::org.xmlvm._nElement _r3;
    global::System.Object _r3_o = null;
    global::org.xmlvm._nElement _r4;
    global::System.Object _r4_o = null;
    global::org.xmlvm._nElement _r5;
    global::System.Object _r5_o = null;
    global::org.xmlvm._nElement _r6;
    global::System.Object _r6_o = null;
    global::org.xmlvm._nElement _r7;
    global::System.Object _r7_o = null;
    global::org.xmlvm._nElement _r8;
    global::System.Object _r8_o = null;
    global::org.xmlvm._nExceptionAdapter _ex = null;
    _r8_o = null;
    _r7.i = 1;
    _r4_o = global::com.codename1.cloud.CloudPersona._finstance;
    if (_r4_o != null) goto label9;
    global::com.codename1.cloud.CloudPersona.getCurrentPersona();
    label9:;
    _r3_o = new global::com.codename1.io.ConnectionRequest();
    ((global::com.codename1.io.ConnectionRequest) _r3_o).@this();
    ((global::com.codename1.io.ConnectionRequest) _r3_o).setPost(0!=_r7.i);
    // Value=https://codename-one.appspot.com/objStoreUser
    _r4_o = new global::java.lang.String();
    ((global::java.lang.String)_r4_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)104)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 112)), unchecked((char) unchecked((uint) 115)), unchecked((char) unchecked((uint) 58)), unchecked((char) unchecked((uint) 47)), unchecked((char) unchecked((uint) 47)), unchecked((char) unchecked((uint) 99)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 100)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 110)), unchecked((char) unchecked((uint) 97)), unchecked((char) unchecked((uint) 109)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 45)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 110)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 46)), unchecked((char) unchecked((uint) 97)), unchecked((char) unchecked((uint) 112)), unchecked((char) unchecked((uint) 112)), unchecked((char) unchecked((uint) 115)), unchecked((char) unchecked((uint) 112)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 46)), unchecked((char) unchecked((uint) 99)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 109)), unchecked((char) unchecked((uint) 47)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 98)), unchecked((char) unchecked((uint) 106)), unchecked((char) unchecked((uint) 83)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 114)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 85)), unchecked((char) unchecked((uint) 115)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 114))}));
    ((global::com.codename1.io.ConnectionRequest) _r3_o).setUrl((global::java.lang.String) _r4_o);
    // Value=pk
    _r4_o = new global::java.lang.String();
    ((global::java.lang.String)_r4_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)112)), unchecked((char) unchecked((uint) 107))}));
    _r5_o = global::com.codename1.ui.Display.getInstance();
    // Value=package_name
    _r6_o = new global::java.lang.String();
    ((global::java.lang.String)_r6_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)112)), unchecked((char) unchecked((uint) 97)), unchecked((char) unchecked((uint) 99)), unchecked((char) unchecked((uint) 107)), unchecked((char) unchecked((uint) 97)), unchecked((char) unchecked((uint) 103)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 95)), unchecked((char) unchecked((uint) 110)), unchecked((char) unchecked((uint) 97)), unchecked((char) unchecked((uint) 109)), unchecked((char) unchecked((uint) 101))}));
    _r5_o = ((global::com.codename1.ui.Display) _r5_o).getProperty((global::java.lang.String) _r6_o, (global::java.lang.String) _r8_o);
    ((global::com.codename1.io.ConnectionRequest) _r3_o).addArgument((global::java.lang.String) _r4_o, (global::java.lang.String) _r5_o);
    // Value=bb
    _r4_o = new global::java.lang.String();
    ((global::java.lang.String)_r4_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)98)), unchecked((char) unchecked((uint) 98))}));
    _r5_o = global::com.codename1.ui.Display.getInstance();
    // Value=built_by_user
    _r6_o = new global::java.lang.String();
    ((global::java.lang.String)_r6_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)98)), unchecked((char) unchecked((uint) 117)), unchecked((char) unchecked((uint) 105)), unchecked((char) unchecked((uint) 108)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 95)), unchecked((char) unchecked((uint) 98)), unchecked((char) unchecked((uint) 121)), unchecked((char) unchecked((uint) 95)), unchecked((char) unchecked((uint) 117)), unchecked((char) unchecked((uint) 115)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 114))}));
    _r5_o = ((global::com.codename1.ui.Display) _r5_o).getProperty((global::java.lang.String) _r6_o, (global::java.lang.String) _r8_o);
    ((global::com.codename1.io.ConnectionRequest) _r3_o).addArgument((global::java.lang.String) _r4_o, (global::java.lang.String) _r5_o);
    _r4_o = global::com.codename1.io.NetworkManager.getInstance();
    ((global::com.codename1.io.NetworkManager) _r4_o).addToQueueAndWait((global::com.codename1.io.ConnectionRequest) _r3_o);
    _r4.i = ((global::com.codename1.io.ConnectionRequest) _r3_o).getResposeCode();
    _r5.i = 200;
    if (_r4.i == _r5.i) goto label69;
    _r4.i = 0;
    label68:;
    return _r4.i!=0;
    label69:;
    _r0_o = new global::java.io.ByteArrayInputStream();
    _r4_o = ((global::com.codename1.io.ConnectionRequest) _r3_o).getResponseData();
    ((global::java.io.ByteArrayInputStream) _r0_o).@this((global::org.xmlvm._nArrayAdapter<sbyte>) _r4_o);
    _r1_o = new global::java.io.DataInputStream();
    ((global::java.io.DataInputStream) _r1_o).@this((global::java.io.InputStream) _r0_o);
    _r4_o = global::com.codename1.cloud.CloudPersona._finstance;
    if (_r4_o != null) goto label94;
    _r4_o = new global::com.codename1.cloud.CloudPersona();
    ((global::com.codename1.cloud.CloudPersona) _r4_o).@this();
    global::com.codename1.cloud.CloudPersona._finstance = (global::com.codename1.cloud.CloudPersona) _r4_o;
    label94:;
    try {
    _r4_o = global::com.codename1.cloud.CloudPersona._finstance;
    _r5_o = ((global::java.io.DataInputStream) _r1_o).readUTF();
    ((global::com.codename1.cloud.CloudPersona) _r4_o)._fpersona = (global::java.lang.String) _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.io.IOException) {
            _ex = ex;
            goto label121;
        }
        throw ex;
    } // end catch
    label102:;
    // Value=CN1Persona
    _r4_o = new global::java.lang.String();
    ((global::java.lang.String)_r4_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)67)), unchecked((char) unchecked((uint) 78)), unchecked((char) unchecked((uint) 49)), unchecked((char) unchecked((uint) 80)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 114)), unchecked((char) unchecked((uint) 115)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 110)), unchecked((char) unchecked((uint) 97))}));
    _r5_o = global::com.codename1.cloud.CloudPersona._finstance;
    _r5_o = ((global::com.codename1.cloud.CloudPersona) _r5_o)._fpersona;
    global::com.codename1.io.Preferences.set((global::java.lang.String) _r4_o, (global::java.lang.String) _r5_o);
    // Value=CN1PersonaAnonymous
    _r4_o = new global::java.lang.String();
    ((global::java.lang.String)_r4_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)67)), unchecked((char) unchecked((uint) 78)), unchecked((char) unchecked((uint) 49)), unchecked((char) unchecked((uint) 80)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 114)), unchecked((char) unchecked((uint) 115)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 110)), unchecked((char) unchecked((uint) 97)), unchecked((char) unchecked((uint) 65)), unchecked((char) unchecked((uint) 110)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 110)), unchecked((char) unchecked((uint) 121)), unchecked((char) unchecked((uint) 109)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 117)), unchecked((char) unchecked((uint) 115))}));
    global::com.codename1.io.Preferences.set((global::java.lang.String) _r4_o, 0!=_r7.i);
    global::com.codename1.io.Util.cleanup((global::java.lang.Object) _r1_o);
    _r4.i = _r7.i;
    goto label68;
    label121:;
    _r4_o = _ex.getJavaException();
    _ex = null;
    _r2_o = _r4_o;
    ((global::java.io.IOException) _r2_o).printStackTrace();
    goto label102;
//XMLVM_END_WRAPPER[com.codename1.cloud.CloudPersona: boolean createAnonymous()]
}
private global::System.Object getStream(global::java.lang.String n1, global::java.lang.String n2, global::java.lang.String n3, bool n4){
//XMLVM_BEGIN_WRAPPER[com.codename1.ui.html.HTMLComponent: java.io.InputStreamReader getStream(java.lang.String, java.lang.String, java.lang.String, boolean)]
    global::org.xmlvm._nElement _r0;
    global::System.Object _r0_o = null;
    global::org.xmlvm._nElement _r1;
    global::System.Object _r1_o = null;
    global::org.xmlvm._nElement _r2;
    global::System.Object _r2_o = null;
    global::org.xmlvm._nElement _r3;
    global::System.Object _r3_o = null;
    global::org.xmlvm._nElement _r4;
    global::System.Object _r4_o = null;
    global::org.xmlvm._nElement _r5;
    global::System.Object _r5_o = null;
    global::org.xmlvm._nElement _r6;
    global::System.Object _r6_o = null;
    global::org.xmlvm._nElement _r7;
    global::System.Object _r7_o = null;
    global::org.xmlvm._nElement _r8;
    global::System.Object _r8_o = null;
    global::org.xmlvm._nElement _r9;
    global::System.Object _r9_o = null;
    global::org.xmlvm._nElement _r10;
    global::System.Object _r10_o = null;
    global::org.xmlvm._nElement _r11;
    global::System.Object _r11_o = null;
    global::org.xmlvm._nElement _r12;
    global::System.Object _r12_o = null;
    global::org.xmlvm._nElement _r13;
    global::System.Object _r13_o = null;
    global::org.xmlvm._nExceptionAdapter _ex = null;
    _r9_o = this;
    _r10_o = n1;
    _r11_o = n2;
    _r12_o = n3;
    _r13.i = n4 ? 1 : 0;
    if (_r13.i != 0) goto label66;
    // Value=
    _r5_o = new global::java.lang.String();
    ((global::java.lang.String)_r5_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {}));
    if (_r12_o == null) goto label31;
    _r7_o = new global::java.lang.StringBuilder();
    ((global::java.lang.StringBuilder) _r7_o).@this();
    // Value=<head><title>
    _r8_o = new global::java.lang.String();
    ((global::java.lang.String)_r8_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)60)), unchecked((char) unchecked((uint) 104)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 97)), unchecked((char) unchecked((uint) 100)), unchecked((char) unchecked((uint) 62)), unchecked((char) unchecked((uint) 60)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 105)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 108)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 62))}));
    _r7_o = ((global::java.lang.StringBuilder) _r7_o).append((global::java.lang.String) _r8_o);
    _r7_o = ((global::java.lang.StringBuilder) _r7_o).append((global::java.lang.String) _r12_o);
    // Value=</title></head>
    _r8_o = new global::java.lang.String();
    ((global::java.lang.String)_r8_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)60)), unchecked((char) unchecked((uint) 47)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 105)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 108)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 62)), unchecked((char) unchecked((uint) 60)), unchecked((char) unchecked((uint) 47)), unchecked((char) unchecked((uint) 104)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 97)), unchecked((char) unchecked((uint) 100)), unchecked((char) unchecked((uint) 62))}));
    _r7_o = ((global::java.lang.StringBuilder) _r7_o).append((global::java.lang.String) _r8_o);
    _r5_o = ((global::java.lang.StringBuilder) _r7_o).toString();
    label31:;
    _r7_o = new global::java.lang.StringBuilder();
    ((global::java.lang.StringBuilder) _r7_o).@this();
    // Value=<html>
    _r8_o = new global::java.lang.String();
    ((global::java.lang.String)_r8_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)60)), unchecked((char) unchecked((uint) 104)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 109)), unchecked((char) unchecked((uint) 108)), unchecked((char) unchecked((uint) 62))}));
    _r7_o = ((global::java.lang.StringBuilder) _r7_o).append((global::java.lang.String) _r8_o);
    _r7_o = ((global::java.lang.StringBuilder) _r7_o).append((global::java.lang.String) _r5_o);
    // Value=<body>
    _r8_o = new global::java.lang.String();
    ((global::java.lang.String)_r8_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)60)), unchecked((char) unchecked((uint) 98)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 100)), unchecked((char) unchecked((uint) 121)), unchecked((char) unchecked((uint) 62))}));
    _r7_o = ((global::java.lang.StringBuilder) _r7_o).append((global::java.lang.String) _r8_o);
    _r7_o = ((global::java.lang.StringBuilder) _r7_o).append((global::java.lang.String) _r10_o);
    // Value=</body></html>
    _r8_o = new global::java.lang.String();
    ((global::java.lang.String)_r8_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)60)), unchecked((char) unchecked((uint) 47)), unchecked((char) unchecked((uint) 98)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 100)), unchecked((char) unchecked((uint) 121)), unchecked((char) unchecked((uint) 62)), unchecked((char) unchecked((uint) 60)), unchecked((char) unchecked((uint) 47)), unchecked((char) unchecked((uint) 104)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 109)), unchecked((char) unchecked((uint) 108)), unchecked((char) unchecked((uint) 62))}));
    _r7_o = ((global::java.lang.StringBuilder) _r7_o).append((global::java.lang.String) _r8_o);
    _r10_o = ((global::java.lang.StringBuilder) _r7_o).toString();
    label66:;
    _r0_o = null;
    if (_r11_o == null) goto label79;
    try {
    _r1_o = new global::java.io.ByteArrayInputStream();
    _r7_o = ((global::java.lang.String) _r10_o).getBytes((global::java.lang.String) _r11_o);
    ((global::java.io.ByteArrayInputStream) _r1_o).@this((global::org.xmlvm._nArrayAdapter<sbyte>) _r7_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.io.UnsupportedEncodingException) {
            _ex = ex;
            goto label107;
        }
        throw ex;
    } // end catch
    _r0_o = _r1_o;
    label79:;
    if (_r0_o != null) goto label90;
    _r0_o = new global::java.io.ByteArrayInputStream();
    _r7_o = ((global::java.lang.String) _r10_o).getBytes();
    ((global::java.io.ByteArrayInputStream) _r0_o).@this((global::org.xmlvm._nArrayAdapter<sbyte>) _r7_o);
    label90:;
    _r3_o = null;
    if (_r11_o == null) goto label99;
    try {
    _r4_o = new global::java.io.InputStreamReader();
    ((global::java.io.InputStreamReader) _r4_o).@this((global::java.io.InputStream) _r0_o, (global::java.lang.String) _r11_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.io.UnsupportedEncodingException) {
            _ex = ex;
            goto label113;
        }
        throw ex;
    } // end catch
    _r3_o = _r4_o;
    label99:;
    if (_r3_o != null) goto label106;
    _r3_o = new global::java.io.InputStreamReader();
    ((global::java.io.InputStreamReader) _r3_o).@this((global::java.io.InputStream) _r0_o);
    label106:;
    return (global::java.io.InputStreamReader) _r3_o;
    label107:;
    _r7_o = _ex.getJavaException();
    _ex = null;
    _r2_o = _r7_o;
    ((global::java.io.UnsupportedEncodingException) _r2_o).printStackTrace();
    goto label79;
    label113:;
    _r7_o = _ex.getJavaException();
    _ex = null;
    _r6_o = _r7_o;
    ((global::java.io.UnsupportedEncodingException) _r6_o).printStackTrace();
    goto label99;
//XMLVM_END_WRAPPER[com.codename1.ui.html.HTMLComponent: java.io.InputStreamReader getStream(java.lang.String, java.lang.String, java.lang.String, boolean)]
}
Exemple #10
0
public virtual global::System.Object getUi(global::java.lang.String n1){
//XMLVM_BEGIN_WRAPPER[com.codename1.ui.util.Resources: java.io.InputStream getUi(java.lang.String)]
    global::org.xmlvm._nElement _r0;
    global::System.Object _r0_o = null;
    global::org.xmlvm._nElement _r1;
    global::System.Object _r1_o = null;
    global::org.xmlvm._nElement _r2;
    global::System.Object _r2_o = null;
    global::org.xmlvm._nElement _r3;
    global::System.Object _r3_o = null;
    global::org.xmlvm._nElement _r4;
    global::System.Object _r4_o = null;
    global::org.xmlvm._nExceptionAdapter _ex = null;
    _r3_o = this;
    _r4_o = n1;
    _r2_o = ((global::com.codename1.ui.util.Resources) _r3_o)._fresources;
    _r3_o = ((global::java.util.HashMap) _r2_o).get((global::java.lang.Object) _r4_o);
    _r3_o = _r3_o;
    _r0_o = _r3_o;
    _r0_o = _r0_o;
    _r1_o = _r0_o;
    if (_r1_o != null) goto label16;
    _r2_o = null;
    label15:;
    return (global::java.io.InputStream) _r2_o;
    label16:;
    _r2_o = new global::java.io.ByteArrayInputStream();
    ((global::java.io.ByteArrayInputStream) _r2_o).@this((global::org.xmlvm._nArrayAdapter<sbyte>) _r1_o);
    goto label15;
//XMLVM_END_WRAPPER[com.codename1.ui.util.Resources: java.io.InputStream getUi(java.lang.String)]
}
public override void buildRequestBody(global::java.io.OutputStream n1){
//XMLVM_BEGIN_WRAPPER[com.codename1.io.MultipartRequest: void buildRequestBody(java.io.OutputStream)]
    global::org.xmlvm._nElement _r0;
    global::System.Object _r0_o = null;
    global::org.xmlvm._nElement _r1;
    global::System.Object _r1_o = null;
    global::org.xmlvm._nElement _r2;
    global::System.Object _r2_o = null;
    global::org.xmlvm._nElement _r3;
    global::System.Object _r3_o = null;
    global::org.xmlvm._nElement _r4;
    global::System.Object _r4_o = null;
    global::org.xmlvm._nElement _r5;
    global::System.Object _r5_o = null;
    global::org.xmlvm._nElement _r6;
    global::System.Object _r6_o = null;
    global::org.xmlvm._nElement _r7;
    global::System.Object _r7_o = null;
    global::org.xmlvm._nElement _r8;
    global::System.Object _r8_o = null;
    global::org.xmlvm._nElement _r9;
    global::System.Object _r9_o = null;
    global::org.xmlvm._nElement _r10;
    global::System.Object _r10_o = null;
    global::org.xmlvm._nElement _r11;
    global::System.Object _r11_o = null;
    global::org.xmlvm._nElement _r12;
    global::System.Object _r12_o = null;
    global::org.xmlvm._nElement _r13;
    global::System.Object _r13_o = null;
    global::org.xmlvm._nElement _r14;
    global::System.Object _r14_o = null;
    global::org.xmlvm._nElement _r15;
    global::System.Object _r15_o = null;
    global::org.xmlvm._nExceptionAdapter _ex = null;
    _r14_o = this;
    _r15_o = n1;
    // Value=Content-Disposition: form-data; name=\042
    _r13_o = new global::java.lang.String();
    ((global::java.lang.String)_r13_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)67)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 110)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 110)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 45)), unchecked((char) unchecked((uint) 68)), unchecked((char) unchecked((uint) 105)), unchecked((char) unchecked((uint) 115)), unchecked((char) unchecked((uint) 112)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 115)), unchecked((char) unchecked((uint) 105)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 105)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 110)), unchecked((char) unchecked((uint) 58)), unchecked((char) unchecked((uint) 32)), unchecked((char) unchecked((uint) 102)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 114)), unchecked((char) unchecked((uint) 109)), unchecked((char) unchecked((uint) 45)), unchecked((char) unchecked((uint) 100)), unchecked((char) unchecked((uint) 97)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 97)), unchecked((char) unchecked((uint) 59)), unchecked((char) unchecked((uint) 32)), unchecked((char) unchecked((uint) 110)), unchecked((char) unchecked((uint) 97)), unchecked((char) unchecked((uint) 109)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 61)), unchecked((char) unchecked((uint) 34))}));
    // Value=\042
    _r12_o = new global::java.lang.String();
    ((global::java.lang.String)_r12_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)34))}));
    // Value=--
    _r11_o = new global::java.lang.String();
    ((global::java.lang.String)_r11_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)45)), unchecked((char) unchecked((uint) 45))}));
    // Value=\015\012
    _r10_o = new global::java.lang.String();
    ((global::java.lang.String)_r10_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)13)), unchecked((char) unchecked((uint) 10))}));
    _r7_o = null;
    _r7_o = new global::java.io.OutputStreamWriter();
    // Value=UTF-8
    _r8_o = new global::java.lang.String();
    ((global::java.lang.String)_r8_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)85)), unchecked((char) unchecked((uint) 84)), unchecked((char) unchecked((uint) 70)), unchecked((char) unchecked((uint) 45)), unchecked((char) unchecked((uint) 56))}));
    ((global::java.io.OutputStreamWriter) _r7_o).@this((global::java.io.OutputStream) _r15_o, (global::java.lang.String) _r8_o);
    _r8_o = ((global::com.codename1.io.MultipartRequest) _r14_o)._fargs;
    _r2_o = ((global::java.util.Hashtable) _r8_o).keys();
    label22:;
    _r8.i = ((global::java.util.Enumeration) _r2_o).hasMoreElements() ? 1 : 0;
    if (_r8.i == 0) goto label34;
    _r8.i = ((global::com.codename1.io.MultipartRequest) _r14_o).shouldStop() ? 1 : 0;
    if (_r8.i == 0) goto label73;
    label34:;
    _r8_o = new global::java.lang.StringBuilder();
    ((global::java.lang.StringBuilder) _r8_o).@this();
    // Value=--
    _r9_o = new global::java.lang.String();
    ((global::java.lang.String)_r9_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)45)), unchecked((char) unchecked((uint) 45))}));
    _r8_o = ((global::java.lang.StringBuilder) _r8_o).append((global::java.lang.String) _r11_o);
    _r9_o = ((global::com.codename1.io.MultipartRequest) _r14_o)._fboundary;
    _r8_o = ((global::java.lang.StringBuilder) _r8_o).append((global::java.lang.String) _r9_o);
    // Value=--
    _r9_o = new global::java.lang.String();
    ((global::java.lang.String)_r9_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)45)), unchecked((char) unchecked((uint) 45))}));
    _r8_o = ((global::java.lang.StringBuilder) _r8_o).append((global::java.lang.String) _r11_o);
    _r8_o = ((global::java.lang.StringBuilder) _r8_o).toString();
    ((global::java.io.Writer) _r7_o).write((global::java.lang.String) _r8_o);
    // Value=\015\012
    _r8_o = new global::java.lang.String();
    ((global::java.lang.String)_r8_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)13)), unchecked((char) unchecked((uint) 10))}));
    ((global::java.io.Writer) _r7_o).write((global::java.lang.String) _r10_o);
    ((global::java.io.Writer) _r7_o).close();
    return;
    label73:;
    _r4_o = ((global::java.util.Enumeration) _r2_o).nextElement();
    _r4_o = _r4_o;
    _r8_o = ((global::com.codename1.io.MultipartRequest) _r14_o)._fargs;
    _r6_o = ((global::java.util.Hashtable) _r8_o).get((global::java.lang.Object) _r4_o);
    // Value=--
    _r8_o = new global::java.lang.String();
    ((global::java.lang.String)_r8_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)45)), unchecked((char) unchecked((uint) 45))}));
    ((global::java.io.Writer) _r7_o).write((global::java.lang.String) _r11_o);
    _r8_o = ((global::com.codename1.io.MultipartRequest) _r14_o)._fboundary;
    ((global::java.io.Writer) _r7_o).write((global::java.lang.String) _r8_o);
    // Value=\015\012
    _r8_o = new global::java.lang.String();
    ((global::java.lang.String)_r8_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)13)), unchecked((char) unchecked((uint) 10))}));
    ((global::java.io.Writer) _r7_o).write((global::java.lang.String) _r10_o);
    _r8.i = ((_r6_o != null) && (_r6_o is global::java.lang.String)) ? 1 : 0;
    if (_r8.i == 0) goto label188;
    // Value=Content-Disposition: form-data; name=\042
    _r8_o = new global::java.lang.String();
    ((global::java.lang.String)_r8_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)67)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 110)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 110)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 45)), unchecked((char) unchecked((uint) 68)), unchecked((char) unchecked((uint) 105)), unchecked((char) unchecked((uint) 115)), unchecked((char) unchecked((uint) 112)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 115)), unchecked((char) unchecked((uint) 105)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 105)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 110)), unchecked((char) unchecked((uint) 58)), unchecked((char) unchecked((uint) 32)), unchecked((char) unchecked((uint) 102)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 114)), unchecked((char) unchecked((uint) 109)), unchecked((char) unchecked((uint) 45)), unchecked((char) unchecked((uint) 100)), unchecked((char) unchecked((uint) 97)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 97)), unchecked((char) unchecked((uint) 59)), unchecked((char) unchecked((uint) 32)), unchecked((char) unchecked((uint) 110)), unchecked((char) unchecked((uint) 97)), unchecked((char) unchecked((uint) 109)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 61)), unchecked((char) unchecked((uint) 34))}));
    ((global::java.io.Writer) _r7_o).write((global::java.lang.String) _r13_o);
    ((global::java.io.Writer) _r7_o).write((global::java.lang.String) _r4_o);
    // Value=\042
    _r8_o = new global::java.lang.String();
    ((global::java.lang.String)_r8_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)34))}));
    ((global::java.io.Writer) _r7_o).write((global::java.lang.String) _r12_o);
    // Value=\015\012
    _r8_o = new global::java.lang.String();
    ((global::java.lang.String)_r8_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)13)), unchecked((char) unchecked((uint) 10))}));
    ((global::java.io.Writer) _r7_o).write((global::java.lang.String) _r10_o);
    // Value=Content-Type: text/plain; charset=UTF-8
    _r8_o = new global::java.lang.String();
    ((global::java.lang.String)_r8_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)67)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 110)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 110)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 45)), unchecked((char) unchecked((uint) 84)), unchecked((char) unchecked((uint) 121)), unchecked((char) unchecked((uint) 112)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 58)), unchecked((char) unchecked((uint) 32)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 120)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 47)), unchecked((char) unchecked((uint) 112)), unchecked((char) unchecked((uint) 108)), unchecked((char) unchecked((uint) 97)), unchecked((char) unchecked((uint) 105)), unchecked((char) unchecked((uint) 110)), unchecked((char) unchecked((uint) 59)), unchecked((char) unchecked((uint) 32)), unchecked((char) unchecked((uint) 99)), unchecked((char) unchecked((uint) 104)), unchecked((char) unchecked((uint) 97)), unchecked((char) unchecked((uint) 114)), unchecked((char) unchecked((uint) 115)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 61)), unchecked((char) unchecked((uint) 85)), unchecked((char) unchecked((uint) 84)), unchecked((char) unchecked((uint) 70)), unchecked((char) unchecked((uint) 45)), unchecked((char) unchecked((uint) 56))}));
    ((global::java.io.Writer) _r7_o).write((global::java.lang.String) _r8_o);
    // Value=\015\012
    _r8_o = new global::java.lang.String();
    ((global::java.lang.String)_r8_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)13)), unchecked((char) unchecked((uint) 10))}));
    ((global::java.io.Writer) _r7_o).write((global::java.lang.String) _r10_o);
    // Value=\015\012
    _r8_o = new global::java.lang.String();
    ((global::java.lang.String)_r8_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)13)), unchecked((char) unchecked((uint) 10))}));
    ((global::java.io.Writer) _r7_o).write((global::java.lang.String) _r10_o);
    _r8.i = global::com.codename1.io.MultipartRequest._fcanFlushStream ? 1 : 0;
    if (_r8.i == 0) goto label144;
    ((global::java.io.Writer) _r7_o).flush();
    label144:;
    _r8_o = ((global::com.codename1.io.MultipartRequest) _r14_o)._fignoreEncoding;
    _r8.i = ((global::java.util.Vector) _r8_o).contains((global::java.lang.Object) _r4_o) ? 1 : 0;
    if (_r8.i == 0) goto label178;
    _r6_o = _r6_o;
    ((global::java.io.Writer) _r7_o).write((global::java.lang.String) _r6_o);
    label157:;
    _r8.i = global::com.codename1.io.MultipartRequest._fcanFlushStream ? 1 : 0;
    if (_r8.i == 0) goto label164;
    ((global::java.io.Writer) _r7_o).flush();
    label164:;
    // Value=\015\012
    _r8_o = new global::java.lang.String();
    ((global::java.lang.String)_r8_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)13)), unchecked((char) unchecked((uint) 10))}));
    ((global::java.io.Writer) _r7_o).write((global::java.lang.String) _r10_o);
    _r8.i = global::com.codename1.io.MultipartRequest._fcanFlushStream ? 1 : 0;
    if (_r8.i == 0) goto label22;
    ((global::java.io.Writer) _r7_o).flush();
    goto label22;
    label178:;
    _r6_o = _r6_o;
    _r8_o = global::com.codename1.io.Util.encodeBody((global::java.lang.String) _r6_o);
    ((global::java.io.Writer) _r7_o).write((global::java.lang.String) _r8_o);
    goto label157;
    label188:;
    _r8_o = new global::java.lang.StringBuilder();
    ((global::java.lang.StringBuilder) _r8_o).@this();
    // Value=Content-Disposition: form-data; name=\042
    _r9_o = new global::java.lang.String();
    ((global::java.lang.String)_r9_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)67)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 110)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 110)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 45)), unchecked((char) unchecked((uint) 68)), unchecked((char) unchecked((uint) 105)), unchecked((char) unchecked((uint) 115)), unchecked((char) unchecked((uint) 112)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 115)), unchecked((char) unchecked((uint) 105)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 105)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 110)), unchecked((char) unchecked((uint) 58)), unchecked((char) unchecked((uint) 32)), unchecked((char) unchecked((uint) 102)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 114)), unchecked((char) unchecked((uint) 109)), unchecked((char) unchecked((uint) 45)), unchecked((char) unchecked((uint) 100)), unchecked((char) unchecked((uint) 97)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 97)), unchecked((char) unchecked((uint) 59)), unchecked((char) unchecked((uint) 32)), unchecked((char) unchecked((uint) 110)), unchecked((char) unchecked((uint) 97)), unchecked((char) unchecked((uint) 109)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 61)), unchecked((char) unchecked((uint) 34))}));
    _r8_o = ((global::java.lang.StringBuilder) _r8_o).append((global::java.lang.String) _r13_o);
    _r8_o = ((global::java.lang.StringBuilder) _r8_o).append((global::java.lang.String) _r4_o);
    // Value=\042; filename=\042
    _r9_o = new global::java.lang.String();
    ((global::java.lang.String)_r9_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)34)), unchecked((char) unchecked((uint) 59)), unchecked((char) unchecked((uint) 32)), unchecked((char) unchecked((uint) 102)), unchecked((char) unchecked((uint) 105)), unchecked((char) unchecked((uint) 108)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 110)), unchecked((char) unchecked((uint) 97)), unchecked((char) unchecked((uint) 109)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 61)), unchecked((char) unchecked((uint) 34))}));
    _r8_o = ((global::java.lang.StringBuilder) _r8_o).append((global::java.lang.String) _r9_o);
    _r9_o = ((global::com.codename1.io.MultipartRequest) _r14_o)._ffilenames;
    _r9_o = ((global::java.util.Hashtable) _r9_o).get((global::java.lang.Object) _r4_o);
    _r8_o = ((global::java.lang.StringBuilder) _r8_o).append((global::java.lang.Object) _r9_o);
    // Value=\042
    _r9_o = new global::java.lang.String();
    ((global::java.lang.String)_r9_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)34))}));
    _r8_o = ((global::java.lang.StringBuilder) _r8_o).append((global::java.lang.String) _r12_o);
    _r8_o = ((global::java.lang.StringBuilder) _r8_o).toString();
    ((global::java.io.Writer) _r7_o).write((global::java.lang.String) _r8_o);
    // Value=\015\012
    _r8_o = new global::java.lang.String();
    ((global::java.lang.String)_r8_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)13)), unchecked((char) unchecked((uint) 10))}));
    ((global::java.io.Writer) _r7_o).write((global::java.lang.String) _r10_o);
    // Value=Content-Type: 
    _r8_o = new global::java.lang.String();
    ((global::java.lang.String)_r8_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)67)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 110)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 110)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 45)), unchecked((char) unchecked((uint) 84)), unchecked((char) unchecked((uint) 121)), unchecked((char) unchecked((uint) 112)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 58)), unchecked((char) unchecked((uint) 32))}));
    ((global::java.io.Writer) _r7_o).write((global::java.lang.String) _r8_o);
    _r8_o = ((global::com.codename1.io.MultipartRequest) _r14_o)._fmimeTypes;
    _r8_o = ((global::java.util.Hashtable) _r8_o).get((global::java.lang.Object) _r4_o);
    _r8_o = _r8_o;
    ((global::java.io.Writer) _r7_o).write((global::java.lang.String) _r8_o);
    // Value=\015\012
    _r8_o = new global::java.lang.String();
    ((global::java.lang.String)_r8_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)13)), unchecked((char) unchecked((uint) 10))}));
    ((global::java.io.Writer) _r7_o).write((global::java.lang.String) _r10_o);
    // Value=Content-Transfer-Encoding: binary
    _r8_o = new global::java.lang.String();
    ((global::java.lang.String)_r8_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)67)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 110)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 110)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 45)), unchecked((char) unchecked((uint) 84)), unchecked((char) unchecked((uint) 114)), unchecked((char) unchecked((uint) 97)), unchecked((char) unchecked((uint) 110)), unchecked((char) unchecked((uint) 115)), unchecked((char) unchecked((uint) 102)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 114)), unchecked((char) unchecked((uint) 45)), unchecked((char) unchecked((uint) 69)), unchecked((char) unchecked((uint) 110)), unchecked((char) unchecked((uint) 99)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 100)), unchecked((char) unchecked((uint) 105)), unchecked((char) unchecked((uint) 110)), unchecked((char) unchecked((uint) 103)), unchecked((char) unchecked((uint) 58)), unchecked((char) unchecked((uint) 32)), unchecked((char) unchecked((uint) 98)), unchecked((char) unchecked((uint) 105)), unchecked((char) unchecked((uint) 110)), unchecked((char) unchecked((uint) 97)), unchecked((char) unchecked((uint) 114)), unchecked((char) unchecked((uint) 121))}));
    ((global::java.io.Writer) _r7_o).write((global::java.lang.String) _r8_o);
    // Value=\015\012
    _r8_o = new global::java.lang.String();
    ((global::java.lang.String)_r8_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)13)), unchecked((char) unchecked((uint) 10))}));
    ((global::java.io.Writer) _r7_o).write((global::java.lang.String) _r10_o);
    // Value=\015\012
    _r8_o = new global::java.lang.String();
    ((global::java.lang.String)_r8_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)13)), unchecked((char) unchecked((uint) 10))}));
    ((global::java.io.Writer) _r7_o).write((global::java.lang.String) _r10_o);
    _r8.i = global::com.codename1.io.MultipartRequest._fcanFlushStream ? 1 : 0;
    if (_r8.i == 0) goto label280;
    ((global::java.io.Writer) _r7_o).flush();
    label280:;
    _r8.i = ((_r6_o != null) && (_r6_o is global::java.io.InputStream)) ? 1 : 0;
    if (_r8.i == 0) goto label327;
    _r0_o = _r6_o;
    _r0_o = _r0_o;
    _r3_o = _r0_o;
    label288:;
    _r8.i = 8192;
    _r1_o = new global::org.xmlvm._nArrayAdapter<sbyte>(new sbyte[_r8.i]);
    _r5.i = ((global::java.io.InputStream) _r3_o).read((global::org.xmlvm._nArrayAdapter<sbyte>) _r1_o);
    label296:;
    _r8.i = -1;
    if (_r5.i <= _r8.i) goto label305;
    _r8.i = ((global::com.codename1.io.MultipartRequest) _r14_o).shouldStop() ? 1 : 0;
    if (_r8.i == 0) goto label339;
    label305:;
    _r8.i = ((_r6_o != null) && (_r6_o is global::java.io.InputStream)) ? 1 : 0;
    if (_r8.i != 0) goto label312;
    global::com.codename1.io.Util.cleanup((global::java.lang.Object) _r3_o);
    label312:;
    _r8_o = ((global::com.codename1.io.MultipartRequest) _r14_o)._fargs;
    ((global::java.util.Hashtable) _r8_o).remove((global::java.lang.Object) _r4_o);
    _r6_o = null;
    _r8.i = global::com.codename1.io.MultipartRequest._fcanFlushStream ? 1 : 0;
    if (_r8.i == 0) goto label164;
    ((global::java.io.Writer) _r7_o).flush();
    goto label164;
    label327:;
    _r3_o = new global::java.io.ByteArrayInputStream();
    _r0_o = _r6_o;
    _r0_o = _r0_o;
    _r8_o = _r0_o;
    _r8_o = _r8_o;
    ((global::java.io.ByteArrayInputStream) _r3_o).@this((global::org.xmlvm._nArrayAdapter<sbyte>) _r8_o);
    goto label288;
    label339:;
    _r8.i = 0;
    ((global::java.io.OutputStream) _r15_o).write((global::org.xmlvm._nArrayAdapter<sbyte>) _r1_o, (int) _r8.i, (int) _r5.i);
    _r8.i = global::com.codename1.io.MultipartRequest._fcanFlushStream ? 1 : 0;
    if (_r8.i == 0) goto label350;
    ((global::java.io.Writer) _r7_o).flush();
    label350:;
    _r5.i = ((global::java.io.InputStream) _r3_o).read((global::org.xmlvm._nArrayAdapter<sbyte>) _r1_o);
    goto label296;
//XMLVM_END_WRAPPER[com.codename1.io.MultipartRequest: void buildRequestBody(java.io.OutputStream)]
}
Exemple #12
0
private static global::System.Object parseImage(global::java.lang.String n1){
//XMLVM_BEGIN_WRAPPER[com.codename1.ui.plaf.UIManager: com.codename1.ui.Image parseImage(java.lang.String)]
    global::org.xmlvm._nElement _r0;
    global::System.Object _r0_o = null;
    global::org.xmlvm._nElement _r1;
    global::System.Object _r1_o = null;
    global::org.xmlvm._nElement _r2;
    global::System.Object _r2_o = null;
    global::org.xmlvm._nElement _r3;
    global::System.Object _r3_o = null;
    global::org.xmlvm._nElement _r4;
    global::System.Object _r4_o = null;
    global::org.xmlvm._nElement _r5;
    global::System.Object _r5_o = null;
    global::org.xmlvm._nElement _r6;
    global::System.Object _r6_o = null;
    global::org.xmlvm._nElement _r7;
    global::System.Object _r7_o = null;
    global::org.xmlvm._nExceptionAdapter _ex = null;
    _r7_o = n1;
    _r4.i = 0;
    _r5.i = ((global::java.lang.String) _r7_o).length();
    _r5.i = _r5.i / 2;
    _r2_o = new global::org.xmlvm._nArrayAdapter<sbyte>(new sbyte[_r5.i]);
    label9:;
    _r5.i = ((global::java.lang.String) _r7_o).length();
    if (_r4.i >= _r5.i) goto label38;
    _r5.i = _r4.i + 2;
    _r0_o = ((global::java.lang.String) _r7_o).substring((int) _r4.i, (int) _r5.i);
    _r5.i = _r4.i / 2;
    _r6.i = 16;
    _r6_o = global::java.lang.Integer.valueOf((global::java.lang.String) _r0_o, (int) _r6.i);
    _r6.i = ((global::java.lang.Integer) _r6_o).byteValue();
    ((global::org.xmlvm._nArrayAdapter<sbyte>) _r2_o)[_r5.i] = (sbyte)_r6.i;
    _r4.i = _r4.i + 2;
    goto label9;
    label38:;
    _r3_o = new global::java.io.ByteArrayInputStream();
    ((global::java.io.ByteArrayInputStream) _r3_o).@this((global::org.xmlvm._nArrayAdapter<sbyte>) _r2_o);
    _r1_o = global::com.codename1.ui.Image.createImage((global::java.io.InputStream) _r3_o);
    ((global::java.io.ByteArrayInputStream) _r3_o).close();
    return (global::com.codename1.ui.Image) _r1_o;
//XMLVM_END_WRAPPER[com.codename1.ui.plaf.UIManager: com.codename1.ui.Image parseImage(java.lang.String)]
}
private global::System.Object resourceRequested(global::com.codename1.ui.html.DocumentInfo n1, global::com.codename1.ui.html.IOCallback n2){
//XMLVM_BEGIN_WRAPPER[com.codename1.ui.html.DefaultDocumentRequestHandler: java.io.InputStream resourceRequested(com.codename1.ui.html.DocumentInfo, com.codename1.ui.html.IOCallback)]
    global::org.xmlvm._nElement _r0;
    global::System.Object _r0_o = null;
    global::org.xmlvm._nElement _r1;
    global::System.Object _r1_o = null;
    global::org.xmlvm._nElement _r2;
    global::System.Object _r2_o = null;
    global::org.xmlvm._nElement _r3;
    global::System.Object _r3_o = null;
    global::org.xmlvm._nElement _r4;
    global::System.Object _r4_o = null;
    global::org.xmlvm._nElement _r5;
    global::System.Object _r5_o = null;
    global::org.xmlvm._nElement _r6;
    global::System.Object _r6_o = null;
    global::org.xmlvm._nElement _r7;
    global::System.Object _r7_o = null;
    global::org.xmlvm._nElement _r8;
    global::System.Object _r8_o = null;
    global::org.xmlvm._nElement _r9;
    global::System.Object _r9_o = null;
    global::org.xmlvm._nElement _r10;
    global::System.Object _r10_o = null;
    global::org.xmlvm._nElement _r11;
    global::System.Object _r11_o = null;
    global::org.xmlvm._nElement _r12;
    global::System.Object _r12_o = null;
    global::org.xmlvm._nElement _r13;
    global::System.Object _r13_o = null;
    global::org.xmlvm._nExceptionAdapter _ex = null;
    _r11_o = this;
    _r12_o = n1;
    _r13_o = n2;
    _r9.i = 6;
    _r10_o = null;
    _r5_o = ((global::com.codename1.ui.html.DocumentInfo) _r12_o).getUrl();
    ((global::com.codename1.ui.html.DefaultDocumentRequestHandler) _r11_o).visitingURL((global::java.lang.String) _r5_o);
    _r6.i = 35;
    _r1.i = ((global::java.lang.String) _r5_o).indexOf((int) _r6.i);
    _r6.i = -1;
    if (_r1.i == _r6.i) goto label23;
    _r6.i = 0;
    _r5_o = ((global::java.lang.String) _r5_o).substring((int) _r6.i, (int) _r1.i);
    label23:;
    // Value=jar://
    _r6_o = new global::java.lang.String();
    ((global::java.lang.String)_r6_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)106)), unchecked((char) unchecked((uint) 97)), unchecked((char) unchecked((uint) 114)), unchecked((char) unchecked((uint) 58)), unchecked((char) unchecked((uint) 47)), unchecked((char) unchecked((uint) 47))}));
    _r6.i = ((global::java.lang.String) _r5_o).startsWith((global::java.lang.String) _r6_o) ? 1 : 0;
    if (_r6.i == 0) goto label56;
    _r6_o = global::com.codename1.ui.Display.getInstance();
    _r7_o = ((global::java.lang.Object) _r11_o).getClass();
    _r8_o = ((global::com.codename1.ui.html.DocumentInfo) _r12_o).getUrl();
    _r8_o = ((global::java.lang.String) _r8_o).substring((int) _r9.i);
    _r6_o = ((global::com.codename1.ui.Display) _r6_o).getResourceAsStream((global::java.lang.Class) _r7_o, (global::java.lang.String) _r8_o);
    ((global::com.codename1.ui.html.IOCallback) _r13_o).streamReady((global::java.io.InputStream) _r6_o, (global::com.codename1.ui.html.DocumentInfo) _r12_o);
    _r6_o = _r10_o;
    label55:;
    return (global::java.io.InputStream) _r6_o;
    label56:;
    try {
    // Value=local://
    _r6_o = new global::java.lang.String();
    ((global::java.lang.String)_r6_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)108)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 99)), unchecked((char) unchecked((uint) 97)), unchecked((char) unchecked((uint) 108)), unchecked((char) unchecked((uint) 58)), unchecked((char) unchecked((uint) 47)), unchecked((char) unchecked((uint) 47))}));
    _r6.i = ((global::java.lang.String) _r5_o).startsWith((global::java.lang.String) _r6_o) ? 1 : 0;
    if (_r6.i == 0) goto label94;
    _r6_o = global::com.codename1.ui.html.DefaultDocumentRequestHandler._fresFile;
    _r7.i = 8;
    _r7_o = ((global::java.lang.String) _r5_o).substring((int) _r7.i);
    _r3_o = ((global::com.codename1.ui.util.Resources) _r6_o).getImage((global::java.lang.String) _r7_o);
    _r6.i = ((_r3_o != null) && (_r3_o is global::com.codename1.ui.EncodedImage)) ? 1 : 0;
    if (_r6.i == 0) goto label94;
    _r6_o = new global::java.io.ByteArrayInputStream();
    _r3_o = _r3_o;
    _r7_o = ((global::com.codename1.ui.EncodedImage) _r3_o).getImageData();
    ((global::java.io.ByteArrayInputStream) _r6_o).@this((global::org.xmlvm._nArrayAdapter<sbyte>) _r7_o);
    ((global::com.codename1.ui.html.IOCallback) _r13_o).streamReady((global::java.io.InputStream) _r6_o, (global::com.codename1.ui.html.DocumentInfo) _r12_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.io.IOException) {
            _ex = ex;
            goto label172;
        }
        throw ex;
    } // end catch
    label94:;
    try {
    // Value=res://
    _r6_o = new global::java.lang.String();
    ((global::java.lang.String)_r6_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)114)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 115)), unchecked((char) unchecked((uint) 58)), unchecked((char) unchecked((uint) 47)), unchecked((char) unchecked((uint) 47))}));
    _r6.i = ((global::java.lang.String) _r5_o).startsWith((global::java.lang.String) _r6_o) ? 1 : 0;
    if (_r6.i == 0) goto label177;
    _r6_o = global::com.codename1.ui.Display.getInstance();
    _r7_o = ((global::java.lang.Object) _r11_o).getClass();
    _r8_o = ((global::com.codename1.ui.html.DocumentInfo) _r12_o).getUrl();
    _r9.i = 6;
    _r8_o = ((global::java.lang.String) _r8_o).substring((int) _r9.i);
    _r2_o = ((global::com.codename1.ui.Display) _r6_o).getResourceAsStream((global::java.lang.Class) _r7_o, (global::java.lang.String) _r8_o);
    _r4_o = global::com.codename1.ui.util.Resources.open((global::java.io.InputStream) _r2_o);
    ((global::java.io.InputStream) _r2_o).close();
    _r6_o = ((global::com.codename1.ui.html.DocumentInfo) _r12_o).getParams();
    _r2_o = ((global::com.codename1.ui.util.Resources) _r4_o).getData((global::java.lang.String) _r6_o);
    if (_r2_o == null) goto label145;
    ((global::com.codename1.ui.html.IOCallback) _r13_o).streamReady((global::java.io.InputStream) _r2_o, (global::com.codename1.ui.html.DocumentInfo) _r12_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.io.IOException) {
            _ex = ex;
            goto label172;
        }
        throw ex;
    } // end catch
    label143:;
    try {
    _r6_o = _r10_o;
    goto label55;
    }
    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.io.IOException) {
            _ex = ex;
            goto label172;
        }
        throw ex;
    } // end catch
    label145:;
    try {
    _r6_o = ((global::com.codename1.ui.html.DocumentInfo) _r12_o).getParams();
    _r3_o = ((global::com.codename1.ui.util.Resources) _r4_o).getImage((global::java.lang.String) _r6_o);
    _r6.i = ((_r3_o != null) && (_r3_o is global::com.codename1.ui.EncodedImage)) ? 1 : 0;
    if (_r6.i == 0) goto label143;
    _r6_o = new global::java.io.ByteArrayInputStream();
    _r3_o = _r3_o;
    _r7_o = ((global::com.codename1.ui.EncodedImage) _r3_o).getImageData();
    ((global::java.io.ByteArrayInputStream) _r6_o).@this((global::org.xmlvm._nArrayAdapter<sbyte>) _r7_o);
    ((global::com.codename1.ui.html.IOCallback) _r13_o).streamReady((global::java.io.InputStream) _r6_o, (global::com.codename1.ui.html.DocumentInfo) _r12_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.io.IOException) {
            _ex = ex;
            goto label172;
        }
        throw ex;
    } // end catch
    goto label143;
    label172:;
    _r6_o = _ex.getJavaException();
    _ex = null;
    _r0_o = _r6_o;
    ((global::java.io.IOException) _r0_o).printStackTrace();
    label177:;
    _r6_o = _r10_o;
    goto label55;
//XMLVM_END_WRAPPER[com.codename1.ui.html.DefaultDocumentRequestHandler: java.io.InputStream resourceRequested(com.codename1.ui.html.DocumentInfo, com.codename1.ui.html.IOCallback)]
}
public virtual void run(){
//XMLVM_BEGIN_WRAPPER[com.codename1.impl.CodenameOneImplementation$4: void run()]
    global::org.xmlvm._nElement _r0;
    global::System.Object _r0_o = null;
    global::org.xmlvm._nElement _r1;
    global::System.Object _r1_o = null;
    global::org.xmlvm._nElement _r2;
    global::System.Object _r2_o = null;
    global::org.xmlvm._nElement _r3;
    global::System.Object _r3_o = null;
    global::org.xmlvm._nElement _r4;
    global::System.Object _r4_o = null;
    global::org.xmlvm._nElement _r5;
    global::System.Object _r5_o = null;
    global::org.xmlvm._nElement _r6;
    global::System.Object _r6_o = null;
    global::org.xmlvm._nElement _r7;
    global::System.Object _r7_o = null;
    global::org.xmlvm._nElement _r8;
    global::System.Object _r8_o = null;
    global::org.xmlvm._nElement _r9;
    global::System.Object _r9_o = null;
    global::org.xmlvm._nElement _r10;
    global::System.Object _r10_o = null;
    global::org.xmlvm._nElement _r11;
    global::System.Object _r11_o = null;
    global::org.xmlvm._nExceptionAdapter _ex = null;
    _r11_o = this;
    // Value=last_push_req
    _r8_o = new global::java.lang.String();
    ((global::java.lang.String)_r8_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)108)), unchecked((char) unchecked((uint) 97)), unchecked((char) unchecked((uint) 115)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 95)), unchecked((char) unchecked((uint) 112)), unchecked((char) unchecked((uint) 117)), unchecked((char) unchecked((uint) 115)), unchecked((char) unchecked((uint) 104)), unchecked((char) unchecked((uint) 95)), unchecked((char) unchecked((uint) 114)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 113))}));
    // Value=
    _r7_o = new global::java.lang.String();
    ((global::java.lang.String)_r7_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {}));
    // Value=last_push_req
    _r7_o = new global::java.lang.String();
    ((global::java.lang.String)_r7_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)108)), unchecked((char) unchecked((uint) 97)), unchecked((char) unchecked((uint) 115)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 95)), unchecked((char) unchecked((uint) 112)), unchecked((char) unchecked((uint) 117)), unchecked((char) unchecked((uint) 115)), unchecked((char) unchecked((uint) 104)), unchecked((char) unchecked((uint) 95)), unchecked((char) unchecked((uint) 114)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 113))}));
    // Value=0
    _r7_o = new global::java.lang.String();
    ((global::java.lang.String)_r7_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)48))}));
    _r3_o = global::com.codename1.io.Preferences.get((global::java.lang.String) _r8_o, (global::java.lang.String) _r7_o);
    label12:;
    _r7.i = global::com.codename1.impl.CodenameOneImplementation.access_2200() ? 1 : 0;
    if (_r7.i == 0) goto label220;
    try {
    _r0_o = new global::com.codename1.io.ConnectionRequest();
    ((global::com.codename1.io.ConnectionRequest) _r0_o).@this();
    _r7_o = new global::java.lang.StringBuilder();
    ((global::java.lang.StringBuilder) _r7_o).@this();
    _r8_o = global::com.codename1.ui.Display.getInstance();
    // Value=cloudServerURL
    _r9_o = new global::java.lang.String();
    ((global::java.lang.String)_r9_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)99)), unchecked((char) unchecked((uint) 108)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 117)), unchecked((char) unchecked((uint) 100)), unchecked((char) unchecked((uint) 83)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 114)), unchecked((char) unchecked((uint) 118)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 114)), unchecked((char) unchecked((uint) 85)), unchecked((char) unchecked((uint) 82)), unchecked((char) unchecked((uint) 76))}));
    // Value=https://codename-one.appspot.com/
    _r10_o = new global::java.lang.String();
    ((global::java.lang.String)_r10_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)104)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 112)), unchecked((char) unchecked((uint) 115)), unchecked((char) unchecked((uint) 58)), unchecked((char) unchecked((uint) 47)), unchecked((char) unchecked((uint) 47)), unchecked((char) unchecked((uint) 99)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 100)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 110)), unchecked((char) unchecked((uint) 97)), unchecked((char) unchecked((uint) 109)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 45)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 110)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 46)), unchecked((char) unchecked((uint) 97)), unchecked((char) unchecked((uint) 112)), unchecked((char) unchecked((uint) 112)), unchecked((char) unchecked((uint) 115)), unchecked((char) unchecked((uint) 112)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 46)), unchecked((char) unchecked((uint) 99)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 109)), unchecked((char) unchecked((uint) 47))}));
    _r8_o = ((global::com.codename1.ui.Display) _r8_o).getProperty((global::java.lang.String) _r9_o, (global::java.lang.String) _r10_o);
    _r7_o = ((global::java.lang.StringBuilder) _r7_o).append((global::java.lang.String) _r8_o);
    // Value=pollManualPush
    _r8_o = new global::java.lang.String();
    ((global::java.lang.String)_r8_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)112)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 108)), unchecked((char) unchecked((uint) 108)), unchecked((char) unchecked((uint) 77)), unchecked((char) unchecked((uint) 97)), unchecked((char) unchecked((uint) 110)), unchecked((char) unchecked((uint) 117)), unchecked((char) unchecked((uint) 97)), unchecked((char) unchecked((uint) 108)), unchecked((char) unchecked((uint) 80)), unchecked((char) unchecked((uint) 117)), unchecked((char) unchecked((uint) 115)), unchecked((char) unchecked((uint) 104))}));
    _r7_o = ((global::java.lang.StringBuilder) _r7_o).append((global::java.lang.String) _r8_o);
    _r7_o = ((global::java.lang.StringBuilder) _r7_o).toString();
    ((global::com.codename1.io.ConnectionRequest) _r0_o).setUrl((global::java.lang.String) _r7_o);
    _r7.i = 0;
    ((global::com.codename1.io.ConnectionRequest) _r0_o).setPost(0!=_r7.i);
    _r7.i = 1;
    ((global::com.codename1.io.ConnectionRequest) _r0_o).setFailSilently(0!=_r7.i);
    // Value=i
    _r7_o = new global::java.lang.String();
    ((global::java.lang.String)_r7_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)105))}));
    _r8_o = new global::java.lang.StringBuilder();
    ((global::java.lang.StringBuilder) _r8_o).@this();
    // Value=
    _r9_o = new global::java.lang.String();
    ((global::java.lang.String)_r9_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {}));
    _r8_o = ((global::java.lang.StringBuilder) _r8_o).append((global::java.lang.String) _r9_o);
    _r9.l = ((global::com.codename1.impl.CodenameOneImplementation_24) _r11_o)._fval_2pushId;
    _r8_o = ((global::java.lang.StringBuilder) _r8_o).append((long) _r9.l);
    _r8_o = ((global::java.lang.StringBuilder) _r8_o).toString();
    ((global::com.codename1.io.ConnectionRequest) _r0_o).addArgument((global::java.lang.String) _r7_o, (global::java.lang.String) _r8_o);
    // Value=last
    _r7_o = new global::java.lang.String();
    ((global::java.lang.String)_r7_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)108)), unchecked((char) unchecked((uint) 97)), unchecked((char) unchecked((uint) 115)), unchecked((char) unchecked((uint) 116))}));
    ((global::com.codename1.io.ConnectionRequest) _r0_o).addArgument((global::java.lang.String) _r7_o, (global::java.lang.String) _r3_o);
    _r7_o = global::com.codename1.io.NetworkManager.getInstance();
    ((global::com.codename1.io.NetworkManager) _r7_o).addToQueueAndWait((global::com.codename1.io.ConnectionRequest) _r0_o);
    _r7.i = ((global::com.codename1.io.ConnectionRequest) _r0_o).getResponseCode();
    _r8.i = 200;
    if (_r7.i == _r8.i) goto label150;
    _r7_o = global::com.codename1.impl.CodenameOneImplementation.access_2100();
    // Value=Server registration error
    _r8_o = new global::java.lang.String();
    ((global::java.lang.String)_r8_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)83)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 114)), unchecked((char) unchecked((uint) 118)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 114)), unchecked((char) unchecked((uint) 32)), unchecked((char) unchecked((uint) 114)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 103)), unchecked((char) unchecked((uint) 105)), unchecked((char) unchecked((uint) 115)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 114)), unchecked((char) unchecked((uint) 97)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 105)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 110)), unchecked((char) unchecked((uint) 32)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 114)), unchecked((char) unchecked((uint) 114)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 114))}));
    _r9.i = 1;
    ((global::com.codename1.push.PushCallback) _r7_o).pushRegistrationError((global::java.lang.String) _r8_o, (int) _r9.i);
    }
    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.io.IOException) {
            _ex = ex;
            goto label214;
        }
        throw ex;
    } // end catch
    label121:;
    try {
    _r7_o = global::com.codename1.impl.CodenameOneImplementation.access_2100();
    global::System.Threading.Monitor.Enter(_r7_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.Throwable) {
            _ex = ex;
            goto label143;
        }
        throw ex;
    } // end catch
    try {
    _r8_o = global::com.codename1.impl.CodenameOneImplementation.access_2100();
    _r9.i = global::com.codename1.impl.CodenameOneImplementation.access_2300();
    _r9.l = (long) _r9.i;
    ((global::java.lang.Object) _r8_o).wait((long) _r9.l);
    global::System.Threading.Monitor.Exit(_r7_o);
    goto label12;
    }
    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.Object) {
            _ex = ex;
            goto label140;
        }
        throw ex;
    } // end catch
    label140:;
    try {
    _r8_o = _ex.getJavaException();
    _ex = null;
    global::System.Threading.Monitor.Exit(_r7_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.Object) {
            _ex = ex;
            goto label140;
        }
        throw ex;
    } // end catch
    try {
    throw new global::org.xmlvm._nExceptionAdapter((global::System.Object) _r8_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.Throwable) {
            _ex = ex;
            goto label143;
        }
        throw ex;
    } // end catch
    label143:;
    _r7_o = _ex.getJavaException();
    _ex = null;
    _r5_o = _r7_o;
    ((global::java.lang.Throwable) _r5_o).printStackTrace();
    goto label12;
    label150:;
    try {
    _r1_o = new global::java.io.DataInputStream();
    _r7_o = new global::java.io.ByteArrayInputStream();
    _r8_o = ((global::com.codename1.io.ConnectionRequest) _r0_o).getResponseData();
    ((global::java.io.ByteArrayInputStream) _r7_o).@this((global::org.xmlvm._nArrayAdapter<sbyte>) _r8_o);
    ((global::java.io.DataInputStream) _r1_o).@this((global::java.io.InputStream) _r7_o);
    _r7.i = ((global::java.io.DataInputStream) _r1_o).readBoolean() ? 1 : 0;
    if (_r7.i == 0) goto label121;
    _r6.i = ((global::java.io.DataInputStream) _r1_o).readByte();
    _r4_o = ((global::java.io.DataInputStream) _r1_o).readUTF();
    _r7_o = new global::java.lang.StringBuilder();
    ((global::java.lang.StringBuilder) _r7_o).@this();
    // Value=
    _r8_o = new global::java.lang.String();
    ((global::java.lang.String)_r8_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {}));
    _r7_o = ((global::java.lang.StringBuilder) _r7_o).append((global::java.lang.String) _r8_o);
    _r8.l = ((global::java.io.DataInputStream) _r1_o).readLong();
    _r7_o = ((global::java.lang.StringBuilder) _r7_o).append((long) _r8.l);
    _r3_o = ((global::java.lang.StringBuilder) _r7_o).toString();
    // Value=last_push_req
    _r7_o = new global::java.lang.String();
    ((global::java.lang.String)_r7_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)108)), unchecked((char) unchecked((uint) 97)), unchecked((char) unchecked((uint) 115)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 95)), unchecked((char) unchecked((uint) 112)), unchecked((char) unchecked((uint) 117)), unchecked((char) unchecked((uint) 115)), unchecked((char) unchecked((uint) 104)), unchecked((char) unchecked((uint) 95)), unchecked((char) unchecked((uint) 114)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 113))}));
    global::com.codename1.io.Preferences.set((global::java.lang.String) _r7_o, (global::java.lang.String) _r3_o);
    _r7_o = global::com.codename1.impl.CodenameOneImplementation.access_2100();
    ((global::com.codename1.push.PushCallback) _r7_o).push((global::java.lang.String) _r4_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.io.IOException) {
            _ex = ex;
            goto label214;
        }
        throw ex;
    } // end catch
    goto label121;
    label214:;
    _r7_o = _ex.getJavaException();
    _ex = null;
    _r2_o = _r7_o;
    ((global::java.io.IOException) _r2_o).printStackTrace();
    goto label121;
    label220:;
    return;
//XMLVM_END_WRAPPER[com.codename1.impl.CodenameOneImplementation$4: void run()]
}
private void checkReadPrimitiveTypes(){
//XMLVM_BEGIN_WRAPPER[java.io.ObjectInputStream: void checkReadPrimitiveTypes()]
    global::org.xmlvm._nElement _r0;
    global::System.Object _r0_o = null;
    global::org.xmlvm._nElement _r1;
    global::System.Object _r1_o = null;
    global::org.xmlvm._nElement _r2;
    global::System.Object _r3_o = null;
    _r3_o = this;
    _r2.i = 0;
    _r0_o = ((global::java.io.ObjectInputStream) _r3_o)._fprimitiveData;
    _r1_o = ((global::java.io.ObjectInputStream) _r3_o)._finput;
    if (_r0_o == _r1_o) goto label15;
    _r0_o = ((global::java.io.ObjectInputStream) _r3_o)._fprimitiveData;
    _r0.i = ((global::java.io.InputStream) _r0_o).available();
    if (_r0.i <= 0) goto label19;
    label15:;
    return;
    label16:;
    ((global::java.io.ObjectInputStream) _r3_o).resetState();
    label19:;
    _r0.i = ((global::java.io.ObjectInputStream) _r3_o)._fhasPushbackTC ? 1 : 0;
    if (_r0.i == 0) goto label38;
    ((global::java.io.ObjectInputStream) _r3_o)._fhasPushbackTC = 0!=_r2.i;
    _r0.i = _r2.i;
    label26:;
    _r1.i = ((global::java.io.ObjectInputStream) _r3_o)._fpushbackTC;
    switch (_r1.i) {
    case 119: goto label48;
    case 121: goto label16;
    case 122: goto label60;
    }
    _r1.i = -1;
    if (_r0.i == _r1.i) goto label15;
    ((global::java.io.ObjectInputStream) _r3_o).pushbackTC();
    goto label15;
    label38:;
    _r0_o = ((global::java.io.ObjectInputStream) _r3_o)._finput;
    _r0.i = ((global::java.io.DataInputStream) _r0_o).read();
    _r1.i = (_r0.i << 24) >> 24;
    ((global::java.io.ObjectInputStream) _r3_o)._fpushbackTC = (sbyte) _r1.i;
    goto label26;
    label48:;
    _r0_o = new global::java.io.ByteArrayInputStream();
    _r1_o = ((global::java.io.ObjectInputStream) _r3_o).readBlockData();
    ((global::java.io.ByteArrayInputStream) _r0_o).@this((global::org.xmlvm._nArrayAdapter<sbyte>) _r1_o);
    ((global::java.io.ObjectInputStream) _r3_o)._fprimitiveData = (global::java.io.InputStream) _r0_o;
    goto label15;
    label60:;
    _r0_o = new global::java.io.ByteArrayInputStream();
    _r1_o = ((global::java.io.ObjectInputStream) _r3_o).readBlockDataLong();
    ((global::java.io.ByteArrayInputStream) _r0_o).@this((global::org.xmlvm._nArrayAdapter<sbyte>) _r1_o);
    ((global::java.io.ObjectInputStream) _r3_o)._fprimitiveData = (global::java.io.InputStream) _r0_o;
    goto label15;
//XMLVM_END_WRAPPER[java.io.ObjectInputStream: void checkReadPrimitiveTypes()]
}
Exemple #16
0
private void applyStyleAttribute(global::com.codename1.ui.html.HTMLElement n1, global::com.codename1.ui.html.HTMLComponent n2){
//XMLVM_BEGIN_WRAPPER[com.codename1.ui.html.CSSEngine: void applyStyleAttribute(com.codename1.ui.html.HTMLElement, com.codename1.ui.html.HTMLComponent)]
    global::org.xmlvm._nElement _r0;
    global::System.Object _r0_o = null;
    global::org.xmlvm._nElement _r1;
    global::System.Object _r1_o = null;
    global::org.xmlvm._nElement _r2;
    global::System.Object _r2_o = null;
    global::org.xmlvm._nElement _r3;
    global::System.Object _r3_o = null;
    global::org.xmlvm._nElement _r4;
    global::System.Object _r4_o = null;
    global::org.xmlvm._nElement _r5;
    global::System.Object _r5_o = null;
    global::org.xmlvm._nElement _r6;
    global::System.Object _r6_o = null;
    global::org.xmlvm._nElement _r7;
    global::System.Object _r7_o = null;
    global::org.xmlvm._nElement _r8;
    global::System.Object _r8_o = null;
    global::org.xmlvm._nElement _r9;
    global::System.Object _r9_o = null;
    global::org.xmlvm._nExceptionAdapter _ex = null;
    _r7_o = this;
    _r8_o = n1;
    _r9_o = n2;
    _r3.i = 2;
    _r2_o = ((global::com.codename1.ui.html.HTMLElement) _r8_o).getAttributeById((int) _r3.i);
    if (_r2_o == null) goto label58;
    _r1_o = null;
    _r3_o = new global::java.lang.StringBuilder();
    ((global::java.lang.StringBuilder) _r3_o).@this();
    // Value=\173
    _r4_o = new global::java.lang.String();
    ((global::java.lang.String)_r4_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)123))}));
    _r3_o = ((global::java.lang.StringBuilder) _r3_o).append((global::java.lang.String) _r4_o);
    _r3_o = ((global::java.lang.StringBuilder) _r3_o).append((global::java.lang.String) _r2_o);
    // Value=\175
    _r4_o = new global::java.lang.String();
    ((global::java.lang.String)_r4_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)125))}));
    _r3_o = ((global::java.lang.StringBuilder) _r3_o).append((global::java.lang.String) _r4_o);
    _r2_o = ((global::java.lang.StringBuilder) _r3_o).toString();
    try {
    _r3_o = global::com.codename1.ui.html.CSSParser.getInstance();
    _r4_o = new global::java.io.InputStreamReader();
    _r5_o = new global::java.io.ByteArrayInputStream();
    _r6_o = ((global::java.lang.String) _r2_o).getBytes();
    ((global::java.io.ByteArrayInputStream) _r5_o).@this((global::org.xmlvm._nArrayAdapter<sbyte>) _r6_o);
    ((global::java.io.InputStreamReader) _r4_o).@this((global::java.io.InputStream) _r5_o);
    _r1_o = ((global::com.codename1.ui.html.CSSParser) _r3_o).parseCSS((global::java.io.InputStreamReader) _r4_o, (global::com.codename1.ui.html.HTMLComponent) _r9_o);
    ((global::com.codename1.ui.html.CSSEngine) _r7_o).applyStyle((global::com.codename1.ui.html.HTMLElement) _r8_o, (global::com.codename1.ui.html.CSSElement) _r1_o, (global::com.codename1.ui.html.HTMLComponent) _r9_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.io.IOException) {
            _ex = ex;
            goto label59;
        }
        throw ex;
    } // end catch
    label58:;
    return;
    label59:;
    _r3_o = _ex.getJavaException();
    _ex = null;
    _r0_o = _r3_o;
    ((global::java.io.IOException) _r0_o).printStackTrace();
    goto label58;
//XMLVM_END_WRAPPER[com.codename1.ui.html.CSSEngine: void applyStyleAttribute(com.codename1.ui.html.HTMLElement, com.codename1.ui.html.HTMLComponent)]
}
Exemple #17
0
public static global::System.Object fromContent(global::java.lang.String n1, global::java.lang.String n2){
//XMLVM_BEGIN_WRAPPER[com.codename1.processing.Result: com.codename1.processing.Result fromContent(java.lang.String, java.lang.String)]
    global::org.xmlvm._nElement _r0;
    global::System.Object _r0_o = null;
    global::org.xmlvm._nElement _r1;
    global::System.Object _r1_o = null;
    global::org.xmlvm._nElement _r2;
    global::System.Object _r2_o = null;
    global::org.xmlvm._nElement _r3;
    global::System.Object _r3_o = null;
    global::org.xmlvm._nElement _r4;
    global::System.Object _r4_o = null;
    global::org.xmlvm._nElement _r5;
    global::System.Object _r5_o = null;
    global::org.xmlvm._nExceptionAdapter _ex = null;
    _r4_o = n1;
    _r5_o = n2;
    // Value=UTF-8
    _r1_o = new global::java.lang.String();
    ((global::java.lang.String)_r1_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)85)), unchecked((char) unchecked((uint) 84)), unchecked((char) unchecked((uint) 70)), unchecked((char) unchecked((uint) 45)), unchecked((char) unchecked((uint) 56))}));
    if (_r4_o != null) goto label12;
    _r1_o = new global::java.lang.IllegalArgumentException();
    // Value=content cannot be null
    _r2_o = new global::java.lang.String();
    ((global::java.lang.String)_r2_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)99)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 110)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 110)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 32)), unchecked((char) unchecked((uint) 99)), unchecked((char) unchecked((uint) 97)), unchecked((char) unchecked((uint) 110)), unchecked((char) unchecked((uint) 110)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 32)), unchecked((char) unchecked((uint) 98)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 32)), unchecked((char) unchecked((uint) 110)), unchecked((char) unchecked((uint) 117)), unchecked((char) unchecked((uint) 108)), unchecked((char) unchecked((uint) 108))}));
    ((global::java.lang.IllegalArgumentException) _r1_o).@this((global::java.lang.String) _r2_o);
    throw new global::org.xmlvm._nExceptionAdapter((global::java.lang.IllegalArgumentException) _r1_o);
    label12:;
    if (_r5_o != null) goto label22;
    _r1_o = new global::java.lang.IllegalArgumentException();
    // Value=format cannot be null
    _r2_o = new global::java.lang.String();
    ((global::java.lang.String)_r2_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)102)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 114)), unchecked((char) unchecked((uint) 109)), unchecked((char) unchecked((uint) 97)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 32)), unchecked((char) unchecked((uint) 99)), unchecked((char) unchecked((uint) 97)), unchecked((char) unchecked((uint) 110)), unchecked((char) unchecked((uint) 110)), unchecked((char) unchecked((uint) 111)), unchecked((char) unchecked((uint) 116)), unchecked((char) unchecked((uint) 32)), unchecked((char) unchecked((uint) 98)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 32)), unchecked((char) unchecked((uint) 110)), unchecked((char) unchecked((uint) 117)), unchecked((char) unchecked((uint) 108)), unchecked((char) unchecked((uint) 108))}));
    ((global::java.lang.IllegalArgumentException) _r1_o).@this((global::java.lang.String) _r2_o);
    throw new global::org.xmlvm._nExceptionAdapter((global::java.lang.IllegalArgumentException) _r1_o);
    label22:;
    try {
    _r1_o = new global::java.io.InputStreamReader();
    _r2_o = new global::java.io.ByteArrayInputStream();
    // Value=UTF-8
    _r3_o = new global::java.lang.String();
    ((global::java.lang.String)_r3_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)85)), unchecked((char) unchecked((uint) 84)), unchecked((char) unchecked((uint) 70)), unchecked((char) unchecked((uint) 45)), unchecked((char) unchecked((uint) 56))}));
    _r3_o = ((global::java.lang.String) _r4_o).getBytes((global::java.lang.String) _r3_o);
    ((global::java.io.ByteArrayInputStream) _r2_o).@this((global::org.xmlvm._nArrayAdapter<sbyte>) _r3_o);
    // Value=UTF-8
    _r3_o = new global::java.lang.String();
    ((global::java.lang.String)_r3_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)85)), unchecked((char) unchecked((uint) 84)), unchecked((char) unchecked((uint) 70)), unchecked((char) unchecked((uint) 45)), unchecked((char) unchecked((uint) 56))}));
    ((global::java.io.InputStreamReader) _r1_o).@this((global::java.io.InputStream) _r2_o, (global::java.lang.String) _r3_o);
    _r1_o = global::com.codename1.processing.Result.fromContent((global::java.io.Reader) _r1_o, (global::java.lang.String) _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.io.IOException) {
            _ex = ex;
            goto label45;
        }
        throw ex;
    } // end catch
    return (global::com.codename1.processing.Result) _r1_o;
    label45:;
    _r1_o = _ex.getJavaException();
    _ex = null;
    _r0_o = _r1_o;
    _r1_o = new global::java.lang.IllegalArgumentException();
    _r2_o = ((global::java.io.IOException) _r0_o).getMessage();
    ((global::java.lang.IllegalArgumentException) _r1_o).@this((global::java.lang.String) _r2_o);
    throw new global::org.xmlvm._nExceptionAdapter((global::java.lang.IllegalArgumentException) _r1_o);
//XMLVM_END_WRAPPER[com.codename1.processing.Result: com.codename1.processing.Result fromContent(java.lang.String, java.lang.String)]
}
public override void readResponse(global::java.io.InputStream n1){
//XMLVM_BEGIN_WRAPPER[com.codename1.cloud.CloudImageProperty$1: void readResponse(java.io.InputStream)]
    global::org.xmlvm._nElement _r0;
    global::System.Object _r0_o = null;
    global::org.xmlvm._nElement _r1;
    global::System.Object _r1_o = null;
    global::org.xmlvm._nElement _r2;
    global::System.Object _r2_o = null;
    global::org.xmlvm._nElement _r3;
    global::System.Object _r3_o = null;
    global::org.xmlvm._nElement _r4;
    global::System.Object _r4_o = null;
    global::org.xmlvm._nElement _r5;
    global::System.Object _r5_o = null;
    global::org.xmlvm._nElement _r6;
    global::System.Object _r6_o = null;
    global::org.xmlvm._nElement _r7;
    global::System.Object _r7_o = null;
    global::org.xmlvm._nElement _r8;
    global::System.Object _r8_o = null;
    global::org.xmlvm._nExceptionAdapter _ex = null;
    _r7_o = this;
    _r8_o = n1;
    _r1_o = global::com.codename1.ui.EncodedImage.create((global::java.io.InputStream) _r8_o);
    ((global::com.codename1.cloud.CloudImageProperty_21) _r7_o)._fe = (global::com.codename1.ui.EncodedImage) _r1_o;
    _r1_o = ((global::com.codename1.cloud.CloudImageProperty_21) _r7_o)._fe;
    _r1.i = ((global::com.codename1.ui.EncodedImage) _r1_o).getWidth();
    _r3_o = ((global::com.codename1.cloud.CloudImageProperty_21) _r7_o)._fthis_20;
    _r3_o = global::com.codename1.cloud.CloudImageProperty.access_2000((global::com.codename1.cloud.CloudImageProperty) _r3_o);
    _r3.i = ((global::com.codename1.ui.EncodedImage) _r3_o).getWidth();
    if (_r1.i != _r3.i) goto label42;
    _r1_o = ((global::com.codename1.cloud.CloudImageProperty_21) _r7_o)._fe;
    _r1.i = ((global::com.codename1.ui.EncodedImage) _r1_o).getHeight();
    _r3_o = ((global::com.codename1.cloud.CloudImageProperty_21) _r7_o)._fthis_20;
    _r3_o = global::com.codename1.cloud.CloudImageProperty.access_2000((global::com.codename1.cloud.CloudImageProperty) _r3_o);
    _r3.i = ((global::com.codename1.ui.EncodedImage) _r3_o).getHeight();
    if (_r1.i == _r3.i) goto label102;
    label42:;
    _r0_o = global::com.codename1.ui.util.ImageIO.getImageIO();
    if (_r0_o == null) goto label102;
    _r2_o = new global::java.io.ByteArrayOutputStream();
    ((global::java.io.ByteArrayOutputStream) _r2_o).@this();
    _r1_o = new global::java.io.ByteArrayInputStream();
    _r3_o = ((global::com.codename1.cloud.CloudImageProperty_21) _r7_o)._fe;
    _r3_o = ((global::com.codename1.ui.EncodedImage) _r3_o).getImageData();
    ((global::java.io.ByteArrayInputStream) _r1_o).@this((global::org.xmlvm._nArrayAdapter<sbyte>) _r3_o);
    // Value=jpeg
    _r3_o = new global::java.lang.String();
    ((global::java.lang.String)_r3_o).@this(new global::org.xmlvm._nArrayAdapter<char>(new char[] {unchecked((char) unchecked((uint)106)), unchecked((char) unchecked((uint) 112)), unchecked((char) unchecked((uint) 101)), unchecked((char) unchecked((uint) 103))}));
    _r4_o = ((global::com.codename1.cloud.CloudImageProperty_21) _r7_o)._fthis_20;
    _r4_o = global::com.codename1.cloud.CloudImageProperty.access_2000((global::com.codename1.cloud.CloudImageProperty) _r4_o);
    _r4.i = ((global::com.codename1.ui.EncodedImage) _r4_o).getWidth();
    _r5_o = ((global::com.codename1.cloud.CloudImageProperty_21) _r7_o)._fthis_20;
    _r5_o = global::com.codename1.cloud.CloudImageProperty.access_2000((global::com.codename1.cloud.CloudImageProperty) _r5_o);
    _r5.i = ((global::com.codename1.ui.EncodedImage) _r5_o).getHeight();
    _r6.f = (float)0.9D;
    ((global::com.codename1.ui.util.ImageIO) _r0_o).save((global::java.io.InputStream) _r1_o, (global::java.io.OutputStream) _r2_o, (global::java.lang.String) _r3_o, (int) _r4.i, (int) _r5.i, (float) _r6.f);
    _r1_o = ((global::java.io.ByteArrayOutputStream) _r2_o).toByteArray();
    _r1_o = global::com.codename1.ui.EncodedImage.create((global::org.xmlvm._nArrayAdapter<sbyte>) _r1_o);
    ((global::com.codename1.cloud.CloudImageProperty_21) _r7_o)._fe = (global::com.codename1.ui.EncodedImage) _r1_o;
    label102:;
    return;
//XMLVM_END_WRAPPER[com.codename1.cloud.CloudImageProperty$1: void readResponse(java.io.InputStream)]
}
public static global::System.Object load(global::org.xmlvm._nArrayAdapter<sbyte> n1){
//XMLVM_BEGIN_WRAPPER[com.codename1.ui.IndexedImage: com.codename1.ui.IndexedImage load(byte[])]
    global::org.xmlvm._nElement _r0;
    global::System.Object _r0_o = null;
    global::org.xmlvm._nElement _r1;
    global::System.Object _r1_o = null;
    global::org.xmlvm._nElement _r2;
    global::System.Object _r2_o = null;
    global::org.xmlvm._nElement _r3;
    global::System.Object _r3_o = null;
    global::org.xmlvm._nElement _r4;
    global::System.Object _r4_o = null;
    global::org.xmlvm._nElement _r5;
    global::System.Object _r5_o = null;
    global::org.xmlvm._nElement _r6;
    global::System.Object _r6_o = null;
    global::org.xmlvm._nElement _r7;
    global::System.Object _r7_o = null;
    global::org.xmlvm._nElement _r8;
    global::System.Object _r8_o = null;
    global::org.xmlvm._nExceptionAdapter _ex = null;
    _r8_o = n1;
    try {
    _r3_o = new global::java.io.DataInputStream();
    _r7_o = new global::java.io.ByteArrayInputStream();
    ((global::java.io.ByteArrayInputStream) _r7_o).@this((global::org.xmlvm._nArrayAdapter<sbyte>) _r8_o);
    ((global::java.io.DataInputStream) _r3_o).@this((global::java.io.InputStream) _r7_o);
    _r6.i = ((global::java.io.DataInputStream) _r3_o).readShort();
    _r2.i = ((global::java.io.DataInputStream) _r3_o).readShort();
    _r7.i = ((global::java.io.DataInputStream) _r3_o).readByte();
    _r7.i = _r7.i & 255;
    _r5_o = new global::org.xmlvm._nArrayAdapter<int>(new int[_r7.i]);
    _r4.i = 0;
    }
    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.io.IOException) {
            _ex = ex;
            goto label52;
        }
        throw ex;
    } // end catch
    label27:;
    try {
    _r7.i = ((global::org.xmlvm._nIArray) _r5_o).Length;
    if (_r4.i >= _r7.i) goto label39;
    _r7.i = ((global::java.io.DataInputStream) _r3_o).readInt();
    ((global::org.xmlvm._nArrayAdapter<int>) _r5_o)[_r4.i] = _r7.i;
    _r4.i = _r4.i + 1;
    goto label27;
    }
    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.io.IOException) {
            _ex = ex;
            goto label52;
        }
        throw ex;
    } // end catch
    label39:;
    try {
    _r7.i = _r6.i * _r2.i;
    _r0_o = new global::org.xmlvm._nArrayAdapter<sbyte>(new sbyte[_r7.i]);
    ((global::java.io.DataInputStream) _r3_o).readFully((global::org.xmlvm._nArrayAdapter<sbyte>) _r0_o);
    _r7_o = new global::com.codename1.ui.IndexedImage();
    ((global::com.codename1.ui.IndexedImage) _r7_o).@this((int) _r6.i, (int) _r2.i, (global::org.xmlvm._nArrayAdapter<int>) _r5_o, (global::org.xmlvm._nArrayAdapter<sbyte>) _r0_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.io.IOException) {
            _ex = ex;
            goto label52;
        }
        throw ex;
    } // end catch
    label51:;
    return (global::com.codename1.ui.IndexedImage) _r7_o;
    label52:;
    _r7_o = _ex.getJavaException();
    _ex = null;
    _r1_o = _r7_o;
    ((global::java.io.IOException) _r1_o).printStackTrace();
    _r7_o = null;
    goto label51;
//XMLVM_END_WRAPPER[com.codename1.ui.IndexedImage: com.codename1.ui.IndexedImage load(byte[])]
}