76777879808182
public DefaultParser(ClassLoader loader) { this(MediaTypeRegistry.getDefaultRegistry(), new ServiceLoader(loader)); } public DefaultParser(MediaTypeRegistry registry) { this(registry, new ServiceLoader()); }
80818283848586
public DefaultDetector(MimeTypes types, ServiceLoader loader) { super(types.getMediaTypeRegistry(), getDefaultDetectors(types, loader)); } public DefaultDetector(MimeTypes types, ClassLoader loader) { this(types, new ServiceLoader(loader)); }
88899091929394
public DefaultDetector(ClassLoader loader) { this(MimeTypes.getDefaultMimeTypes(), loader); } public DefaultDetector(MimeTypes types) { this(types, new ServiceLoader()); }
46474849505152
private DefaultDetector(MimeTypes types, ServiceLoader loader) { super(types.getMediaTypeRegistry(), getDefaultDetectors(types, loader)); } public DefaultDetector(MimeTypes types, ClassLoader loader) { this(types, new ServiceLoader(loader)); }
54555657585960
36373839404142
super(new MediaTypeRegistry(), loader.loadServiceProviders(Parser.class)); } public DefaultParser(ClassLoader loader) { this(new ServiceLoader(loader)); }
40414243444546
public DefaultParser(ClassLoader loader) { this(new ServiceLoader(loader)); } public DefaultParser() { this(new ServiceLoader()); }