jdk/src/share/classes/javax/print/PrintService.java
changeset 22280 384c863b2462
parent 21278 ef8a3a2a72f2
child 23010 6dadb192ad81
equal deleted inserted replaced
22279:877c94f9476b 22280:384c863b2462
   117 
   117 
   118     /**
   118     /**
   119      * Gets the value of the single specified service attribute.
   119      * Gets the value of the single specified service attribute.
   120      * This may be useful to clients which only need the value of one
   120      * This may be useful to clients which only need the value of one
   121      * attribute and want to minimize overhead.
   121      * attribute and want to minimize overhead.
       
   122      * @param <T> the type of the specified service attribute
   122      * @param category the category of a PrintServiceAttribute supported
   123      * @param category the category of a PrintServiceAttribute supported
   123      * by this service - may not be null.
   124      * by this service - may not be null.
   124      * @return the value of the supported attribute or null if the
   125      * @return the value of the supported attribute or null if the
   125      * attribute is not supported by this service.
   126      * attribute is not supported by this service.
   126      * @exception NullPointerException if the category is null.
   127      * @exception NullPointerException if the category is null.