PubFactory
Contents
[
Hide
]Inheritance: java.lang.Object
public class PubFactory
Factory for PUB objects
Constructors
Constructor | Description |
---|---|
PubFactory() |
Methods
Method | Description |
---|---|
createParser(String fileName) | Creates PUB parser for PUB file |
createParser(InputStream pubStream) | Creates PUB parser for PUB stream |
createPdfConverter() | Creates PdfConverter |
PubFactory()
public PubFactory()
createParser(String fileName)
public static IPubParser createParser(String fileName)
Creates PUB parser for PUB file
Parameters:
Parameter | Type | Description |
---|---|---|
fileName | java.lang.String | PUB file name |
Returns: IPubParser - PUB parser
createParser(InputStream pubStream)
public static IPubParser createParser(InputStream pubStream)
Creates PUB parser for PUB stream
Parameters:
Parameter | Type | Description |
---|---|---|
pubStream | java.io.InputStream | stream with PUB data |
Returns: IPubParser - PUB parser
createPdfConverter()
public static IPdfConverter createPdfConverter()
Creates PdfConverter
Returns: IPdfConverter - PdfConverter