Class TalkBankSessionReader
java.lang.Object
ca.phon.phontalk.plugin.TalkBankSessionReader
- All Implemented Interfaces:
IPluginExtensionPoint<SessionReader>,SessionReader
@SessionIO(group="org.talkbank",
id="talkbank",
version="2.5.0",
mimetype="application/xml",
extension="xml",
name="TalkBank (.xml)")
public class TalkBankSessionReader
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
-
TalkBankSessionReader
public TalkBankSessionReader()
-
-
Method Details
-
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
-
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
-
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>
-