|
Java DTV API 1.3 18-Nov-2009 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.dtv.broadcast.BroadcastFilesystem
public class BroadcastFilesystem
This class represents instances of broadcast filesystems mounted into the local filesystem. That means every service transmitting a broadcast filesystem creates its own filesystem, depending on the definition of the transport stream.
Constructor Summary | |
---|---|
BroadcastFilesystem(Locator l)
Create and mount a broadcast filesystem defined by the given transport dependent locator. |
|
BroadcastFilesystem(URL url)
Create and mount a broadcast filesystem defined by the given URL. |
Method Summary | |
---|---|
static BroadcastFile |
getBroadcastRoot()
Retrieves the system specific root mount point of all broadcast filesystems in the local filesystem. |
static String |
getBroadcastRootPath()
Retrieves the system specific root mount point of all broadcast filesystems in the local filesystem. |
BroadcastFile |
getMountLocation()
Retrieve the root of this mounted broadcast filesystem. |
void |
unmount()
Unmount this broadcast filesystem from the local filesystem. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BroadcastFilesystem(Locator l) throws IOException, IllegalArgumentException
l
- the locator of the broadcast filesystem to be mounted
IOException
- if no broadcast filesystem exists at
the given location.
IllegalArgumentException
- if the given locator
cannot be used to identify a broadcast filesystem.public BroadcastFilesystem(URL url) throws IOException, IllegalArgumentException
url
- the URL of the broadcast filesystem to be mounted
IOException
- if no broadcast filesystem exists at the given location
IllegalArgumentException
- if the given URL can't be used to identify a broadcast filesystemMethod Detail |
---|
public void unmount()
public BroadcastFile getMountLocation() throws IOException
IOException
- thrown if the filesystem is unmounted.public static BroadcastFile getBroadcastRoot()
BroadcastFile.listDirectory()
.
public static String getBroadcastRootPath()
|
Java DTV API 1.3 18-Nov-2009 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |