Package me.friwi.jcefmaven
Class CefBuildInfo
- java.lang.Object
-
- me.friwi.jcefmaven.CefBuildInfo
-
public class CefBuildInfo extends Object
Provides information about jcefmaven builds- Author:
- Fritz Windisch
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CefBuildInfofromClasspath()Reads the in-use jcefmaven build info from classpathstatic CefBuildInfofromFile(File file)Loads a CefBuildInfo instance from a fileStringgetJcefUrl()StringgetPlatform()StringgetReleaseTag()StringgetReleaseUrl()
-
-
-
Method Detail
-
fromClasspath
public static CefBuildInfo fromClasspath() throws IOException
Reads the in-use jcefmaven build info from classpath- Returns:
- jcefmaven build info
- Throws:
NullPointerException- if the build info "/build_meta.json" does not exist on classpathIOException- if reading the build info failed
-
fromFile
public static CefBuildInfo fromFile(File file) throws IOException
Loads a CefBuildInfo instance from a file- Parameters:
file- the file to read- Returns:
- jcefmaven build info
- Throws:
IOException- if reading the file failed
-
getJcefUrl
public String getJcefUrl()
-
getReleaseTag
public String getReleaseTag()
-
getReleaseUrl
public String getReleaseUrl()
-
getPlatform
public String getPlatform()
-
-