org.eclipse.jetty.toolchain.version
Class VersionText
java.lang.Object
org.eclipse.jetty.toolchain.version.VersionText
public class VersionText
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VersionText
public VersionText(VersionPattern pat)
addRelease
public void addRelease(Release rel)
findRelease
public Release findRelease(String version)
getPriorVersion
public String getPriorVersion(String currentVersion)
getReleases
public List<Release> getReleases()
getVersionList
public List<String> getVersionList()
getVersionPattern
public VersionPattern getVersionPattern()
isSortExisting
public boolean isSortExisting()
prepend
public void prepend(Release rel)
read
public void read(File versionTextFile)
throws IOException
- Throws:
IOException
replaceOrPrepend
public void replaceOrPrepend(Release rel)
setReleases
public void setReleases(List<Release> releases)
setSortExisting
public void setSortExisting(boolean allowExistingResort)
write
public void write(File versionTextFile)
throws IOException
- Throws:
IOException
Copyright © 1995-2012 Mort Bay Consulting. All Rights Reserved.