javax.media
Class MediaLocator
java.lang.Object
javax.media.MediaLocator
- All Implemented Interfaces:
- java.io.Serializable
public class MediaLocator
- extends java.lang.Object
- implements java.io.Serializable
Standard JMF class -- see this class in the JMF Javadoc.
Coding complete.
- Author:
- Ken Larson
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
MediaLocator
public MediaLocator(java.net.URL url)
MediaLocator
public MediaLocator(java.lang.String locatorString)
getURL
public java.net.URL getURL()
throws java.net.MalformedURLException
- Throws:
java.net.MalformedURLException
getProtocol
public java.lang.String getProtocol()
getRemainder
public java.lang.String getRemainder()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
toExternalForm
public java.lang.String toExternalForm()