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

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

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

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

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

فونت

اندازه قلم

+ - پیش فرض

حالت نمایش

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


TextOutputCallbackjavax.security.auth.callback

Java 1.4serializable

A
Callback of this type
represents a request to display text to the user. A callback handler
should call getMessage(
) and
display the returned string to the user. It should also call
getMessageType( ) and use the returned value
(which is one of the constants defined by the class) to indicate the
type or severity of the information.


Figure 19-12. javax.security.auth.callback.TextOutputCallback

public class

TextOutputCallback implements Callback, Serializable {
// Public Constructors
public

TextOutputCallback (int

messageType , String

message );
// Public Constants
public static final int

ERROR ; =2
public static final int

INFORMATION ; =0
public static final int

WARNING ; =1
// Public Instance Methods
public String

getMessage ( );
public int

getMessageType ( );
}



    / 1191