| java.lang.Object org.netbeans.spi.project.libraries.support.LibrariesSupport
LibrariesSupport | final public class LibrariesSupport (Code) | | SPI Support class.
Provides factory method for creating instance of the default LibraryImplementation.
|
convertFilePathToURL | public static URL convertFilePathToURL(String path)(Code) | | Properly converts possibly relative file to URL.
Parameters: f - file to convert; can be relative; cannot be null url since: org.netbeans.modules.project.libraries/1 1.17 |
convertURLToFilePath | public static String convertURLToFilePath(URL url)(Code) | | Properly converts possibly relative URL to file.
Parameters: url - file URL to convert; can be relative; cannot be null url since: org.netbeans.modules.project.libraries/1 1.17 |
createLibraryImplementation | public static LibraryImplementation createLibraryImplementation(String libraryType, String[] volumeTypes)(Code) | | Creates default LibraryImplementation
Parameters: libraryType - type of library Parameters: volumeTypes - types of supported volumes LibraryImplementation, never return null |
isAbsoluteURL | public static boolean isAbsoluteURL(URL url)(Code) | | Is given URL absolute?
Parameters: url - url to test; cannot be null is absolute since: org.netbeans.modules.project.libraries/1 1.17 |
resolveLibraryEntryFileObject | public static FileObject resolveLibraryEntryFileObject(URL libraryLocation, URL libraryEntry)(Code) | | Helper method to resolve (possibly relative) library content URL to FileObject.
Parameters: libraryLocation - library location file; can be null for global libraries Parameters: libraryEntry - library entry to resolve file object since: org.netbeans.modules.project.libraries/1 1.17 |
resolveLibraryEntryURL | public static URL resolveLibraryEntryURL(URL libraryLocation, URL libraryEntry)(Code) | | Helper method to resolve (possibly relative) library content URL.
Parameters: libraryLocation - library location file; can be null for global libraries Parameters: libraryEntry - library entry to resolve absolute URL since: org.netbeans.modules.project.libraries/1 1.17 |
|
|