uk.co.caprica.vlcj.mrl
Class VcdMrl

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

public class VcdMrl
extends java.lang.Object
implements Mrl

Implementation of a media resource locator for Video CDs.

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

 String mrl = new VcdMrl().device("/media/dvd")
                          .startingPosition("S")
                          .number(1)
                          .value();
 
This will generate "vcd:///media/vcd/@S1".


Constructor Summary
VcdMrl()
           
 
Method Summary
 VcdMrl device(java.lang.String device)
           
 VcdMrl number(int number)
           
 VcdMrl startingPosition(java.lang.String startingPosition)
           
 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

VcdMrl

public VcdMrl()
Method Detail

device

public VcdMrl device(java.lang.String device)

startingPosition

public VcdMrl startingPosition(java.lang.String startingPosition)

number

public VcdMrl number(int number)

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