public abstract class DefaultTychoRepositoryIndex extends Object implements TychoRepositoryIndex
| Modifier and Type | Field and Description |
|---|---|
protected static String |
ENCODING |
protected static String |
EOL |
| Constructor and Description |
|---|
DefaultTychoRepositoryIndex(Set<GAV> initialContent) |
| Modifier and Type | Method and Description |
|---|---|
void |
addProject(GAV gav)
Adds a GAV to the index
|
Set<GAV> |
getProjectGAVs()
Receive the set of GAVs contained in this index
|
protected static Set<GAV> |
read(InputStream is) |
void |
remove(GAV gav)
Remove a GAV from the index.
|
protected static void |
write(TychoRepositoryIndex index,
OutputStream os) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsaveprotected static final String ENCODING
protected static final String EOL
public Set<GAV> getProjectGAVs()
TychoRepositoryIndexgetProjectGAVs in interface TychoRepositoryIndexpublic void addProject(GAV gav)
TychoRepositoryIndexaddProject in interface TychoRepositoryIndexgav - not null#save()}public void remove(GAV gav)
TychoRepositoryIndexremove in interface TychoRepositoryIndex#save()}protected static void write(TychoRepositoryIndex index, OutputStream os) throws IOException
IOExceptionprotected static Set<GAV> read(InputStream is) throws IOException
IOExceptionCopyright © 2008-2012 Eclipse Foundation. All Rights Reserved.