org.sonatype.tycho.p2.repository
Class DefaultTychoRepositoryIndex
java.lang.Object
org.sonatype.tycho.p2.repository.DefaultTychoRepositoryIndex
- All Implemented Interfaces:
- TychoRepositoryIndex
- Direct Known Subclasses:
- LocalTychoRepositoryIndex
public class DefaultTychoRepositoryIndex
- extends Object
- implements TychoRepositoryIndex
Default implementation of TychoRepositoryIndex defines tycho repository index format and provides generic index
read/write methods.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ENCODING
protected static final String ENCODING
- See Also:
- Constant Field Values
EOL
protected static final String EOL
- See Also:
- Constant Field Values
INDEX_RELPATH
public static final String INDEX_RELPATH
- See Also:
- Constant Field Values
gavs
protected Set<GAV> gavs
DefaultTychoRepositoryIndex
protected DefaultTychoRepositoryIndex()
DefaultTychoRepositoryIndex
public DefaultTychoRepositoryIndex(RepositoryReader repositoryReader)
throws IOException
- Throws:
IOException
read
protected static Set<GAV> read(InputStream is)
throws IOException
- Throws:
IOException
getProjectGAVs
public List<GAV> getProjectGAVs()
- Specified by:
getProjectGAVs
in interface TychoRepositoryIndex
addProject
public void addProject(String groupId,
String artifactId,
String version)
addProject
public void addProject(GAV gav)
write
public void write(OutputStream os)
throws IOException
- Throws:
IOException
Copyright © 2008-2011. All Rights Reserved.