org.apache.commons.ssl
Class Version.CompileTime
java.lang.Object
org.apache.commons.ssl.Version.CompileTime
- Enclosing class:
- Version
private static class Version.CompileTime
- extends Object
Searches through a jar file to the find the most recent timestamp of
all the class files.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PATTERN
private static final String PATTERN
- See Also:
- Constant Field Values
PREFIX
private static final String PREFIX
- See Also:
- Constant Field Values
DF_FORMAT
private static final String DF_FORMAT
- See Also:
- Constant Field Values
DF
private static final DateFormat DF
Version.CompileTime
private Version.CompileTime()
getCompileTimeString
public static String getCompileTimeString(Class clazz)
getCompileTimeString
private static String getCompileTimeString(String resource)
getCompileTime
public static Date getCompileTime(String resource)
throws IOException
- Throws:
IOException
formatVersion
public static String formatVersion(String version,
String compileTime)