Here you can find the source of inetAddressFromThriftString(String ipAddress)
public static InetAddress inetAddressFromThriftString(String ipAddress) throws UnknownHostException
//package com.java2s; //License from project: Apache License import java.net.InetAddress; import java.net.UnknownHostException; public class Main { public static InetAddress inetAddressFromThriftString(String ipAddress) throws UnknownHostException { return InetAddress.getByName(ipAddress); }/*from w w w . ja v a2 s . co m*/ }