public class NetworkInterfaceBoundMediaLocator extends MediaLocator
JMF players constructed using instances of this class shall only use the specified network interface. If the media referenced by that media locator is not available via that network interface, the JMF player shall behave as if the media is not available at all, even if it is in fact available by another network interface.
| Constructor and Description |
|---|
NetworkInterfaceBoundMediaLocator(MediaLocator locator,
NetworkInterface ni)
Construct an instance of this class
|
| Modifier and Type | Method and Description |
|---|---|
NetworkInterface |
getNetworkInterface()
Return the network interface aspect of this MediaLocator
|
getProtocol, getRemainder, getURL, toExternalForm, toStringpublic NetworkInterfaceBoundMediaLocator(MediaLocator locator, NetworkInterface ni)
locator - the MediaLocator to be combined with a NetworkInterfaceni - a NetworkInterfacepublic NetworkInterface getNetworkInterface()
Copyright © 2012 code4tv.com. All Rights Reserved.