Package net.mcreator.util
Class FilenameUtilsPatched
java.lang.Object
net.mcreator.util.FilenameUtilsPatched
Based on FilenameUtils from Apache Commons IO, but without Windows : separator check
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
getBaseName
(String fileName) static String
getExtension
(String fileName) static String
static int
indexOfExtension
(String fileName) static String
removeExtension
(String fileName)
-
Field Details
-
EXTENSION_SEPARATOR
public static final char EXTENSION_SEPARATOR- See Also:
-
-
Constructor Details
-
FilenameUtilsPatched
public FilenameUtilsPatched()
-
-
Method Details
-
getExtension
- Throws:
IllegalArgumentException
-
indexOfExtension
- Throws:
IllegalArgumentException
-
getBaseName
-
removeExtension
-
getName
-