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 void
finalize()
int
free()
Release the network filter handle.java.lang.String
getName()
Gets the public name for this network filterint[]
getUUID()
Get the UUID for this network filter.java.lang.String
getUUIDString()
Gets the UUID for this network filter as string.java.lang.String
getXMLDesc()
Fetches an XML document describing attributes of the network filter.void
undefine()
undefine the network filter
-
-
-
Constructor Detail
-
NetworkFilter
public NetworkFilter(Connect virConnect, NetworkFilterPointer nfp)
-
-
Method Detail
-
finalize
protected void finalize() throws LibvirtException
- Overrides:
finalize
in classjava.lang.Object
- Throws:
LibvirtException
-
free
public int free() throws LibvirtException
Release the network filter handle. The underlying snapshot continues to exist.- Returns:
- ignore (always 0)
- Throws:
LibvirtException
-
getName
public java.lang.String getName() throws LibvirtException
Gets the public name for this network filter- Returns:
- the name
- Throws:
LibvirtException
-
getUUID
public int[] getUUID() throws LibvirtException
Get 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 LibvirtException
Gets 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 LibvirtException
Fetches an XML document describing attributes of the network filter.- Returns:
- the XML document
- Throws:
LibvirtException
- See Also:
- Libvirt Documentation
-
undefine
public void undefine() throws LibvirtException
undefine the network filter- Throws:
LibvirtException
-
-