public class InstrumentIO
extends java.lang.Object
Constructor and Description |
---|
InstrumentIO() |
Modifier and Type | Method and Description |
---|---|
static Instrument |
readInstrument(ScaleManager gm,
StreamStorage fis,
java.lang.String streamName)
Read an instrument in a stream storage
|
static void |
writeInstrument(StreamStorage fis,
Instrument ins,
java.lang.String streamName)
Save an instrument in the current version
|
public static Instrument readInstrument(ScaleManager gm, StreamStorage fis, java.lang.String streamName) throws java.lang.Exception
gm
- fis
- streamName
- java.lang.Exception
public static void writeInstrument(StreamStorage fis, Instrument ins, java.lang.String streamName) throws java.lang.Exception
fis
- ins
- streamName
- java.lang.Exception