| getProperties() | ใช้คืนค่า value จาก Properties ที่มี key ตามที่กำหนด |
|---|
method:getProperties ( object_string_key );
return type:Object
content:ใช้คืนค่า value จาก Properties ที่มี key ตามที่กำหนด
example:Properties properties = new Properties (); properties.put ( "bamboo", "ไม้ไผ่" ); properties.put ( "lab", "ห้องปฏิบัติการ" ); properties.put ( "code", "รหัส" ); System.out.println ( properties.get ( "bamboo" ) );