Class ASArchiveResolver
- java.lang.Object
-
- com.io7m.coffeepick.shipilev_net.internal.ASArchiveResolver
-
public final class ASArchiveResolver extends java.lang.ObjectA resolver for shipilev.net builds.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ASArchiveResolvercreate(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 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 errorsjava.lang.InterruptedException- If the operation is interrupted
-
-