public class FilenameExtensions extends Object
FilenameExtensions.| Constructor and Description |
|---|
FilenameExtensions() |
| Modifier and Type | Method and Description |
|---|---|
static String |
getFilenamePrefix(File file)
Gets the filename with the absolute path prefix.
|
static String |
getFilenameSuffix(File file)
Gets the filename suffix or null if no suffix exists or the given file object is a directory.
|
static String |
getFilenameWithoutExtension(File file)
Gets the filename without the extension or null if the given file object is a directory.
|
static String |
getFilenameWithoutExtension(String fileName)
Gets the filename without the extension or null if the given file object is a directory.
|
public static String getFilenamePrefix(File file)
file - the file.public static String getFilenameSuffix(File file)
file - the file.public static String getFilenameWithoutExtension(File file)
file - the file.public static String getFilenameWithoutExtension(String fileName)
fileName - the file.Copyright © 2015–2017 Alpha Ro Group UG (haftungsbeschrÀngt). All rights reserved.