net.jxta.impl.endpoint
Class EndpointUtils
java.lang.Object
net.jxta.impl.endpoint.EndpointUtils
public final class EndpointUtils
- extends Object
Utility functions related to the Endpoint Service.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EndpointUtils
public EndpointUtils()
extractRouteAdv
public static RouteAdvertisement extractRouteAdv(PeerAdvertisement adv)
- Extracts a route advertisement from a peer advertisement.
- Parameters:
adv
- The peer advertisement believed to contain a route advertisement.
- Returns:
- The extracted route advertisement or
null
if a route
advertisement could not be extracted.