Exemplo n.º 1
0
 public static global::Java.Time.Instant Parse(global::Java.Lang.CharSequence text)
 {
     global::Codemesh.JuggerNET.jvalue[] cmj_jargs = new global::Codemesh.JuggerNET.jvalue[1];
     using (global::Codemesh.JuggerNET.JavaMethodArguments cmj_jmargs = new global::Codemesh.JuggerNET.JavaMethodArguments(cmj_jargs).Add(text))
     {
         long jnet_ref = (long)_cmj_fun11.CallObject(null, cmj_jmargs);
         return(jnet_ref == 0 ? null : new global::Java.Time.Instant(new global::Codemesh.JuggerNET.JNIHandle(jnet_ref)));
     }
 }
Exemplo n.º 2
0
 public global::Java.Io.PrintStream Append(global::Java.Lang.CharSequence csq, int start, int end)
 {
     global::Codemesh.JuggerNET.jvalue[] cmj_jargs = new global::Codemesh.JuggerNET.jvalue[3];
     using (global::Codemesh.JuggerNET.JavaMethodArguments cmj_jmargs = new global::Codemesh.JuggerNET.JavaMethodArguments(cmj_jargs).Add(csq).Add(start).Add(end))
     {
         if (_cmj_fun2.IsLeafType)
         {
             long jnet_ref = (long)_cmj_fun2.CallObject(this, cmj_jmargs);
             return(jnet_ref == 0 ? null : new global::Java.Io.PrintStream(new global::Codemesh.JuggerNET.JNIHandle(jnet_ref)));
         }
         else
         {
             return((global::Java.Io.PrintStream)_cmj_fun2.CallObject(this, typeof(global::Java.Io.PrintStream), false, cmj_jmargs));
         }
     }
 }
Exemplo n.º 3
0
 public global::Java.Io.Writer Append(global::Java.Lang.CharSequence csq)
 {
     global::Codemesh.JuggerNET.jvalue[] cmj_jargs = new global::Codemesh.JuggerNET.jvalue[1];
     using (global::Codemesh.JuggerNET.JavaMethodArguments cmj_jmargs = new global::Codemesh.JuggerNET.JavaMethodArguments(cmj_jargs).Add(csq))
     {
         if (_cmj_fun1.IsLeafType)
         {
             long jnet_ref = (long)_cmj_fun1.CallObject(this, cmj_jmargs);
             return(jnet_ref == 0 ? null : new global::Java.Io.Writer.WriterImpl(new global::Codemesh.JuggerNET.JNIHandle(jnet_ref)));
         }
         else
         {
             return((global::Java.Io.Writer)_cmj_fun1.CallObject(this, typeof(global::Java.Io.Writer), false, cmj_jmargs));
         }
     }
 }