Android Utililty Methods Path Create

List of utility methods to do Path Create

Description

The list of methods to do Path Create are organized into topic(s).

Method

StringgetNameAppendStr(String path, String Str)
get Name Append Str
int i = path.lastIndexOf(".");
if (i == -1 || i == 0)
    return path + Str;
return path.substring(0, i) + Str
        + path.substring(i, path.length());
StringgetParentNameofPath(String path)
get Parent Nameof Path
if (path.equals("/")) {
    return null;
if (path.endsWith("/")) {
    path = path.substring(0, path.length() - 1);
int index = path.lastIndexOf('/');
if (path.length() == 1) {
...