|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectauditory.described.ScoreFactory
public class ScoreFactory
A factory that creates Score objects
| Constructor Summary | |
|---|---|
ScoreFactory()
Default Constructor |
|
ScoreFactory(ResourceFinder finder)
Explicit Value Constructor |
|
| Method Summary | |
|---|---|
Score |
createScore(java.io.InputStream is)
Create a Score object from a BufferedReader that is reading a stream containing a string representation |
Score |
createScore(java.lang.String filename)
Create a Score object from a file containing a string representation |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ScoreFactory()
public ScoreFactory(ResourceFinder finder)
finder - The ResourceFinder to used (if needed)| Method Detail |
|---|
public Score createScore(java.io.InputStream is)
throws java.io.IOException,
javax.sound.midi.MidiUnavailableException
is - The InputStream to read from
java.io.IOException
javax.sound.midi.MidiUnavailableException
public Score createScore(java.lang.String filename)
throws java.io.IOException,
javax.sound.midi.MidiUnavailableException
filename - The name of the file
java.io.IOException
javax.sound.midi.MidiUnavailableException
|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||