|
Oracle® Information Rights Management Server Java API Reference 11g Release 1 (11.1.1) E12907-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface NetworkAdapter
Network adapter. Represents information about a network card/adapter.
Instances of Network Adapter objects can be created using the following factory style method(s).
NetworkAdapter object = createNetworkAdapter
(
macAddress,
ipAddresses);
Collections for NetworkAdapter
objects can be created using the following factory method. This method creates the most appropriate collection implementation class for storing NetworkAdapter
elements.
Collection
<NetworkAdapter
> object =createNetworkAdapters
();
Network Adapter instances can be serialized as an XML document. This XML document can also be used to recreate a Network Adapter object. The following XML document shows an example Network Adapter in XML form.
<?xml version="1.0" encoding="UTF-8"?>
<core:NetworkAdapter xmlns:core="http://xmlns.oracle.com/irm/core">
<macAddress>01-23-45-67-89-ab</macAddress>
<ipAddresses>192.168.0.1</ipAddresses>
<ipAddresses>192.168.0.2</ipAddresses>
</core:NetworkAdapter>
Method Summary | |
---|---|
String[] |
getIpAddresses() IP Address(es). |
String |
getMacAddress() MAC address. |
Method Detail |
---|
String getMacAddress()
String[] getIpAddresses()
|
Oracle® Information Rights Management Server Java API Reference 11g Release 1 (11.1.1) E12907-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |