Class ASArchiveResolver


  • public final class ASArchiveResolver
    extends java.lang.Object
    A resolver for shipilev.net builds.
    • Method Detail

      • create

        public static ASArchiveResolver create​(java.net.http.HttpClient client)
        Create a new resolver.
        Parameters:
        client - The HTTP client that will be used
        Returns:
        A new resolver
      • resolve

        public java.util.List<RuntimeDescription> resolve​(java.util.Collection<ASFile> files)
                                                   throws java.io.IOException,
                                                          java.lang.InterruptedException
        Resolve a collection of files.
        Parameters:
        files - The file collection
        Returns:
        A list of resolved runtime descriptions
        Throws:
        java.io.IOException - On I/O errors
        java.lang.InterruptedException - If the operation is interrupted