Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

What are content handlers and why should I care?

content handlers
0
Posted

What are content handlers and why should I care?

0

Apparently, there are no content handlers defined in the Java spec. The JDK from sun provides Content handlers as Java’s way to add functionality to the URL class. By adding content handlers, the URL class can be made to return various MIME types as objects with the getContent method. With the proper content handlers in place, downloading GIFs, JPEGs, MPEGs, and Postscript documents, to name a few, is just a single method call.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.