@Test public void testStripSequenceNumberBlank() { assertEquals(" ", FileUtil.stripSequenceNumber(" ")); }
public static String stripSequenceNumber(String name) { if (isBlank(name) || !Character.isDigit(name.charAt(name.length()-1))) { return name; } return stripSequenceNumber(name.substring(0, name.length()-1)); }
FileUtil extends au.gov.ga.worldwind.common.util.FileUtil { public static String stripSequenceNumber(String name) { if (isBlank(name) || !Character.isDigit(name.charAt(name.length()-1))) { return name; } return stripSequenceNumber(name.substring(0, name.length()-1)); } }
FileUtil extends au.gov.ga.worldwind.common.util.FileUtil { public static String stripSequenceNumber(String name) { if (isBlank(name) || !Character.isDigit(name.charAt(name.length()-1))) { return name; } return stripSequenceNumber(name.substring(0, name.length()-1)); }  }
FileUtil extends au.gov.ga.worldwind.common.util.FileUtil { public static String stripSequenceNumber(String name) { if (isBlank(name) || !Character.isDigit(name.charAt(name.length()-1))) { return name; } return stripSequenceNumber(name.substring(0, name.length()-1)); }  static String readFileAsString(File file); static void writeStringToFile(String string, File file); static String paddedInt(int value, int charcount); static String createSequenceFileName(String prefix, int sequenceNumber, int padTo, String suffix); static String stripSequenceNumber(String name); }
FileUtil extends au.gov.ga.worldwind.common.util.FileUtil { public static String stripSequenceNumber(String name) { if (isBlank(name) || !Character.isDigit(name.charAt(name.length()-1))) { return name; } return stripSequenceNumber(name.substring(0, name.length()-1)); }  static String readFileAsString(File file); static void writeStringToFile(String string, File file); static String paddedInt(int value, int charcount); static String createSequenceFileName(String prefix, int sequenceNumber, int padTo, String suffix); static String stripSequenceNumber(String name);  }