Class NetworkUtils
java.lang.Object
com.michelin.cert.redscan.utils.network.NetworkUtils
Network utils class.
- Author:
- Maxime ESCOURBIAC
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanTest if the domain link to internal address.static booleanisLocalhost(String domain) Test if the domain link to localhost.
-
Constructor Details
-
NetworkUtils
public NetworkUtils()
-
-
Method Details
-
isLocalhost
Test if the domain link to localhost.- Parameters:
domain- Domain to verify.- Returns:
- True if the domain link to localhost.
-
isLocal
Test if the domain link to internal address.- Parameters:
domain- Domain to verify.- Returns:
- True if the domain link to internal address.
-