org.apache.hadoop.net.NetUtils
Description: JDiff is a Javadoc doclet which generates an HTML report of all the packages, classes, constructors, methods, and fields which have been removed, added or changed in any way, including their documentation, when two APIs are compared.
Keywords: diff, jdiff, javadiff, java diff, java difference, API difference, difference between two APIs, API diff, Javadoc, doclet

`hadoop 0.20.2-cdh3u5` | Overview | Package | Class | Statistics | Help
| Generated by JDiff
PREV CLASS NEXT CLASS FRAMES NO FRAMES | DETAIL: CONSTRUCTORS | METHODS | FIELDS

## Class org.apache.hadoop.net.`NetUtils`

Added Methods
`void` `connect`(`Socket,` SocketAddress, SocketAddress, int) | Like SocketAddres int)} but also takes a local address and port to bind the socket to.
`URI` `getCanonicalUri`(`URI,` int) | Resolve the uri's hostname and add the default port if not in the uri
`List` `getIPs`(`String,` boolean) | Return an InetAddress for each interface that matches the given subnet specified using CIDR notation.
`InetAddress` `getLocalInetAddress`(`String`) | Checks if {@code host} is a local host name and return InetAddress corresponding to that address.
`boolean` `isValidSubnet`(`String`) | @return true if the given string is a subnet specified using CIDR notation false otherwise
`InetSocketAddress` `makeSocketAddr`(`String,` int) | Create a socket address with the given host and port.

Changed Methods
`SocketInputWrapper` `getInputStream`(`Socket,` long) | Change in return type from `InputStream` to `SocketInputWrapper`. | Return a SocketInputWrapper for the socket and set the given timeout.

`hadoop 0.20.2-cdh3u5` | Overview | Package | Class | Statistics | Help
PREV CLASS NEXT CLASS FRAMES NO FRAMES |