Class LionService

java.lang.Object
org.ctan.site.services.content.LionService

public class LionService extends Object
The class LionService contains the service to access the lion directory.
  • Constructor Details

    • LionService

      public LionService(@NonNull @NonNull CtanConfiguration.ContentConfig config)
      This is the constructor for the class LionService.
      Parameters:
      config - the content configuration
  • Method Details

    • content

      public byte[] content(@NonNull @NonNull String name)
      The method content provides means to read the contents of a file.
      Parameters:
      name - the name of the file
      Returns:
      the contents or null
    • list

      public LionService.FileListTo list()
      The method list provides means to retrieve the directory listing for the lion files.
      Returns:
      a transport object