Package org.libvirt
Class NetworkFilter
- java.lang.Object
-
- org.libvirt.NetworkFilter
-
public class NetworkFilter extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description NetworkFilter(Connect virConnect, NetworkFilterPointer nfp)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidfinalize()intfree()Release the network filter handle.java.lang.StringgetName()Gets the public name for this network filterint[]getUUID()Get the UUID for this network filter.java.lang.StringgetUUIDString()Gets the UUID for this network filter as string.java.lang.StringgetXMLDesc()Fetches an XML document describing attributes of the network filter.voidundefine()undefine the network filter
-
-
-
Constructor Detail
-
NetworkFilter
public NetworkFilter(Connect virConnect, NetworkFilterPointer nfp)
-
-
Method Detail
-
finalize
protected void finalize() throws LibvirtException- Overrides:
finalizein classjava.lang.Object- Throws:
LibvirtException
-
free
public int free() throws LibvirtExceptionRelease the network filter handle. The underlying snapshot continues to exist.- Returns:
- ignore (always 0)
- Throws:
LibvirtException
-
getName
public java.lang.String getName() throws LibvirtExceptionGets the public name for this network filter- Returns:
- the name
- Throws:
LibvirtException
-
getUUID
public int[] getUUID() throws LibvirtExceptionGet the UUID for this network filter.- Returns:
- the UUID as an unpacked int array
- Throws:
LibvirtException- See Also:
- rfc4122
-
getUUIDString
public java.lang.String getUUIDString() throws LibvirtExceptionGets the UUID for this network filter as string.- Returns:
- the UUID in canonical String format
- Throws:
LibvirtException- See Also:
- rfc4122
-
getXMLDesc
public java.lang.String getXMLDesc() throws LibvirtExceptionFetches an XML document describing attributes of the network filter.- Returns:
- the XML document
- Throws:
LibvirtException- See Also:
- Libvirt Documentation
-
undefine
public void undefine() throws LibvirtExceptionundefine the network filter- Throws:
LibvirtException
-
-