uk.co.caprica.vlcj.mrl
Class FileMrl

java.lang.Object
  extended by uk.co.caprica.vlcj.mrl.FileMrl
All Implemented Interfaces:
Mrl

public class FileMrl
extends java.lang.Object
implements Mrl

Implementation for a file MRL.

This class provides a fluent API for initialising the MRL, e.g.

 String mrl = new FileMrl().file("the-file.mp4")
                           .value();
 
This will generate "file://the-file.mp4".


Constructor Summary
FileMrl()
           
 
Method Summary
 FileMrl file(java.lang.String file)
           
 java.lang.String value()
          Get the media resource locator value
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileMrl

public FileMrl()
Method Detail

file

public FileMrl file(java.lang.String file)
Parameters:
file -
Returns:

value

public java.lang.String value()
Description copied from interface: Mrl
Get the media resource locator value

Specified by:
value in interface Mrl
Returns:
media resource locator

(C)2010 Caprica Software Limited