org.esa.beam.visat.actions.pgrab.model
Class Repository
java.lang.Object
org.esa.beam.visat.actions.pgrab.model.Repository
public class Repository
- extends Object
REPOSITORY_CACHE_DIR_NAME
public static final String REPOSITORY_CACHE_DIR_NAME
- See Also:
- Constant Field Values
PROPERTIES_FILE_NAME
public static final String PROPERTIES_FILE_NAME
- See Also:
- Constant Field Values
Repository
public Repository(File baseDir)
getBaseDir
public File getBaseDir()
getStorageDir
public File getStorageDir()
getPropertyMap
public PropertyMap getPropertyMap()
- Retrieves the
PropertyMap for this repository.
- Returns:
- the property map.
savePropertyMap
public void savePropertyMap()
- Saves the property map.
addEntry
public void addEntry(RepositoryEntry entry)
removeEntry
public void removeEntry(RepositoryEntry entry)
setDataProviders
public void setDataProviders(DataProvider[] providers)
- Sets the
DataProviders to this Repository.
A call to this method is only allowed once, other wise an IllegalStateException is thrown.
getDataProviders
public DataProvider[] getDataProviders()
addListener
public void addListener(Repository.RepositoryListener repositoryListener)
removeListener
public void removeListener(Repository.RepositoryListener repositoryListener)
getListeners
public Repository.RepositoryListener[] getListeners()
getEntryCount
public int getEntryCount()
getEntry
public RepositoryEntry getEntry(int index)
indexOf
public int indexOf(RepositoryEntry entry)
toString
public String toString()
- Overrides:
toString in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals in class Object
Copyright © 2002-2012 Brockmann Consult GmbH. All Rights Reserved.