Package java.net
Class URL
java.lang.Object
java.net.URL
- All Implemented Interfaces:
Serializable
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal Object
final Object
getContent
(Class[] var0) int
getFile()
getHost()
getPath()
int
getPort()
getQuery()
getRef()
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
-
Constructor Details
-
URL
- Throws:
MalformedURLException
-
URL
- Throws:
MalformedURLException
-
URL
public URL(String var0, String var1, int var2, String var3, URLStreamHandler var4) throws MalformedURLException - Throws:
MalformedURLException
-
URL
- Throws:
MalformedURLException
-
URL
- Throws:
MalformedURLException
-
URL
- Throws:
MalformedURLException
-
-
Method Details
-
getAuthority
-
getContent
- Throws:
IOException
-
getContent
- Throws:
IOException
-
getDefaultPort
public int getDefaultPort() -
getFile
-
getHost
-
getPath
-
getPort
public int getPort() -
getProtocol
-
getQuery
-
getRef
-
getUserInfo
-
openConnection
- Throws:
IOException
-
openStream
- Throws:
IOException
-
sameFile
-
set
-
set
-
setURLStreamHandlerFactory
-
toExternalForm
-