Class ASFileList

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

public final class ASFileList
extends java.lang.Object
File list parsing.
  • Method Summary

    Modifier and Type Method Description
    static java.util.SortedSet<ASFile> fetch​(java.net.http.HttpClient client)
    Fetch the latest file list.

    Methods inherited from class java.lang.Object

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

    • fetch

      public static java.util.SortedSet<ASFile> fetch​(java.net.http.HttpClient client) throws java.io.IOException, java.lang.InterruptedException
      Fetch the latest file list.
      Parameters:
      client - The HTTP client
      Returns:
      A list of files
      Throws:
      java.io.IOException - On I/O errors
      java.lang.InterruptedException - If the operation is interrupted