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