Class CHATSessionReader
java.lang.Object
ca.phon.phontalk.plugin.CHATSessionReader
- All Implemented Interfaces:
IPluginExtensionPoint<SessionReader>,SessionReader
@SessionIO(group="org.talkbank",
id="CHAT",
version="0.0.1",
mimetype="application/text",
extension="cha",
name="CHAT (.cha)")
public class CHATSessionReader
extends Object
implements SessionReader, IPluginExtensionPoint<SessionReader>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanCheck to see if this reader can open the given file.Class<?> Get type of extensionGet factory for extension point objectsreadSession(InputStream stream) Create session from given input stream
-
Constructor Details
-
CHATSessionReader
public CHATSessionReader()
-
-
Method Details
-
canRead
Description copied from interface:SessionReaderCheck to see if this reader can open the given file.- Specified by:
canReadin interfaceSessionReader- Parameters:
file-- Returns:
trueif this reader can open the given file,falseotherwise- Throws:
IOException- if an error occurs when attempting to open a file
-
readSession
Description copied from interface:SessionReaderCreate session from given input stream- Specified by:
readSessionin interfaceSessionReader- Parameters:
stream-- Returns:
- session
- Throws:
IOException- if an error occurs
-
getExtensionType
Description copied from interface:IPluginExtensionPointGet type of extension- Specified by:
getExtensionTypein interfaceIPluginExtensionPoint<SessionReader>
-
getFactory
Description copied from interface:IPluginExtensionPointGet factory for extension point objects- Specified by:
getFactoryin interfaceIPluginExtensionPoint<SessionReader>
-