Android Utililty Methods File Name Get

List of utility methods to do File Name Get

Description

The list of methods to do File Name Get are organized into topic(s).

Method

StringgetFileName(String fileName)
Recebe o nome do arquivo e retorna seu conteudo, removendo a extensao: teste.txt -> teste arquivo para rename -> arquivo para rename outro_teste.comPonto.xls -> outro_teste.comPonto
StringgetFileName(String filePath)
get File Name
StringgetFileName(String path)
Return the filename component of the provided string path, if one exists.
StringgetRandomFileName(String prefix, String suffix)
Creates a file name with a random integer number inserted between the prefix and suffix
StringparseFileName(String path)
Returns the filename or last name in the path.