Java in a Nutshell, 5th Edition [Electronic resources] نسخه متنی

اینجــــا یک کتابخانه دیجیتالی است

با بیش از 100000 منبع الکترونیکی رایگان به زبان فارسی ، عربی و انگلیسی

Java in a Nutshell, 5th Edition [Electronic resources] - نسخه متنی

| نمايش فراداده ، افزودن یک نقد و بررسی
افزودن به کتابخانه شخصی
ارسال به دوستان
جستجو در متن کتاب
بیشتر
تنظیمات قلم

فونت

اندازه قلم

+ - پیش فرض

حالت نمایش

روز نیمروز شب
جستجو در لغت نامه
بیشتر
لیست موضوعات
توضیحات
افزودن یادداشت جدید


ContentHandlerjava.net

Java 1.0

This abstract class defines a method that
reads data from a URLConnection and returns an
object that represents that data. Each subclass that implements this
method is responsible for handling a different type of content (i.e.,
a different MIME type). Applications never create
ContentHandler objects directly; they are created,
when necessary, by the registered
ContentHandlerFactory object. Applications should
also never call ContentHandler methods directly;
they should call URL.getContent(
) or URLConnection.getContent(
)
instead. You need to subclass ContentHandler only
if you are writing a web browser or similar application that needs to
parse and understand some new content type.

public abstract class

ContentHandler {
// Public Constructors
public

ContentHandler ( );
// Public Instance Methods
public abstract Object

getContent (URLConnection

urlc )
throws java.io.IOException;

1.3 public Object

getContent (URLConnection

urlc , Class[ ]

classes )
throws java.io.IOException;
}


Returned By


ContentHandlerFactory.createContentHandler( )


    / 1191