net.sourceforge.argval.version
Class SimpleVersionNumberVisitor
java.lang.Object
net.sourceforge.argval.version.SimpleVersionNumberVisitor
- All Implemented Interfaces:
- VersionNumberVisitor
public class SimpleVersionNumberVisitor
- extends Object
- implements VersionNumberVisitor
A text based implementation of the VersionNumberVisitor
interface.
Use the getAsText()
for retrieving the result.
- Author:
- T. Verhagen
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimpleVersionNumberVisitor
public SimpleVersionNumberVisitor()
SimpleVersionNumberVisitor
public SimpleVersionNumberVisitor(String separator)
SimpleVersionNumberVisitor
public SimpleVersionNumberVisitor(String separator,
CollectionUtilConfig config)
visit
public void visit(VersionNumber versionNumber)
- Description copied from interface:
VersionNumberVisitor
- When the visitor visits a version number this method is called through the
acceptor (the class that implements
VersionNumberVisitorAcceptor
).
- Specified by:
visit
in interface VersionNumberVisitor
- Parameters:
versionNumber
- - the version number which is visited.
getAsText
public String getAsText()
Copyright © 2013 Verhagen Software. All Rights Reserved.