Package org.javacord.core.util.io
Class FileUtils
- java.lang.Object
-
- org.javacord.core.util.io.FileUtils
-
public class FileUtils extends Object
Some utilities for files.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String
getExtension(File file)
Gets the extension of the given file or"png"
if the file has no extension.static String
getExtension(String fileName)
Gets the extension of the given file name or"png"
if the file name has no extension.
-