1 19 package org.netbeans.spi.project.libraries.support; 20 21 import org.netbeans.modules.project.libraries.LibraryTypeRegistry; 22 import org.netbeans.spi.project.libraries.LibraryImplementation; 23 import org.netbeans.modules.project.libraries.DefaultLibraryImplementation; 24 import org.netbeans.spi.project.libraries.LibraryTypeProvider; 25 26 30 public final class LibrariesSupport { 31 32 private LibrariesSupport () { 33 } 34 35 36 42 public static LibraryImplementation createLibraryImplementation (String libraryType, String [] volumeTypes) { 43 return new DefaultLibraryImplementation (libraryType, volumeTypes); 44 } 45 46 53 public static LibraryTypeProvider getLibraryTypeProvider (String libraryType) { 54 return LibraryTypeRegistry.getDefault().getLibraryTypeProvider(libraryType); 55 } 56 57 63 public static LibraryTypeProvider[] getLibraryTypeProviders () { 64 return LibraryTypeRegistry.getDefault().getLibraryTypeProviders(); 65 } 66 } 67 | Popular Tags |