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) |
BaseDvdMrl |
chapter(int chapter) |
BaseDvdMrl |
device(String device) |
BaseDvdMrl |
title(int title) |
BaseDvdMrl |
type(String type) |
String |
value()
Get the media resource locator value
|
public final BaseDvdMrl type(String type)
type - public final BaseDvdMrl device(String device)
device - public final BaseDvdMrl title(int title)
title - public final BaseDvdMrl chapter(int chapter)
chapter - public final BaseDvdMrl angle(int angle)
angle - Copyright © 2009-2012 Caprica Software Limited. All Rights Reserved.