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, wait
save
protected static final String ENCODING
protected static final String EOL
public Set<GAV> getProjectGAVs()
TychoRepositoryIndex
getProjectGAVs
in interface TychoRepositoryIndex
public void addProject(GAV gav)
TychoRepositoryIndex
addProject
in interface TychoRepositoryIndex
gav
- not null
#save()}
public void remove(GAV gav)
TychoRepositoryIndex
remove
in interface TychoRepositoryIndex
#save()}
protected static void write(TychoRepositoryIndex index, OutputStream os) throws IOException
IOException
protected static Set<GAV> read(InputStream is) throws IOException
IOException
Copyright © 2008-2012 Eclipse Foundation. All Rights Reserved.