Class RTSPURL
java.lang.Object
java.net.URLStreamHandler
javaforce.voip.RTSPURL
- All Implemented Interfaces:
URLStreamHandlerFactory
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringRemoves user info from RTSP URL.createURLStreamHandler(String protocol) static Stringstatic intstatic StringgetUserInfo(String urlstr) protected URLConnectionstatic voidregister()Methods inherited from class java.net.URLStreamHandler
equals, getDefaultPort, getHostAddress, hashCode, hostsEqual, openConnection, parseURL, sameFile, setURL, setURL, toExternalForm
-
Constructor Details
-
RTSPURL
public RTSPURL()
-
-
Method Details
-
register
public static void register() -
createURLStreamHandler
- Specified by:
createURLStreamHandlerin interfaceURLStreamHandlerFactory
-
openConnection
- Specified by:
openConnectionin classURLStreamHandler- Throws:
IOException
-
cleanURL
-
getUserInfo
-
getHost
-
getPort
-