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()
Key
getKey()
Parser
getParser()
TimeSignature
getTimeSignature()
StaccatoParserContext
loadDictionary(java.io.File file)
StaccatoParserContext
loadDictionary(java.io.InputStream stream)
StaccatoParserContext
loadDictionary(java.io.Reader reader)
StaccatoParserContext
setKey(Key key)
StaccatoParserContext
setTimeSignature(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()
-
-