Class SessionInputFactory
java.lang.Object
ca.phon.session.io.SessionInputFactory
Used to create instances of session readers.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the list of available session readers.createReader(SessionIO sessionIO) Get specified reader.createReader(String id, String version) Create a new session reader given the SessionIO version.createReaderForFile(File file) Create a new session reader for the given file.static SessionIO
-
Constructor Details
-
SessionInputFactory
public SessionInputFactory()Constructor
-
-
Method Details
-
getDefaultSessionIO
-
getSessionExtensions
-
createReader
Get specified reader.- Parameters:
sessionIO-- Returns:
- session reader or
nullif not found
-
availableReaders
-
createReader
Create a new session reader given the SessionIO version.- Parameters:
id-version-- Returns:
- the new SessionReader or
nullif not found
-
createReaderForFile
Create a new session reader for the given file.- Parameters:
file-- Returns:
- session reader or
nullif not found - Throws:
IOException
-