Package org.staccato
Class StaccatoParserContext
- java.lang.Object
-
- org.staccato.StaccatoParserContext
-
public class StaccatoParserContext extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description StaccatoParserContext(Parser parser)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Map<java.lang.String,java.lang.Object>getDictionary()KeygetKey()ParsergetParser()TimeSignaturegetTimeSignature()StaccatoParserContextloadDictionary(java.io.File file)StaccatoParserContextloadDictionary(java.io.InputStream stream)StaccatoParserContextloadDictionary(java.io.Reader reader)StaccatoParserContextsetKey(Key key)StaccatoParserContextsetTimeSignature(TimeSignature timeSignature)
-
-
-
Constructor Detail
-
StaccatoParserContext
public StaccatoParserContext(Parser parser)
-
-
Method Detail
-
getDictionary
public java.util.Map<java.lang.String,java.lang.Object> getDictionary()
-
loadDictionary
public StaccatoParserContext loadDictionary(java.io.Reader reader) throws java.io.IOException
- Throws:
java.io.IOException
-
getParser
public Parser getParser()
-
loadDictionary
public StaccatoParserContext loadDictionary(java.io.InputStream stream) throws java.io.IOException
- Throws:
java.io.IOException
-
loadDictionary
public StaccatoParserContext loadDictionary(java.io.File file) throws java.io.IOException
- Throws:
java.io.IOException
-
setKey
public StaccatoParserContext setKey(Key key)
-
getKey
public Key getKey()
-
setTimeSignature
public StaccatoParserContext setTimeSignature(TimeSignature timeSignature)
-
getTimeSignature
public TimeSignature getTimeSignature()
-
-