站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > NetBeans API Javadoc (Current Development Version)

LibrariesSupport (External Libraries) - NetBeans API Javadoc (Current Development Version)

org.netbeans.modules.project.libraries/1 1.14

org.netbeans.spi.project.libraries.support
Class LibrariesSupport

java.lang.Object
  extended by org.netbeans.spi.project.libraries.support.LibrariesSupport

public final class LibrariesSupport
extends Object

SPI Support class. Provides factory method for creating instance of the default LibraryImplementation.


Method Summary
static LibraryImplementation createLibraryImplementation(String libraryType, String[] volumeTypes)
          Creates default LibraryImplementation
static LibraryTypeProvider getLibraryTypeProvider(String libraryType)
          Returns registered LibraryTypeProvider for given library type.
static LibraryTypeProvider[] getLibraryTypeProviders()
          Returns all registered LibraryTypeProviders.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

createLibraryImplementation

public static LibraryImplementation createLibraryImplementation(String libraryType,
                                                                String[] volumeTypes)
Creates default LibraryImplementation

Parameters:
libraryType - type of library
volumeTypes - types of supported volumes
Returns:
LibraryImplementation, never return null

getLibraryTypeProvider

public static LibraryTypeProvider getLibraryTypeProvider(String libraryType)
Returns registered LibraryTypeProvider for given library type. This method is mostly used by LibraryProvider implementators.

Parameters:
libraryType - the type of library for which the provider should be returned.
Returns:
LibraryTypeProvider for given library type or null, if none is registered.
Since:
org.netbeans.modules.project.libraries/1 1.14

getLibraryTypeProviders

public static LibraryTypeProvider[] getLibraryTypeProviders()
Returns all registered LibraryTypeProviders. This method is mostly used by LibraryProvider implementators.

Returns:
an array of LibraryTypeProvider, never returns null.
Since:
org.netbeans.modules.project.libraries/1 1.14

org.netbeans.modules.project.libraries/1 1.14

Built on May 28 2007.  |  Portions Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.