org.apache.maven.shared.jar.identification.exposers
Class TimestampExposer
java.lang.Object
org.apache.maven.shared.jar.identification.exposers.TimestampExposer
- All Implemented Interfaces:
- JarIdentificationExposer
public class TimestampExposer
- extends Object
- implements JarIdentificationExposer
Exposer that examines a a JAR and uses the most recent timestamp as a potential version.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TimestampExposer
public TimestampExposer()
expose
public void expose(JarIdentification identification,
JarAnalyzer jarAnalyzer)
- Description copied from interface:
JarIdentificationExposer
- Expose metadata during the identification process.
- Specified by:
expose
in interface JarIdentificationExposer
- Parameters:
identification
- the identification record to populate with the exposed metadatajarAnalyzer
- the JAR to obtain the information from. Should be treated as read only, with the exception
of caching the metadata if it would be identical when run over the same file again.
Copyright © 2002-2012 Apache Software Foundation. All Rights Reserved.