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.
-
Method Details
-
create
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.InterruptedExceptionResolve a collection of files.- Parameters:
files
- The file collection- Returns:
- A list of resolved runtime descriptions
- Throws:
java.io.IOException
- On I/O errorsjava.lang.InterruptedException
- If the operation is interrupted
-