W3cubDocs

/Haxe Java

URL

package java.net

implements Serializable

@:final@:libType@:javaNative@:native("java.net.URL")@:javaCanonical("java.net","URL") Available on java

Constructor

@:overload @:throws("java.net.MalformedURLException") new (param1:URL, param2:String, param3:URLStreamHandler)

@:overload @:throws("java.net.MalformedURLException") new (param1:String, param2:String, param3:Int, param4:String)

@:overload @:throws("java.net.MalformedURLException") new (param1:String, param2:String, param3:String)

@:overload @:throws("java.net.MalformedURLException") new (param1:String, param2:String, param3:Int, param4:String, param5:URLStreamHandler)

@:overload @:throws("java.net.MalformedURLException") new (param1:String)

@:overload @:throws("java.net.MalformedURLException") new (param1:URL, param2:String)

Methods

@:overload equals (param1:Dynamic):Bool

@:overload getAuthority ():String

@:overload @:throws("java.io.IOException") @:final getContent (param1:NativeArray<Class<Dynamic>>):Dynamic

@:overload @:throws("java.io.IOException") @:final getContent ():Dynamic

@:overload getDefaultPort ():Int

@:overload getFile ():String

@:overload getHost ():String

@:overload getPath ():String

@:overload getPort ():Int

@:overload getProtocol ():String

@:overload getQuery ():String

@:overload getRef ():String

@:overload getUserInfo ():String

@:overload hashCode ():Int

@:overload @:throws("java.io.IOException") openConnection (param1:Proxy):URLConnection

@:overload @:throws("java.io.IOException") openConnection ():URLConnection

@:overload @:throws("java.io.IOException") @:final openStream ():InputStream

@:overload sameFile (param1:URL):Bool

@:overload toExternalForm ():String

@:overload toString ():String

@:overload @:throws("java.net.URISyntaxException") toURI ():URI

Static methods

@:overload static setURLStreamHandlerFactory (param1:URLStreamHandlerFactory):Void

© 2005–2018 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/java/net/URL.html