Class TexArchiveService

java.lang.Object
org.ctan.site.services.texarchive.TexArchiveService

public class TexArchiveService extends Object
The class TexarchiveService contains the service to access the TeX archive directory.
  • Constructor Details

    • TexArchiveService

      public TexArchiveService(CtanConfiguration config, @NonNull @NonNull PkgService pkgService, @NonNull @NonNull TexArchiveNotesStore texArchiveFileInfoStore)
      This is the constructor for the class TexarchiveService.
      Parameters:
      config - the CTAN configuration
      pkgService - the package service
      texArchiveFileInfoStore - the store for infos
  • Method Details

    • getList

      public TexArchiveService.TexarchiveListTo getList(String path, String lang, int page, int size)
      The method getList provides means to retrieve the listing for one directory.
      Parameters:
      path - the path in the Te X archive
      lang - the language for the notes
      page - the number of the page starting with 0
      size - the page size
      Returns:
      a list of files and directories