Code example for Splitter

Methods: split

0
  } 
 
  public static String dirnameToValueString(String name) {
    try { 
      return URLDecoder.decode(
          Iterables.getLast(PART_SEP.split(name)), "UTF-8");
    } catch (UnsupportedEncodingException e) {
      throw new AssertionError("Unable to find UTF-8 encoding.");
    } 
  } 
} 
Experience pair programming with AI  Get Codota for Java