예제 #1
0
 public object GetArray(long index, int count, global::Java.Util.Map map)
 {
     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(index).Add(count).Add(map))
     {
         return(_cmj_fun4.CallObject(this, typeof(object), false, cmj_jmargs));
     }
 }
예제 #2
0
 public SQLTransientConnectionException(string reason) : base(global::Codemesh.JuggerNET.JNIHandle.NULL)
 {
     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(reason))
     {
         JObject = (long)_cmj_ctr1.CallObject(this, cmj_jmargs);
     }
 }
예제 #3
0
 public SQLTransientConnectionException(global::Java.Lang.Throwable cause) : base(global::Codemesh.JuggerNET.JNIHandle.NULL)
 {
     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(cause))
     {
         JObject = (long)_cmj_ctr2.CallObject(this, cmj_jmargs);
     }
 }
예제 #4
0
 public InstantiationException(string s) : base(global::Codemesh.JuggerNET.JNIHandle.NULL)
 {
     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(s))
     {
         JObject = (long)_cmj_ctr1.CallObject(this, cmj_jmargs);
     }
 }
예제 #5
0
 public SQLTransientConnectionException(string reason, string SQLState, int vendorCode, global::Java.Lang.Throwable cause) : base(global::Codemesh.JuggerNET.JNIHandle.NULL)
 {
     global::Codemesh.JuggerNET.jvalue[] cmj_jargs = new global::Codemesh.JuggerNET.jvalue[4];
     using (global::Codemesh.JuggerNET.JavaMethodArguments cmj_jmargs = new global::Codemesh.JuggerNET.JavaMethodArguments(cmj_jargs).Add(reason).Add(SQLState).Add(vendorCode).Add(cause))
     {
         JObject = (long)_cmj_ctr7.CallObject(this, cmj_jmargs);
     }
 }
예제 #6
0
 public ClassNotFoundException(string s, global::Java.Lang.Throwable ex) : base(global::Codemesh.JuggerNET.JNIHandle.NULL)
 {
     global::Codemesh.JuggerNET.jvalue[] cmj_jargs = new global::Codemesh.JuggerNET.jvalue[2];
     using (global::Codemesh.JuggerNET.JavaMethodArguments cmj_jmargs = new global::Codemesh.JuggerNET.JavaMethodArguments(cmj_jargs).Add(s).Add(ex))
     {
         JObject = (long)_cmj_ctr2.CallObject(this, cmj_jmargs);
     }
 }
예제 #7
0
 public NameClassPair(string name, string className, bool isRelative) : base(global::Codemesh.JuggerNET.JNIHandle.NULL)
 {
     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(name).Add(className).Add(isRelative))
     {
         JObject = (long)_cmj_ctr1.CallObject(this, cmj_jmargs);
     }
 }
예제 #8
0
 public Hashtable(global::Java.Util.Map t) : base(global::Codemesh.JuggerNET.JNIHandle.NULL)
 {
     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(t))
     {
         JObject = (long)_cmj_ctr2.CallObject(this, cmj_jmargs);
     }
 }
예제 #9
0
 public Hashtable(int initialCapacity, float loadFactor) : base(global::Codemesh.JuggerNET.JNIHandle.NULL)
 {
     global::Codemesh.JuggerNET.jvalue[] cmj_jargs = new global::Codemesh.JuggerNET.jvalue[2];
     using (global::Codemesh.JuggerNET.JavaMethodArguments cmj_jmargs = new global::Codemesh.JuggerNET.JavaMethodArguments(cmj_jargs).Add(initialCapacity).Add(loadFactor))
     {
         JObject = (long)_cmj_ctr3.CallObject(this, cmj_jmargs);
     }
 }
예제 #10
0
 public PrintStream(global::Java.Io.OutputStream out_) : base(global::Codemesh.JuggerNET.JNIHandle.NULL)
 {
     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(out_))
     {
         JObject = (long)_cmj_ctr0.CallObject(this, cmj_jmargs);
     }
 }
예제 #11
0
파일: Float.cs 프로젝트: ridomin/HSQLDB.Net
 public Float(float value) : base(global::Codemesh.JuggerNET.JNIHandle.NULL)
 {
     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(value))
     {
         JObject = (long)_cmj_ctr1.CallObject(this, cmj_jmargs);
     }
 }
예제 #12
0
 public PrintStream(global::Java.Io.OutputStream out_, bool autoFlush, string encoding) : base(global::Codemesh.JuggerNET.JNIHandle.NULL)
 {
     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(out_).Add(autoFlush).Add(encoding))
     {
         JObject = (long)_cmj_ctr4.CallObject(this, cmj_jmargs);
     }
 }
예제 #13
0
 public PrintStream(string fileName, string csn) : base(global::Codemesh.JuggerNET.JNIHandle.NULL)
 {
     global::Codemesh.JuggerNET.jvalue[] cmj_jargs = new global::Codemesh.JuggerNET.jvalue[2];
     using (global::Codemesh.JuggerNET.JavaMethodArguments cmj_jmargs = new global::Codemesh.JuggerNET.JavaMethodArguments(cmj_jargs).Add(fileName).Add(csn))
     {
         JObject = (long)_cmj_ctr3.CallObject(this, cmj_jmargs);
     }
 }
예제 #14
0
파일: Name.cs 프로젝트: ridomin/HSQLDB.Net
 public object Remove(int posn)
 {
     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(posn))
     {
         return(_cmj_fun11.CallObject(this, typeof(object), false, cmj_jmargs));
     }
 }
예제 #15
0
 public SQLException(string reason, string SQLState, int vendorCode) : base(global::Codemesh.JuggerNET.JNIHandle.NULL)
 {
     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(reason).Add(SQLState).Add(vendorCode))
     {
         JObject = (long)_cmj_ctr5.CallObject(this, cmj_jmargs);
     }
 }
예제 #16
0
 public SQLException(string reason, global::Java.Lang.Throwable cause) : base(global::Codemesh.JuggerNET.JNIHandle.NULL)
 {
     global::Codemesh.JuggerNET.jvalue[] cmj_jargs = new global::Codemesh.JuggerNET.jvalue[2];
     using (global::Codemesh.JuggerNET.JavaMethodArguments cmj_jmargs = new global::Codemesh.JuggerNET.JavaMethodArguments(cmj_jargs).Add(reason).Add(cause))
     {
         JObject = (long)_cmj_ctr4.CallObject(this, cmj_jmargs);
     }
 }
예제 #17
0
 public SQLInvalidAuthorizationSpecException(string reason, string SQLState) : base(global::Codemesh.JuggerNET.JNIHandle.NULL)
 {
     global::Codemesh.JuggerNET.jvalue[] cmj_jargs = new global::Codemesh.JuggerNET.jvalue[2];
     using (global::Codemesh.JuggerNET.JavaMethodArguments cmj_jmargs = new global::Codemesh.JuggerNET.JavaMethodArguments(cmj_jargs).Add(reason).Add(SQLState))
     {
         JObject = (long)_cmj_ctr3.CallObject(this, cmj_jmargs);
     }
 }
예제 #18
0
 public global::Java.Time.Instant PlusSeconds(long secondsToAdd)
 {
     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(secondsToAdd))
     {
         long jnet_ref = (long)_cmj_fun14.CallObject(this, cmj_jmargs);
         return(jnet_ref == 0 ? null : new global::Java.Time.Instant(new global::Codemesh.JuggerNET.JNIHandle(jnet_ref)));
     }
 }
예제 #19
0
 public static global::Java.Sql.JDBCType ValueOf(string type)
 {
     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(type))
     {
         long jnet_ref = (long)_cmj_fun4.CallObject(null, cmj_jmargs);
         return(jnet_ref == 0 ? null : new global::Java.Sql.JDBCType(new global::Codemesh.JuggerNET.JNIHandle(jnet_ref)));
     }
 }
예제 #20
0
 public static global::Java.Time.Instant OfEpochSecond(long epochSecond, long nanoAdjustment)
 {
     global::Codemesh.JuggerNET.jvalue[] cmj_jargs = new global::Codemesh.JuggerNET.jvalue[2];
     using (global::Codemesh.JuggerNET.JavaMethodArguments cmj_jmargs = new global::Codemesh.JuggerNET.JavaMethodArguments(cmj_jargs).Add(epochSecond).Add(nanoAdjustment))
     {
         long jnet_ref = (long)_cmj_fun10.CallObject(null, cmj_jmargs);
         return(jnet_ref == 0 ? null : new global::Java.Time.Instant(new global::Codemesh.JuggerNET.JNIHandle(jnet_ref)));
     }
 }
예제 #21
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)));
     }
 }
예제 #22
0
 public global::Java.Time.Instant MinusNanos(long nanosToSubtract)
 {
     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(nanosToSubtract))
     {
         long jnet_ref = (long)_cmj_fun5.CallObject(this, cmj_jmargs);
         return(jnet_ref == 0 ? null : new global::Java.Time.Instant(new global::Codemesh.JuggerNET.JNIHandle(jnet_ref)));
     }
 }
예제 #23
0
 public static global::Java.Time.Instant OfEpochMilli(long epochMilli)
 {
     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(epochMilli))
     {
         long jnet_ref = (long)_cmj_fun8.CallObject(null, cmj_jmargs);
         return(jnet_ref == 0 ? null : new global::Java.Time.Instant(new global::Codemesh.JuggerNET.JNIHandle(jnet_ref)));
     }
 }
예제 #24
0
 public global::Java.Net.URL GetResource(string name)
 {
     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(name))
     {
         long jnet_ref = (long)_cmj_fun36.CallObject(this, cmj_jmargs);
         return(jnet_ref == 0 ? null : new global::Java.Net.URL(new global::Codemesh.JuggerNET.JNIHandle(jnet_ref)));
     }
 }
예제 #25
0
파일: Short.cs 프로젝트: ridomin/HSQLDB.Net
 public static global::Java.Lang.Short ValueOf(string s, int radix)
 {
     global::Codemesh.JuggerNET.jvalue[] cmj_jargs = new global::Codemesh.JuggerNET.jvalue[2];
     using (global::Codemesh.JuggerNET.JavaMethodArguments cmj_jmargs = new global::Codemesh.JuggerNET.JavaMethodArguments(cmj_jargs).Add(s).Add(radix))
     {
         long jnet_ref = (long)_cmj_fun12.CallObject(null, cmj_jmargs);
         return(jnet_ref == 0 ? null : new global::Java.Lang.Short(new global::Codemesh.JuggerNET.JNIHandle(jnet_ref)));
     }
 }
예제 #26
0
 public global::Java.Lang.Reflect.Method GetMethod(string name, global::Java.Lang.ClassArray parameterTypes)
 {
     global::Codemesh.JuggerNET.jvalue[] cmj_jargs = new global::Codemesh.JuggerNET.jvalue[2];
     using (global::Codemesh.JuggerNET.JavaMethodArguments cmj_jmargs = new global::Codemesh.JuggerNET.JavaMethodArguments(cmj_jargs).Add(name).Add(parameterTypes))
     {
         long jnet_ref = (long)_cmj_fun30.CallObject(this, cmj_jmargs);
         return(jnet_ref == 0 ? null : new global::Java.Lang.Reflect.Method(new global::Codemesh.JuggerNET.JNIHandle(jnet_ref)));
     }
 }
예제 #27
0
 public global::Java.Lang.Reflect.Field GetField(string name)
 {
     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(name))
     {
         long jnet_ref = (long)_cmj_fun25.CallObject(this, cmj_jmargs);
         return(jnet_ref == 0 ? null : new global::Java.Lang.Reflect.Field(new global::Codemesh.JuggerNET.JNIHandle(jnet_ref)));
     }
 }
예제 #28
0
 public global::Java.Lang.Reflect.Constructor GetDeclaredConstructor(global::Java.Lang.ClassArray parameterTypes)
 {
     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(parameterTypes))
     {
         long jnet_ref = (long)_cmj_fun14.CallObject(this, cmj_jmargs);
         return(jnet_ref == 0 ? null : new global::Java.Lang.Reflect.Constructor(new global::Codemesh.JuggerNET.JNIHandle(jnet_ref)));
     }
 }
예제 #29
0
 public static global::Java.Lang.Class ForName(string name, bool initialize, global::Java.Lang.ClassLoader loader)
 {
     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(name).Add(initialize).Add(loader))
     {
         long jnet_ref = (long)_cmj_fun4.CallObject(null, cmj_jmargs);
         return(jnet_ref == 0 ? null : new global::Java.Lang.Class(new global::Codemesh.JuggerNET.JNIHandle(jnet_ref)));
     }
 }
예제 #30
0
 public static global::Java.Lang.Class ForName(string className)
 {
     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(className))
     {
         long jnet_ref = (long)_cmj_fun3.CallObject(null, cmj_jmargs);
         return(jnet_ref == 0 ? null : new global::Java.Lang.Class(new global::Codemesh.JuggerNET.JNIHandle(jnet_ref)));
     }
 }