Searched refs:extension (Results 1 – 9 of 9) sorted by relevance
56 appendQuoted(extension,toAddTo); in appendQuotedExtension()102 return extension; in getExtension()144 if (showExtension && extension.length() != 0) { in addToBuffer()146 appendQuoted(extension,toAddTo); in addToBuffer()190 StringBuffer extension) in PatternEntry() argument194 this.extension = (extension.length() > 0) ? extension.toString() in PatternEntry()305 String extension = ""; field in PatternEntry
95 if (entry.extension.length() != 0) { in getPattern()125 if (entry.extension.length() == 0) { in findLastWithNoExtension()243 && newEntry.extension.equals(lastEntry.extension)) { in fixEntry()284 newEntry.extension = excess + newEntry.extension; in fixEntry()
220 for (String extension : extensions) { in localeFromIcuLocaleId()222 if (extension.startsWith("attribute=")) { in localeFromIcuLocaleId()223 String unicodeAttributeValues = extension.substring("attribute=".length()); in localeFromIcuLocaleId()228 final int separatorIndex = extension.indexOf('='); in localeFromIcuLocaleId()232 final String value = extension.substring(2); in localeFromIcuLocaleId()233 final char extensionId = extension.charAt(0); in localeFromIcuLocaleId()238 unicodeKeywordsMap.put(extension.substring(0, separatorIndex), in localeFromIcuLocaleId()239 extension.substring(separatorIndex + 1)); in localeFromIcuLocaleId()264 for (Entry<Character, String> extension : extensionsMap.entrySet()) { in localeFromIcuLocaleId()265 builder.setExtension(extension.getKey(), extension.getValue()); in localeFromIcuLocaleId()
116 public final boolean hasExtension(@Nullable String extension) { in hasExtension() argument117 return guessMimeTypeFromExtension(extension) != null; in hasExtension()129 public final @Nullable String guessMimeTypeFromExtension(@Nullable String extension) { in guessMimeTypeFromExtension() argument130 if (extension == null) { in guessMimeTypeFromExtension()133 extension = toLowerCase(extension); in guessMimeTypeFromExtension()134 return extToMime.get(extension); in guessMimeTypeFromExtension()
199 Extension extension = entry.getValue(); in toID() local201 privuse = extension; in toID()206 buf.append(extension); in toID()
736 for (String extension : extensions) { in toString()737 sb.append(SEP).append(extension); in toString()
19 * file type based on its file extension.
87 for (String extension : mimeMap.extensions()) { in caseNormalization_value()88 assertLowerCase(mimeMap.guessMimeTypeFromExtension(extension)); in caseNormalization_value()