Lines Matching refs:mimeType
73 * @return True if the {@code mimeType} matches the {@code filter}.
75 public static boolean matches(@Nullable String mimeType, @NonNull String filter) {
76 if (mimeType == null) {
80 final String[] mimeTypeParts = mimeType.split("/");
91 @Nullable String mimeType, @NonNull String[] filters) {
92 if (mimeType == null) {
96 final String[] mimeTypeParts = mimeType.split("/");
118 for (String mimeType : mimeTypes) {
119 final String[] mimeTypeParts = mimeType.split("/");
121 return mimeType;
140 for (String mimeType : mimeTypes) {
141 final String[] mimeTypeParts = mimeType.split("/");
143 list.add(mimeType);