FileDocCategorySizeDatePackage
DataSource.javaAPI DocFobs4JMF API 0.4.11913Wed Jan 10 11:10:50 GMT 2007com.omnividea.media.protocol.http

DataSource

public class DataSource extends DataSource implements Positionable
Changelong: 2005-08-18: Jose San Pedro Wandelmer Initial version

Fields Summary
private String
urlString
Constructors Summary
public DataSource()


      
        super();
    
public DataSource(MediaLocator ml)

        super (ml);
        setLocator(ml);
    
Methods Summary
public java.lang.StringgetUrlName()

      return urlString;
    
public voidsetLocator(javax.media.MediaLocator ml)

        super.setLocator (ml);
        try {
            urlString = ml.toString(); //Old version
			System.out.println("HTTP source: "+urlString);
        }
        catch (Exception e) {
            System.out.println ("Bad URL: " + ml);
        }