Package com.mindee.input
Class InputSourceUtils
- java.lang.Object
-
- com.mindee.input.InputSourceUtils
-
public class InputSourceUtils extends Object
Utilities for working with files.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StringgetFileExtension(String fileName)Returns the file's extension.static String[]splitNameStrict(String filename)Split the filename into a name and an extension.
-
-
-
Method Detail
-
getFileExtension
public static String getFileExtension(String fileName)
Returns the file's extension.
-
splitNameStrict
public static String[] splitNameStrict(String filename) throws MindeeException
Split the filename into a name and an extension.- Parameters:
filename- the filename to split.- Returns:
- first element is name, second is extension.
- Throws:
MindeeException
-
-