public abstract class BaseDvdMrl extends Object implements Mrl
This class provides a fluent API for initialising the MRL, e.g.
String mrl = new BaseDvdMrl().type("dvdsimple").
.device("/media/dvd")
.title(0)
.chapter(3)
.angle(1)
.value();
This will generate "dvdsimple:///media/dvd/@dev/cdrom#0:3:1".| Constructor and Description |
|---|
BaseDvdMrl() |
| Modifier and Type | Method and Description |
|---|---|
BaseDvdMrl |
angle(int angle)
Set the camera angle.
|
BaseDvdMrl |
chapter(int chapter)
Set the chapter number.
|
BaseDvdMrl |
device(String device)
Set the DVD device.
|
BaseDvdMrl |
title(int title)
Set the DVD title number.
|
BaseDvdMrl |
type(String type)
Set the DVD access type.
|
String |
value()
Get the media resource locator value
|
public final BaseDvdMrl type(String type)
type - type, e.g. dvd or dvdsimplepublic final BaseDvdMrl device(String device)
device - DVD devicepublic final BaseDvdMrl title(int title)
title - DVD title numberpublic final BaseDvdMrl chapter(int chapter)
chapter - chapter numberpublic final BaseDvdMrl angle(int angle)
angle - camera angleCopyright © 2009–2015 Caprica Software Limited. All rights reserved.