|
What this is
Other links
The source code/* * Sun Public License Notice * * The contents of this file are subject to the Sun Public License * Version 1.0 (the "License"). You may not use this file except in * compliance with the License. A copy of the License is available at * http://www.sun.com/ * * The Original Code is NetBeans. The Initial Developer of the Original * Code is Sun Microsystems, Inc. Portions Copyright 1997-2004 Sun * Microsystems, Inc. All Rights Reserved. */ package org.netbeans.spi.project.libraries; import java.beans.PropertyChangeListener; import java.util.List; /** * Base SPI interface for library. This SPI class is used as a model by the libraries framework. * The LibraryTypeProvider implementor should rather use * org.netbeans.spi.project.libraries.support.LibrariesSupport.createLibraryImplementation * factory method to create default LibraryImplementation than to implement this interface. */ public interface LibraryImplementation { public static final String PROP_NAME = "name"; //NOI18N public static final String PROP_DESCRIPTION = "description"; //NOI18N public static final String PROP_CONTENT = "content"; //NOI18N /** * Returns type of library, the LibraryTypeProvider creates libraries * of given unique type. * @return String unique identifier, never returns null. */ public String getType(); /** * Returns name of the library * @return String unique name of the library, never returns null. */ public String getName(); /** * Get a description of the library. * The description provides more detailed information about the library. * @return String the description or null if the description is not available */ public String getDescription (); /** * Returns the resource name of the bundle which is used for localizing * the name and description. The bundle is located using the system ClassLoader. * @return String, the resource name of the bundle. If null in case when the * name and description is not localized. */ public String getLocalizingBundle (); /** * Returns List of resources contained in the given volume. * The returned list is unmodifiable. To change the content of * the given volume use setContent method. * @param volumeType the type of volume for which the content should be returned. * @return List <URL> never returns null * @throws IllegalArgumentException if the library does not support given type of volume */ public List/* |
... this post is sponsored by my books ... | |
#1 New Release! |
FP Best Seller |
Copyright 1998-2021 Alvin Alexander, alvinalexander.com
All Rights Reserved.
A percentage of advertising revenue from
pages under the /java/jwarehouse
URI on this website is
paid back to open source projects.