Class ASArchiveResolver

java.lang.Object
com.io7m.coffeepick.shipilev_net.internal.ASArchiveResolver

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

    Modifier and Type Method Description
    static ASArchiveResolver create​(java.net.http.HttpClient client)
    Create a new resolver.
    java.util.List<RuntimeDescription> resolve​(java.util.Collection<ASFile> files)
    Resolve a collection of files.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • 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