Class URLHandlerUtil


  • @Deprecated(since="17.0",
                forRemoval=true)
    public final class URLHandlerUtil
    extends Object
    Deprecated, for removal: This API element is subject to removal in a future version.
    since 17.0, no replacement.
    Utilities around URLHandler.
    Since:
    6.0
    Version:
    17.0 2020-01-04 14:41:35
    Author:
    Stéphane GALLAND
    Maven Group Id:
    org.arakhne.afc.core
    Maven Artifact Id:
    vmutils
    • Method Detail

      • getHandlersFor

        @Pure
        public static Iterator<Class<? extends URLStreamHandler>> getHandlersFor​(String protocol)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Replies an iterator on the handlers that are supporting the given protocol.
        Parameters:
        protocol - the protocol.
        Returns:
        the iterator.
        Since:
        7.2
      • installArakhneHandlers

        public static void installArakhneHandlers()
        Deprecated, for removal: This API element is subject to removal in a future version.
        Install the URL handlers provided by Arakhnê libraries.

        Handlers are provided for:

        • file: handler for files which is supported input and output.
        • resource: handler for resource URL.
        See Also:
        uninstallArakhneHandlers()
      • uninstallArakhneHandlers

        public static void uninstallArakhneHandlers()
        Deprecated, for removal: This API element is subject to removal in a future version.
        Uninstall the URL handlers provided by Arakhnê libraries.

        Handlers are provided for:

        • file: handler for files which is supported input and output.
        • resource: handler for resource URL.
        See Also:
        installArakhneHandlers()