Package org.ctan.site.services.content
Class LionService
java.lang.Object
org.ctan.site.services.content.LionService
The class
LionService
contains the service to access the lion
directory.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
The classFileListTo
contains a transport object for the list resource.static class
The classFileTo
contains the transport object for the list resource. -
Constructor Summary
ConstructorsConstructorDescriptionLionService
(@NonNull CtanConfiguration.ContentConfig config) This is the constructor for the classLionService
. -
Method Summary
Modifier and TypeMethodDescriptionbyte[]
The methodcontent
provides means to read the contents of a file.list()
The methodlist
provides means to retrieve the directory listing for the lion files.
-
Constructor Details
-
LionService
This is the constructor for the classLionService
.- Parameters:
config
- the content configuration
-
-
Method Details
-
content
The methodcontent
provides means to read the contents of a file.- Parameters:
name
- the name of the file- Returns:
- the contents or
null
-
list
The methodlist
provides means to retrieve the directory listing for the lion files.- Returns:
- a transport object
-