javax.media
Class MediaLocator

java.lang.Object
  extended by 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

Constructor Summary
MediaLocator(java.lang.String locatorString)
           
MediaLocator(java.net.URL url)
           
 
Method Summary
 java.lang.String getProtocol()
           
 java.lang.String getRemainder()
           
 java.net.URL getURL()
           
 java.lang.String toExternalForm()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MediaLocator

public MediaLocator(java.net.URL url)

MediaLocator

public MediaLocator(java.lang.String locatorString)
Method Detail

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()