/jni/MonoJavaBridge/android/generated/java/net/URLStreamHandler.cs

http://github.com/koush/androidmono · C# · 169 lines · 168 code · 1 blank · 0 comment · 12 complexity · f7d7c3e869ec7e9e5239adb9221566e8 MD5 · raw file

  1. namespace java.net
  2. {
  3. [global::MonoJavaBridge.JavaClass(typeof(global::java.net.URLStreamHandler_))]
  4. public abstract partial class URLStreamHandler : java.lang.Object
  5. {
  6. internal new static global::MonoJavaBridge.JniGlobalHandle staticClass;
  7. static URLStreamHandler()
  8. {
  9. InitJNI();
  10. }
  11. protected URLStreamHandler(global::MonoJavaBridge.JNIEnv @__env) : base(@__env)
  12. {
  13. }
  14. internal static global::MonoJavaBridge.MethodId _equals13965;
  15. protected virtual bool equals(java.net.URL arg0, java.net.URL arg1)
  16. {
  17. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  18. if (!IsClrObject)
  19. return @__env.CallBooleanMethod(this.JvmHandle, global::java.net.URLStreamHandler._equals13965, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg1));
  20. else
  21. return @__env.CallNonVirtualBooleanMethod(this.JvmHandle, global::java.net.URLStreamHandler.staticClass, global::java.net.URLStreamHandler._equals13965, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg1));
  22. }
  23. internal static global::MonoJavaBridge.MethodId _hashCode13966;
  24. protected virtual int hashCode(java.net.URL arg0)
  25. {
  26. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  27. if (!IsClrObject)
  28. return @__env.CallIntMethod(this.JvmHandle, global::java.net.URLStreamHandler._hashCode13966, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0));
  29. else
  30. return @__env.CallNonVirtualIntMethod(this.JvmHandle, global::java.net.URLStreamHandler.staticClass, global::java.net.URLStreamHandler._hashCode13966, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0));
  31. }
  32. internal static global::MonoJavaBridge.MethodId _getDefaultPort13967;
  33. protected virtual int getDefaultPort()
  34. {
  35. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  36. if (!IsClrObject)
  37. return @__env.CallIntMethod(this.JvmHandle, global::java.net.URLStreamHandler._getDefaultPort13967);
  38. else
  39. return @__env.CallNonVirtualIntMethod(this.JvmHandle, global::java.net.URLStreamHandler.staticClass, global::java.net.URLStreamHandler._getDefaultPort13967);
  40. }
  41. internal static global::MonoJavaBridge.MethodId _sameFile13968;
  42. protected virtual bool sameFile(java.net.URL arg0, java.net.URL arg1)
  43. {
  44. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  45. if (!IsClrObject)
  46. return @__env.CallBooleanMethod(this.JvmHandle, global::java.net.URLStreamHandler._sameFile13968, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg1));
  47. else
  48. return @__env.CallNonVirtualBooleanMethod(this.JvmHandle, global::java.net.URLStreamHandler.staticClass, global::java.net.URLStreamHandler._sameFile13968, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg1));
  49. }
  50. internal static global::MonoJavaBridge.MethodId _toExternalForm13969;
  51. protected virtual global::java.lang.String toExternalForm(java.net.URL arg0)
  52. {
  53. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  54. if (!IsClrObject)
  55. return global::MonoJavaBridge.JavaBridge.WrapJavaObject(@__env.CallObjectMethod(this.JvmHandle, global::java.net.URLStreamHandler._toExternalForm13969, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0))) as java.lang.String;
  56. else
  57. return global::MonoJavaBridge.JavaBridge.WrapJavaObject(@__env.CallNonVirtualObjectMethod(this.JvmHandle, global::java.net.URLStreamHandler.staticClass, global::java.net.URLStreamHandler._toExternalForm13969, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0))) as java.lang.String;
  58. }
  59. internal static global::MonoJavaBridge.MethodId _openConnection13970;
  60. protected virtual global::java.net.URLConnection openConnection(java.net.URL arg0, java.net.Proxy arg1)
  61. {
  62. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  63. if (!IsClrObject)
  64. return global::MonoJavaBridge.JavaBridge.WrapJavaObject(@__env.CallObjectMethod(this.JvmHandle, global::java.net.URLStreamHandler._openConnection13970, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg1))) as java.net.URLConnection;
  65. else
  66. return global::MonoJavaBridge.JavaBridge.WrapJavaObject(@__env.CallNonVirtualObjectMethod(this.JvmHandle, global::java.net.URLStreamHandler.staticClass, global::java.net.URLStreamHandler._openConnection13970, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg1))) as java.net.URLConnection;
  67. }
  68. internal static global::MonoJavaBridge.MethodId _openConnection13971;
  69. protected abstract global::java.net.URLConnection openConnection(java.net.URL arg0);
  70. internal static global::MonoJavaBridge.MethodId _parseURL13972;
  71. protected virtual void parseURL(java.net.URL arg0, java.lang.String arg1, int arg2, int arg3)
  72. {
  73. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  74. if (!IsClrObject)
  75. @__env.CallVoidMethod(this.JvmHandle, global::java.net.URLStreamHandler._parseURL13972, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg1), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg2), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg3));
  76. else
  77. @__env.CallNonVirtualVoidMethod(this.JvmHandle, global::java.net.URLStreamHandler.staticClass, global::java.net.URLStreamHandler._parseURL13972, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg1), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg2), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg3));
  78. }
  79. internal static global::MonoJavaBridge.MethodId _getHostAddress13973;
  80. protected virtual global::java.net.InetAddress getHostAddress(java.net.URL arg0)
  81. {
  82. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  83. if (!IsClrObject)
  84. return global::MonoJavaBridge.JavaBridge.WrapJavaObject(@__env.CallObjectMethod(this.JvmHandle, global::java.net.URLStreamHandler._getHostAddress13973, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0))) as java.net.InetAddress;
  85. else
  86. return global::MonoJavaBridge.JavaBridge.WrapJavaObject(@__env.CallNonVirtualObjectMethod(this.JvmHandle, global::java.net.URLStreamHandler.staticClass, global::java.net.URLStreamHandler._getHostAddress13973, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0))) as java.net.InetAddress;
  87. }
  88. internal static global::MonoJavaBridge.MethodId _hostsEqual13974;
  89. protected virtual bool hostsEqual(java.net.URL arg0, java.net.URL arg1)
  90. {
  91. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  92. if (!IsClrObject)
  93. return @__env.CallBooleanMethod(this.JvmHandle, global::java.net.URLStreamHandler._hostsEqual13974, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg1));
  94. else
  95. return @__env.CallNonVirtualBooleanMethod(this.JvmHandle, global::java.net.URLStreamHandler.staticClass, global::java.net.URLStreamHandler._hostsEqual13974, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg1));
  96. }
  97. internal static global::MonoJavaBridge.MethodId _setURL13975;
  98. protected virtual void setURL(java.net.URL arg0, java.lang.String arg1, java.lang.String arg2, int arg3, java.lang.String arg4, java.lang.String arg5, java.lang.String arg6, java.lang.String arg7, java.lang.String arg8)
  99. {
  100. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  101. if (!IsClrObject)
  102. @__env.CallVoidMethod(this.JvmHandle, global::java.net.URLStreamHandler._setURL13975, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg1), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg2), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg3), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg4), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg5), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg6), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg7), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg8));
  103. else
  104. @__env.CallNonVirtualVoidMethod(this.JvmHandle, global::java.net.URLStreamHandler.staticClass, global::java.net.URLStreamHandler._setURL13975, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg1), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg2), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg3), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg4), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg5), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg6), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg7), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg8));
  105. }
  106. internal static global::MonoJavaBridge.MethodId _setURL13976;
  107. protected virtual void setURL(java.net.URL arg0, java.lang.String arg1, java.lang.String arg2, int arg3, java.lang.String arg4, java.lang.String arg5)
  108. {
  109. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  110. if (!IsClrObject)
  111. @__env.CallVoidMethod(this.JvmHandle, global::java.net.URLStreamHandler._setURL13976, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg1), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg2), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg3), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg4), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg5));
  112. else
  113. @__env.CallNonVirtualVoidMethod(this.JvmHandle, global::java.net.URLStreamHandler.staticClass, global::java.net.URLStreamHandler._setURL13976, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg1), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg2), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg3), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg4), global::MonoJavaBridge.JavaBridge.ConvertToValue(arg5));
  114. }
  115. internal static global::MonoJavaBridge.MethodId _URLStreamHandler13977;
  116. public URLStreamHandler() : base(global::MonoJavaBridge.JNIEnv.ThreadEnv)
  117. {
  118. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  119. global::MonoJavaBridge.JniLocalHandle handle = @__env.NewObject(java.net.URLStreamHandler.staticClass, global::java.net.URLStreamHandler._URLStreamHandler13977);
  120. Init(@__env, handle);
  121. }
  122. private static void InitJNI()
  123. {
  124. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  125. global::java.net.URLStreamHandler.staticClass = @__env.NewGlobalRef(@__env.FindClass("java/net/URLStreamHandler"));
  126. global::java.net.URLStreamHandler._equals13965 = @__env.GetMethodIDNoThrow(global::java.net.URLStreamHandler.staticClass, "equals", "(Ljava/net/URL;Ljava/net/URL;)Z");
  127. global::java.net.URLStreamHandler._hashCode13966 = @__env.GetMethodIDNoThrow(global::java.net.URLStreamHandler.staticClass, "hashCode", "(Ljava/net/URL;)I");
  128. global::java.net.URLStreamHandler._getDefaultPort13967 = @__env.GetMethodIDNoThrow(global::java.net.URLStreamHandler.staticClass, "getDefaultPort", "()I");
  129. global::java.net.URLStreamHandler._sameFile13968 = @__env.GetMethodIDNoThrow(global::java.net.URLStreamHandler.staticClass, "sameFile", "(Ljava/net/URL;Ljava/net/URL;)Z");
  130. global::java.net.URLStreamHandler._toExternalForm13969 = @__env.GetMethodIDNoThrow(global::java.net.URLStreamHandler.staticClass, "toExternalForm", "(Ljava/net/URL;)Ljava/lang/String;");
  131. global::java.net.URLStreamHandler._openConnection13970 = @__env.GetMethodIDNoThrow(global::java.net.URLStreamHandler.staticClass, "openConnection", "(Ljava/net/URL;Ljava/net/Proxy;)Ljava/net/URLConnection;");
  132. global::java.net.URLStreamHandler._openConnection13971 = @__env.GetMethodIDNoThrow(global::java.net.URLStreamHandler.staticClass, "openConnection", "(Ljava/net/URL;)Ljava/net/URLConnection;");
  133. global::java.net.URLStreamHandler._parseURL13972 = @__env.GetMethodIDNoThrow(global::java.net.URLStreamHandler.staticClass, "parseURL", "(Ljava/net/URL;Ljava/lang/String;II)V");
  134. global::java.net.URLStreamHandler._getHostAddress13973 = @__env.GetMethodIDNoThrow(global::java.net.URLStreamHandler.staticClass, "getHostAddress", "(Ljava/net/URL;)Ljava/net/InetAddress;");
  135. global::java.net.URLStreamHandler._hostsEqual13974 = @__env.GetMethodIDNoThrow(global::java.net.URLStreamHandler.staticClass, "hostsEqual", "(Ljava/net/URL;Ljava/net/URL;)Z");
  136. global::java.net.URLStreamHandler._setURL13975 = @__env.GetMethodIDNoThrow(global::java.net.URLStreamHandler.staticClass, "setURL", "(Ljava/net/URL;Ljava/lang/String;Ljava/lang/String;ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V");
  137. global::java.net.URLStreamHandler._setURL13976 = @__env.GetMethodIDNoThrow(global::java.net.URLStreamHandler.staticClass, "setURL", "(Ljava/net/URL;Ljava/lang/String;Ljava/lang/String;ILjava/lang/String;Ljava/lang/String;)V");
  138. global::java.net.URLStreamHandler._URLStreamHandler13977 = @__env.GetMethodIDNoThrow(global::java.net.URLStreamHandler.staticClass, "<init>", "()V");
  139. }
  140. }
  141. [global::MonoJavaBridge.JavaProxy(typeof(global::java.net.URLStreamHandler))]
  142. public sealed partial class URLStreamHandler_ : java.net.URLStreamHandler
  143. {
  144. internal new static global::MonoJavaBridge.JniGlobalHandle staticClass;
  145. static URLStreamHandler_()
  146. {
  147. InitJNI();
  148. }
  149. internal URLStreamHandler_(global::MonoJavaBridge.JNIEnv @__env) : base(@__env)
  150. {
  151. }
  152. internal static global::MonoJavaBridge.MethodId _openConnection13978;
  153. protected override global::java.net.URLConnection openConnection(java.net.URL arg0)
  154. {
  155. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  156. if (!IsClrObject)
  157. return global::MonoJavaBridge.JavaBridge.WrapJavaObject(@__env.CallObjectMethod(this.JvmHandle, global::java.net.URLStreamHandler_._openConnection13978, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0))) as java.net.URLConnection;
  158. else
  159. return global::MonoJavaBridge.JavaBridge.WrapJavaObject(@__env.CallNonVirtualObjectMethod(this.JvmHandle, global::java.net.URLStreamHandler_.staticClass, global::java.net.URLStreamHandler_._openConnection13978, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0))) as java.net.URLConnection;
  160. }
  161. private static void InitJNI()
  162. {
  163. global::MonoJavaBridge.JNIEnv @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
  164. global::java.net.URLStreamHandler_.staticClass = @__env.NewGlobalRef(@__env.FindClass("java/net/URLStreamHandler"));
  165. global::java.net.URLStreamHandler_._openConnection13978 = @__env.GetMethodIDNoThrow(global::java.net.URLStreamHandler_.staticClass, "openConnection", "(Ljava/net/URL;)Ljava/net/URLConnection;");
  166. }
  167. }
  168. }