| applyPattern() | ใช้กำหนดรูปแบบของข้อความที่ต้องการจัด ให้กับ Object MessageFormat |
|---|
method:applyPattern ( pattern );
return type:void
content:ใช้กำหนดรูปแบบของข้อความที่ต้องการจัด ให้กับ Object MessageFormat
example:String pattern = new String ( "{0}" ); MessageFormat message_format = new MessageFormat (); message_format.applyPattern ( pattern );