Searched refs:lastDot (Results 1 – 6 of 6) sorted by relevance
275 int lastDot = path.lastIndexOf('.'); in getFileType() local276 if (lastDot < 0) in getFileType()278 return sFileTypeMap.get(path.substring(lastDot + 1).toUpperCase(Locale.ROOT)); in getFileType()298 int lastDot = path.lastIndexOf('.'); in getFileTitle() local299 if (lastDot > 0) { in getFileTitle()300 path = path.substring(0, lastDot); in getFileTitle()322 int lastDot = fileName.lastIndexOf('.'); in getFormatCode() local323 if (lastDot > 0) { in getFormatCode()324 String extension = fileName.substring(lastDot + 1).toUpperCase(Locale.ROOT); in getFormatCode()
1805 int lastDot = path.lastIndexOf('.');1806 name = (lastDot < 0 ? path.substring(lastSlash + 1)1807 : path.substring(lastSlash + 1, lastDot));
146 final int lastDot = name.lastIndexOf('.'); in getTypeForName() local147 if (lastDot >= 0) { in getTypeForName()148 final String extension = name.substring(lastDot + 1).toLowerCase(); in getTypeForName()
468 final int lastDot = name.lastIndexOf('.');469 if (lastDot >= 0) {470 final String extension = name.substring(lastDot + 1).toLowerCase();485 final int lastDot = name.lastIndexOf('.');486 if (lastDot >= 0) {487 final String extension = name.substring(lastDot + 1).toLowerCase();490 return name.substring(0, lastDot);
453 final int lastDot = file.getName().lastIndexOf('.'); in getType() local454 if (lastDot >= 0) { in getType()455 final String extension = file.getName().substring(lastDot + 1); in getType()
9958 final int lastDot = name.lastIndexOf('.'); in deriveCodePathName() local9959 return name.substring(0, lastDot); in deriveCodePathName()