|
JavaTM 2 Platform Std. Ed. v1. 4.0 |
||||||||||
ÀüÀÇ Å¬·¡½º ´ÙÀ½ÀÇ Å¬·¡½º | ÇÁ·¹ÀÓ ÀÖ¾î ÇÁ·¹ÀÓ ¾øÀ½ | ||||||||||
°³¿ä: »óÀÚ | Çʵå | constructor | ¸Þ¼Òµå | »ó¼¼: Çʵå | constructor | ¸Þ¼Òµå |
java.lang.Object | +--java.sql.DriverPropertyInfo
Á¢¼ÓÀ» ÇàÇϱâ À§ÇÑ µå¶óÀ̹ö ÇÁ·ÎÆÛƼÀÔ´Ï´Ù. DriverPropertyInfo
Ŭ·¡½º´Â getDriverProperties
¸Þ¼Òµå¸¦ °³ÀÔ½ÃÄÑ Driver ¶ó°í ȸÈÇØ, Á¢¼ÓÀ» À§ÇÑ ÇÁ·ÎÆÛƼ¸¦ ã¾Æ³»°Å³ª °ø±ÞÇϰųª ÇÒ Çʿ䰡 ÀÖ´Â »ó±Þ ÇÁ·Î±×·¡¸Ó¿ëÀ¸·Î ÁغñµÈ °ÍÀÔ´Ï´Ù.
ÇʵåÀÇ °³¿ä | |
String [] |
choices
DriverPropertyInfo.value ÇʵåÀÇ °ªÀÌ Æ¯Á¤ÀÇ °ªÀÇ ÁýÇÕÀ¸·ÎºÎÅÍ ¼±ÅÃµÉ °¡´É¼ºÀÌ ÀÖ´Â °æ¿ì´Â °¡´É¼ºÀÌ ÀÖ´Â °ªÀÇ ¹è¿ÀÔ´Ï´Ù. |
String |
description
ÇÁ·ÎÆÛƼ¿¡ °üÇÑ °£´ÜÇÑ ¼³¸íÀÔ´Ï´Ù. |
String |
name
ÇÁ·ÎÆÛƼ¸íÀÔ´Ï´Ù. |
boolean |
required
Driver.connect ¿¡ °ªÀ» ÁöÁ¤ÇØ¾ß ÇÏ´Â °æ¿ì,required Çʵå´Â true ÀÔ´Ï´Ù. |
String |
value
getPropertyInfo ¸Þ¼Òµå·Î ÁöÁ¤µÇ´Â Á¤º¸, Java ȯ°æ, ¹× µå¶óÀ̹ö·Î ÁöÁ¤µÇ´Â µðÆúÆ® °ªÀÇ Æí¼º¿¡ ±Ù°ÅÇØ,value Çʵå´Â ÇÁ·ÎÆÛƼÀÇ ÇöÀçÀÇ °ªÀ» ÁöÁ¤ÇÕ´Ï´Ù. |
»ý¼ºÀÚÀÇ °³¿ä | |
DriverPropertyInfo (String name,
String value)
À̸§°ú °ªÀ» °¡Áö´Â DriverPropertyInfo ¿ÀºêÁ§Æ®¸¦ ±¸ÃàÇÕ´Ï´Ù. |
Ŭ·¡½º java.lang. Object ¿¡¼ »ó¼Ó¹ÞÀº ¸Þ¼Òµå |
clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait |
ÇʵåÀÇ »ó¼¼ |
public String name
public String description
public boolean required
Driver.connect
¿¡ °ªÀ» ÁöÁ¤ÇØ¾ß ÇÏ´Â °æ¿ì,required
Çʵå´Â true
ÀÔ´Ï´Ù. ±×·¸Áö ¾ÊÀº °æ¿ì´Â false
ÀÔ´Ï´Ù.
public String value
getPropertyInfo
¸Þ¼Òµå·Î ÁöÁ¤µÇ´Â Á¤º¸, Java ȯ°æ, ¹× µå¶óÀ̹ö·Î ÁöÁ¤µÇ´Â µðÆúÆ® °ªÀÇ Æí¼º¿¡ ±Ù°ÅÇØ,value
Çʵå´Â ÇÁ·ÎÆÛƼÀÇ ÇöÀçÀÇ °ªÀ» ÁöÁ¤ÇÕ´Ï´Ù. °ªÀÌ ºÒ¸íÀÇ °æ¿ì´Â null µµ °¡´ÉÇÕ´Ï´Ù.
public String [] choices
DriverPropertyInfo.value
ÇʵåÀÇ °ªÀÌ Æ¯Á¤ÀÇ °ªÀÇ ÁýÇÕÀ¸·ÎºÎÅÍ ¼±ÅÃµÉ °¡´É¼ºÀÌ ÀÖ´Â °æ¿ì´Â °¡´É¼ºÀÌ ÀÖ´Â °ªÀÇ ¹è¿ÀÔ´Ï´Ù. ±×·¸Áö ¾ÊÀº °æ¿ì´Â null ÀÔ´Ï´Ù.
»ý¼ºÀÚÀÇ »ó¼¼ |
public DriverPropertyInfo(String name, String value)
DriverPropertyInfo
¿ÀºêÁ§Æ®¸¦ ±¸ÃàÇÕ´Ï´Ù. ´Ù¸¥ ¸â¹ö´Â °¢°¢ ÃʱâÄ¡°¡ µðÆúÆ®°¡ µË´Ï´Ù.
name
- ÇÁ·ÎÆÛƼ¸ívalue
- ÇöÀçÀÇ °ª. null µµ °¡´É
|
JavaTM 2 Platform Std. Ed. v1. 4.0 |
||||||||||
ÀüÀÇ Å¬·¡½º ´ÙÀ½ÀÇ Å¬·¡½º | ÇÁ·¹ÀÓ ÀÖ¾î ÇÁ·¹ÀÓ ¾øÀ½ | ||||||||||
°³¿ä: »óÀÚ | Çʵå | constructor | ¸Þ¼Òµå | »ó¼¼: Çʵå | constructor | ¸Þ¼Òµå |
Java, Java 2 D, ¹× JDBC ´Â ¹Ì±¹ ¹× ±× ¿ÜÀÇ ³ª¶ó¿¡ ÀÖ¾î¼ÀÇ ¹Ì±¹ Sun Microsystems, Inc. ÀÇ »óÇ¥ ȤÀº µî·Ï»óÇ¥ÀÔ´Ï´Ù.
Copyright 1993-2002 Sun Microsystems, Inc. 901 San Antonio Road
Palo Alto, California, 94303, U.S.A. All Rights Reserved.