Searched refs:lastSeparator (Results 1 – 2 of 2) sorted by relevance
225 int lastSeparator = fileName.lastIndexOf(SEPARATOR); in getFileId() local226 if (!fileName.endsWith(".ts") || lastSeparator == -1) { in getFileId()230 return Integer.parseInt(fileName.substring(lastSeparator + 1, fileName.length() - 3)); in getFileId()
585 int lastSeparator = indexOfLastSeparator(filename); in indexOfExtension() local586 return (lastSeparator > extensionPos ? -1 : extensionPos); in indexOfExtension()