/** * Gets the prefix. * * @param file the file * @return the prefix */ public static String getPrefix(File file) { return JMString.getPrefixOfFileName(file.getName()); }
/** * Gets the prefix suffix. * * @param file the file * @return the prefix suffix */ public static String[] getPrefixSuffix(File file) { return JMString.splitFileNameIntoPreSuffix(file.getName()); }
/** * Gets the extension. * * @param file the file * @return the extension */ public static String getExtension(File file) { return JMString.getExtension(file.getName()); }