Code example for Splitter

Methods: split

0
    // this could check that the field name matches the directory name 
    return Conversions.convert(valueStringForDirname(name), field.getType());
  } 
 
  public String valueStringForDirname(String name) {
    return Iterables.getLast(PART_SEP.split(name));
  } 
} 
Connect your IDE to all the code out there  Get Codota for Java