Searched refs:lastDot (Results 1 – 10 of 10) sorted by relevance
310 int lastDot = path.lastIndexOf('.'); in getFileType() local311 if (lastDot < 0) in getFileType()313 return sFileTypeMap.get(path.substring(lastDot + 1).toUpperCase(Locale.ROOT)); in getFileType()333 int lastDot = path.lastIndexOf('.'); in getFileTitle() local334 if (lastDot > 0) { in getFileTitle()335 path = path.substring(0, lastDot); in getFileTitle()357 int lastDot = fileName.lastIndexOf('.'); in getFormatCode() local358 if (lastDot > 0) { in getFormatCode()359 String extension = fileName.substring(lastDot + 1).toUpperCase(Locale.ROOT); in getFormatCode()
1880 int lastDot = path.lastIndexOf('.');1881 name = (lastDot < 0 ? path.substring(lastSlash + 1)1882 : 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()
651 final int lastDot = displayName.lastIndexOf('.'); in buildUniqueFile() local652 if (lastDot >= 0) { in buildUniqueFile()653 name = displayName.substring(0, lastDot); in buildUniqueFile()654 ext = displayName.substring(lastDot + 1); in buildUniqueFile()680 final int lastDot = displayName.lastIndexOf('.'); in splitFileName() local681 if (lastDot >= 0) { in splitFileName()682 name = displayName.substring(0, lastDot); in splitFileName()683 ext = displayName.substring(lastDot + 1); in splitFileName()
153 final int lastDot = name.lastIndexOf('.'); in getTypeForName() local154 if (lastDot >= 0) { in getTypeForName()155 final String extension = name.substring(lastDot + 1).toLowerCase(); in getTypeForName()
168 int lastDot = className.lastIndexOf('.'); in getTypeElement() local169 TypeElement parent = getTypeElement(className.substring(0, lastDot), imports); in getTypeElement()173 String name = parent.getQualifiedName() + "." + className.substring(lastDot + 1); in getTypeElement()
476 final int lastDot = file.getName().lastIndexOf('.'); in getType() local477 if (lastDot >= 0) { in getType()478 final String extension = file.getName().substring(lastDot + 1); in getType()
527 final int lastDot = entry.getName().lastIndexOf('.'); in getMimeTypeForEntry() local528 if (lastDot >= 0) { in getMimeTypeForEntry()529 final String extension = entry.getName().substring(lastDot + 1).toLowerCase(Locale.US); in getMimeTypeForEntry()
701 final int lastDot = name.lastIndexOf('.');702 if (lastDot >= 0) {703 final String extension = name.substring(lastDot + 1).toLowerCase();
14146 final int lastDot = name.lastIndexOf('.'); in deriveCodePathName() local14147 return name.substring(0, lastDot); in deriveCodePathName()