ApiVersionFinder
Stay organized with collections
Save and categorize content based on your preferences.
- java.lang.Object
-
- com.google.appengine.tools.util.ApiVersionFinder
-
-
Method Summary
-
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
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-02-15 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-02-15 UTC."],[[["`ApiVersionFinder` is a class that extracts the `Specification-Version` from a specified Jar file's manifest."],["The class provides a constructor `ApiVersionFinder()` for creating instances of the `ApiVersionFinder` class."],["The `findApiVersion` method is used to retrieve the API version, and it can be called with either a file name or a file object as input."],["The class contains a `main` method that can be used for command-line execution, potentially to find the API version of a given Jar file."],["Both `findApiVersion` and `main` methods can throw an `IOException` if an error occurs while reading the Jar file or manifest."]]],[]]