public class CdMrl extends Object implements Mrl
This class provides a fluent API for initialising the MRL, e.g.
String mrl = new CcdMrl().device("/dev/cdrom")
.track(3)
.value();
This will generate "cdda:///dev/cdrom/@3".
Note that vlc currently ignores the track number.
| Constructor and Description |
|---|
CdMrl() |
| Modifier and Type | Method and Description |
|---|---|
CdMrl |
device(String device)
Set the CD device.
|
CdMrl |
track(int track)
Set the track number.
|
String |
value()
Get the media resource locator value
|
Copyright © 2009–2015 Caprica Software Limited. All rights reserved.