LibMuse 6.0.2
com.choosemuse.libmuse.MuseFileFactory Class Reference

Static Public Member Functions

static MuseFileWriter getMuseFileWriter (File file)
 
static MuseFileReader getMuseFileReader (File file)
 
static MuseFile getMuseFile (File file)
 

Detailed Description

Creates MuseFileWriter, MuseFileReader and MuseFile objects.

Member Function Documentation

§ getMuseFile()

static MuseFile com.choosemuse.libmuse.MuseFileFactory.getMuseFile ( File  file)
inlinestatic

Constructs and returns MuseFile object, which uses Interaxon's implementation

Parameters
fileReference to a File object, which will be used to read or store data.
Returns
MuseFile

§ getMuseFileReader()

static MuseFileReader com.choosemuse.libmuse.MuseFileFactory.getMuseFileReader ( File  file)
inlinestatic

Constructs and returns MuseFileReader object

Parameters
fileReference to a File object, which will be used to read data.
Returns
MuseFileReader

§ getMuseFileWriter()

static MuseFileWriter com.choosemuse.libmuse.MuseFileFactory.getMuseFileWriter ( File  file)
inlinestatic

Constructs and returns MuseFileWriter object.

Note that upon creation of MuseFileWriter, an Annotation is automatically written out to the file. The annotation contains the app's name and version and libmuse version. If app's name and version can not be determined, they will be empty strings.

Parameters
fileReference to a File object, which will be used to store data.
Returns
MuseFileWriter

The documentation for this class was generated from the following file: