class FilepathUtils {

  public static String[] split(final String path) {
    if (null == path) {
      return null;
    }

    final String parent = getParentPath(path);
    final String filename = getFilename(path);
    final String name = FilenameUtils.stripExtension(filename);
    final String ext = FilenameUtils.getExtension(filename);

    return new String[] {parent, name, ext};
  }

}