Lines 52-57
Link Here
|
52 |
import org.netbeans.modules.project.libraries.LibraryTypeRegistry; |
52 |
import org.netbeans.modules.project.libraries.LibraryTypeRegistry; |
53 |
import org.netbeans.spi.project.libraries.LibraryImplementation; |
53 |
import org.netbeans.spi.project.libraries.LibraryImplementation; |
54 |
import org.netbeans.modules.project.libraries.DefaultLibraryImplementation; |
54 |
import org.netbeans.modules.project.libraries.DefaultLibraryImplementation; |
|
|
55 |
import org.netbeans.spi.project.libraries.LibraryImplementation3; |
55 |
import org.netbeans.spi.project.libraries.LibraryTypeProvider; |
56 |
import org.netbeans.spi.project.libraries.LibraryTypeProvider; |
56 |
import org.openide.filesystems.FileObject; |
57 |
import org.openide.filesystems.FileObject; |
57 |
import org.openide.filesystems.URLMapper; |
58 |
import org.openide.filesystems.URLMapper; |
Lines 68-73
Link Here
|
68 |
private LibrariesSupport () { |
69 |
private LibrariesSupport () { |
69 |
} |
70 |
} |
70 |
|
71 |
|
|
|
72 |
/** |
73 |
* Creates default {@link LibraryImplementation3} |
74 |
* @param libraryType type of library |
75 |
* @param volumeTypes types of supported volumes |
76 |
* @return LibraryImplementation3 |
77 |
* @since 1.39 |
78 |
*/ |
79 |
@NonNull |
80 |
public static LibraryImplementation3 createLibraryImplementation3 ( |
81 |
@NonNull final String libraryType, |
82 |
@NonNull final String[] volumeTypes) { |
83 |
return new DefaultLibraryImplementation (libraryType, volumeTypes); |
84 |
} |
71 |
|
85 |
|
72 |
/** |
86 |
/** |
73 |
* Creates default LibraryImplementation |
87 |
* Creates default LibraryImplementation |
Lines 76-82
Link Here
|
76 |
* @return LibraryImplementation, never return null |
90 |
* @return LibraryImplementation, never return null |
77 |
*/ |
91 |
*/ |
78 |
public static LibraryImplementation createLibraryImplementation (String libraryType, String[] volumeTypes) { |
92 |
public static LibraryImplementation createLibraryImplementation (String libraryType, String[] volumeTypes) { |
79 |
return new DefaultLibraryImplementation (libraryType, volumeTypes); |
93 |
return createLibraryImplementation3(libraryType, volumeTypes); |
80 |
} |
94 |
} |
81 |
|
95 |
|
82 |
/** |
96 |
/** |