Lines Matching defs:contentType
1292 String contentType = stripOffParameters(getContentType());
1293 if (contentType == null) {
1297 ContentHandler handler = handlers.get(contentType);
1302 handler = factory.createContentHandler(contentType);
1307 handler = lookupContentHandlerViaProvider(contentType);
1310 ContentHandler h = handlers.putIfAbsent(contentType, handler);
1315 handler = lookupContentHandlerClassFor(contentType);
1323 ContentHandler h = handlers.putIfAbsent(contentType, handler);
1332 private String stripOffParameters(String contentType)
1334 if (contentType == null)
1336 int index = contentType.indexOf(';');
1339 return contentType.substring(0, index);
1341 return contentType;
1359 private ContentHandler lookupContentHandlerClassFor(String contentType) {
1360 String contentHandlerClassName = typeToPackageName(contentType);
1392 private ContentHandler lookupContentHandlerViaProvider(String contentType) {
1414 handler = f.createContentHandler(contentType);
1429 private String typeToPackageName(String contentType) {
1431 contentType = contentType.toLowerCase();
1432 int len = contentType.length();
1434 contentType.getChars(0, len, nm, 0);