Package java.net
Class URL
java.lang.Object
java.net.URL
- All Implemented Interfaces:
Serializable
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
final Object
final Object
getContent
(Class[] var0) getFile()
getHost()
getPath()
int
getPort()
getQuery()
getRef()
int
hashCode()
final InputStream
boolean
protected void
protected void
set
(String var0, String var1, int var2, String var3, String var4, String var5, String var6, String var7) static void
toString()
-
Constructor Details
-
URL
- Throws:
MalformedURLException
-
URL
- Throws:
MalformedURLException
-
URL
- Throws:
MalformedURLException
-
URL
- Throws:
MalformedURLException
-
URL
- Throws:
MalformedURLException
-
URL
public URL(String var0, String var1, int var2, String var3, URLStreamHandler var4) throws MalformedURLException - Throws:
MalformedURLException
-
-
Method Details
-
setURLStreamHandlerFactory
-
set
-
equals
-
sameFile
-
hashCode
public int hashCode() -
getContent
- Throws:
IOException
-
getContent
- Throws:
IOException
-
openStream
- Throws:
IOException
-
openConnection
- Throws:
IOException
-
toString
-
toExternalForm
-
getFile
-
getHost
-
getPort
public int getPort() -
getProtocol
-
getRef
-
getQuery
-
getPath
-
getUserInfo
-
getAuthority
-
set
-