Class ASFileList


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

      All Methods Static Methods Concrete Methods 
      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 Detail

      • 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