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, saveTransformationpublic 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.Exceptionpublic java.lang.String getName()
Repository2getName in interface Repository2getName in class AbstractEditableInstrumentRepositorypublic HttpXmlRepository.InstrumentDefinition[] getInstruments() throws java.lang.Exception
java.lang.Exceptionpublic void downloadInstruments(HttpXmlRepository.InstrumentDefinition[] instrumentsToDownload) throws java.lang.Exception
names - java.lang.Exceptionpublic java.lang.String getHttpRootUrl()