public class HttpXmlRepository extends AbstractEditableInstrumentRepository
Modifier and Type | Class and Description |
---|---|
static class |
HttpXmlRepository.InstrumentDefinition |
adapter
Constructor and Description |
---|
HttpXmlRepository(java.io.File folder,
java.lang.String httpRootUrl,
java.io.File cacheFolder,
java.lang.String displayName)
Constuct the HttpXmlRepository
|
Modifier and Type | Method and Description |
---|---|
void |
downloadInstruments(HttpXmlRepository.InstrumentDefinition[] instrumentsToDownload) |
java.lang.String |
getHttpRootUrl()
Return the http root url
|
HttpXmlRepository.InstrumentDefinition[] |
getInstruments()
Return the instrument definition list
|
java.lang.String |
getName()
Get the name of the repository
|
addRepositoryChangedListener, deleteImporter, deleteInstrument, deleteScale, deleteTransformation, dispose, findAssociatedEditableInstrumentName, findEditableInstrumentName, findImporter, findTransposition, fireInstrumentsChanged, getEditableInstrumentManager, getInstrument, getInstrument, getLabel, getManager, getScale, getScaleNames, init, isReadOnly, listInstruments, removeRepositoryChangedListener, saveImporter, saveInstrument, saveScale, saveTransformation
public HttpXmlRepository(java.io.File folder, java.lang.String httpRootUrl, java.io.File cacheFolder, java.lang.String displayName) throws java.lang.Exception
folder
- the main folder in which the instruments are storedhttpRootUrl
- the xml url for the instrumentscacheFolder
- the main cache folder for internal optimizationsjava.lang.Exception
public java.lang.String getName()
Repository2
getName
in interface Repository2
getName
in class AbstractEditableInstrumentRepository
public HttpXmlRepository.InstrumentDefinition[] getInstruments() throws java.lang.Exception
java.lang.Exception
public void downloadInstruments(HttpXmlRepository.InstrumentDefinition[] instrumentsToDownload) throws java.lang.Exception
names
- java.lang.Exception
public java.lang.String getHttpRootUrl()