Package net.sf.fmj.test.compat.misc

Source Code of net.sf.fmj.test.compat.misc.MediaLocatorTest

package net.sf.fmj.test.compat.misc;

import java.io.File;
import java.net.MalformedURLException;

import javax.media.MediaLocator;

import junit.framework.TestCase;

public class MediaLocatorTest extends TestCase
{

  public void testMediaLocator() throws MalformedURLException
  {
    File f = new File("test.txt");
    System.out.println(f.toURI());
    System.out.println(f.toURI().toURL());
    MediaLocator l = new MediaLocator(f.toURI().toURL());
   
  }
}
TOP

Related Classes of net.sf.fmj.test.compat.misc.MediaLocatorTest

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.