Tabnine Logo
Platforms.getArch
Code IndexAdd Tabnine to your IDE (free)

How to use
getArch
method
in
com.izforge.izpack.util.Platforms

Best Java code snippets using com.izforge.izpack.util.Platforms.getArch (Showing top 3 results out of 315)

origin: org.codehaus.izpack/izpack-tools

/**
 * Returns the platform given the operating system name, architecture and version.
 *
 * @param name        the operating system name or symbolic name
 * @param arch        the operating system architecture, or symbolic architecture
 * @param version     the operating system version. May be {@code null}
 * @param javaVersion the java version
 * @return the corresponding platform
 */
public Platform getPlatform(String name, String arch, String version, String javaVersion)
{
  Platform result;
  Name pname = getName(name);
  Arch parch = getArch(arch);
  Platform match = findMatch(name, pname, parch, version);
  result = getPlatform(match, parch, version, javaVersion);
  return result;
}
origin: org.codehaus.izpack/izpack-tools

/**
 * Returns the current platform given the operating system name, architecture and version.
 * <p/>
 * This may query the underlying OS to determine the platform name.
 *
 * @param name        the operating system name
 * @param arch        the operating system architecture, or symbolic architecture
 * @param version     the operating system version. May be {@code null}
 * @param javaVersion the java version. May be {@code null}
 * @return the corresponding platform
 */
public Platform getCurrentPlatform(String name, String arch, String version, String javaVersion)
{
  Platform result;
  Name pname = getCurrentOSName(name);
  Arch parch = getArch(arch);
  Platform match = findMatch(name, pname, parch, version);
  result = getPlatform(match, parch, version, javaVersion);
  return result;
}
origin: org.codehaus.izpack/izpack-util

Platform.Arch arch = platforms.getArch(model.getArch());
match = arch.equals(platform.getArch());
com.izforge.izpack.utilPlatformsgetArch

Javadoc

Returns the platform family name given the operating system or symbolic name.

Popular methods of Platforms

  • getCurrentPlatform
    Returns the current platform given the operating system name, architecture and version. This may que
  • <init>
  • getName
    Returns the platform family name for the specified operating system name.
  • getPlatform
    Returns the platform given the operating system name, architecture and version.
  • equals
    Compares two strings for equality.
  • exists
    Determines if the specified path exists.
  • findMatch
    Attempts to find a platform that matches the platform name, architecture and version.
  • getCurrentOSName
    Returns the platform family name for the current operating system. This may query the underlying OS
  • getLinuxName
    Returns the Linux platform family name.
  • getReleasePath
    Returns the release info file path, for Linux distributions.
  • getText
    Returns the text from the specified file.
  • search
    Searches text for the specified string.
  • getText,
  • search

Popular in Java

  • Reading from database using SQL prepared statement
  • setRequestProperty (URLConnection)
  • runOnUiThread (Activity)
  • findViewById (Activity)
  • InputStream (java.io)
    A readable source of bytes.Most clients will use input streams that read data from the file system (
  • URI (java.net)
    A Uniform Resource Identifier that identifies an abstract or physical resource, as specified by RFC
  • ExecutorService (java.util.concurrent)
    An Executor that provides methods to manage termination and methods that can produce a Future for tr
  • Collectors (java.util.stream)
  • Modifier (javassist)
    The Modifier class provides static methods and constants to decode class and member access modifiers
  • JComboBox (javax.swing)
  • Top 15 Vim Plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now