Package ca.phon.session.io
Class SessionOutputFactory
java.lang.Object
ca.phon.session.io.SessionOutputFactory
Factory for creating
SessionWriter
s-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionCreate a new session writercreateWriter
(SessionIO sessionIO) Create a new session writer given the SessionIO annotation.createWriter
(String id, String version) Create a new session writer for the given version name.
-
Constructor Details
-
SessionOutputFactory
public SessionOutputFactory()Constructor
-
-
Method Details
-
availableSessionIOs
-
createWriter
Create a new session writer- Returns:
- a new
SessionWriter
ornull
if a compatible writer could not be found
-
createWriter
Create a new session writer for the given version name.- Parameters:
version
-- Returns:
- a new
SessionWriter
ornull
if a writer for the version is not found
-
createWriter
Create a new session writer given the SessionIO annotation.- Parameters:
sessionIO
-- Returns:
- a new
SessionWriter
ornull
if not found
-