com.google.appengine.tools.util
Class ApiVersionFinder

java.lang.Object
  extended by com.google.appengine.tools.util.ApiVersionFinder

public class ApiVersionFinder
extends java.lang.Object

ApiVersionFinder extracts the Specification-Version from the Jar manifest of the specified jar file.


Constructor Summary
ApiVersionFinder()
           
 
Method Summary
 java.lang.String findApiVersion(java.io.File inputJar)
           
 java.lang.String findApiVersion(java.lang.String fileName)
           
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ApiVersionFinder

public ApiVersionFinder()
Method Detail

main

public static void main(java.lang.String[] args)
                 throws java.io.IOException
Throws:
java.io.IOException

findApiVersion

public java.lang.String findApiVersion(java.lang.String fileName)
                                throws java.io.IOException
Throws:
java.io.IOException

findApiVersion

public java.lang.String findApiVersion(java.io.File inputJar)
                                throws java.io.IOException
Throws:
java.io.IOException