Class SessionOutputFactory

java.lang.Object
ca.phon.session.io.SessionOutputFactory

public class SessionOutputFactory extends Object
Factory for creating SessionWriters
  • Constructor Details

    • SessionOutputFactory

      public SessionOutputFactory()
      Constructor
  • Method Details

    • availableSessionIOs

      public List<SessionIO> availableSessionIOs()
    • createWriter

      public SessionWriter createWriter()
      Create a new session writer
      Returns:
      a new SessionWriter or null if a compatible writer could not be found
    • createWriter

      public SessionWriter createWriter(String id, String version)
      Create a new session writer for the given version name.
      Parameters:
      version -
      Returns:
      a new SessionWriter or null if a writer for the version is not found
    • createWriter

      public SessionWriter createWriter(SessionIO sessionIO)
      Create a new session writer given the SessionIO annotation.
      Parameters:
      sessionIO -
      Returns:
      a new SessionWriter or null if not found