public class IOInfo
extends java.lang.Object
| Constructor and Description |
|---|
IOInfo() |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
getFileExtension(java.lang.String absolutePath)
Returns the extension of file(without (.)) for example (ai.mp3)->(mp3)
and to lowercase (Mp3 -> mp3)
|
static java.lang.String |
getFileName(java.lang.String absolutePath)
Returns the name of the file for example if file path is (C:/Give me
more/no no/media.ogg) it returns (media.ogg)
|
static java.lang.String |
getFileTitle(java.lang.String absolutePath)
Returns the title of the file for example if file name is (club.mp3)
it returns (club)
|
public static java.lang.String getFileExtension(java.lang.String absolutePath)
absolutePath - The File absolute pathpublic static java.lang.String getFileName(java.lang.String absolutePath)
absolutePath - the pathpublic static java.lang.String getFileTitle(java.lang.String absolutePath)
absolutePath - The File absolute pathCopyright © 2019. All rights reserved.