|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Address
The Address interface serves as a base class for all SNMP
transport addresses.
Note: This class should be moved to package org.snmp4j
in SNMP4J 2.0.
| Method Summary | |
|---|---|
boolean |
isValid()
Checks whether this Address is a valid transport address. |
boolean |
parseAddress(java.lang.String address)
Parses the address from the supplied string representation. |
void |
setValue(java.lang.String address)
Sets the address value from the supplied String. |
| Methods inherited from interface java.lang.Comparable |
|---|
compareTo |
| Method Detail |
|---|
boolean isValid()
Address is a valid transport address.
true if the address is valid, false otherwise.boolean parseAddress(java.lang.String address)
address - a String representation of this address.
true if address could be successfully
parsed and has been assigned to this address object, false
otherwise.void setValue(java.lang.String address)
IllegalArgumentException runtime exception is thrown.
setValue in interface AssignableFromStringaddress - an address String.
|
Copyright 2003-2009 Frank Fock and Jochen Katz (SNMP4J.org) | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||