src/share/classes/javax/print/PrintServiceLookup.java

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 2000, 2002, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this --- 1,7 ---- /* ! * Copyright (c) 2000, 2014, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this
*** 198,208 **** * across VM invocations. * This is useful if an application needs to make a new service * available that is not part of the installation. * If the lookup service is already registered, or cannot be registered, * the method returns false. - * <p> * * @param sp an implementation of a lookup service. * @return <code>true</code> if the new lookup service is newly * registered; <code>false</code> otherwise. */ --- 198,207 ----
*** 303,313 **** * Implemented by a service provider, used by the static methods * of this class. * <p> * Locates MultiDoc print services which can be positively confirmed * to support the combination of attributes and DocFlavors specified. - * <p> * * @param flavors of documents required. If null or empty it is ignored. * @param attributes required to be supported. If null this * constraint is not used. * @return array of matching PrintServices. If no services match, the --- 302,311 ----