Class MarkdownReadmeReader
java.lang.Object
org.ctan.site.services.texarchive.readme.ReadmeReader
org.ctan.site.services.texarchive.readme.MarkdownReadmeReader
The class
TextReadmeReader
contains the reader for markdown.-
Constructor Summary
ConstructorsConstructorDescriptionMarkdownReadmeReader
(String name) This is the constructor forMarkdownReadmeReader
. -
Method Summary
Methods inherited from class org.ctan.site.services.texarchive.readme.ReadmeReader
findIndex
-
Constructor Details
-
MarkdownReadmeReader
This is the constructor forMarkdownReadmeReader
.- Parameters:
name
- the file name
-
-
Method Details
-
read
Read the contents.- Specified by:
read
in classReadmeReader
- Parameters:
file
- the file to read- Returns:
- the file contents as HTML
- Throws:
UnsupportedEncodingException
- in case of an errorIOException
- in case of an I/O error- See Also:
-