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

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

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

origin: org.codehaus.izpack/izpack-tools

/**
 * Returns the platform family name for the current operating system.
 * This may query the underlying OS to determine the platform name.
 *
 * @return the corresponding platform family name
 */
protected Name getCurrentOSName(String name)
{
  Name result = getName(name);
  if (result == Name.LINUX)
  {
    result = getLinuxName();
  }
  return result;
}
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-util

Platform.Name name = platforms.getName(model.getName());
match = name.equals(platform.getName());
Platform.Name family = platforms.getName(model.getFamily());
match = platform.getName().isA(family);
com.izforge.izpack.utilPlatformsgetName

Javadoc

Returns the platform family name for the specified operating system name.

Popular methods of Platforms

  • getCurrentPlatform
    Returns the current platform given the operating system name, architecture and version. This may que
  • <init>
  • getArch
    Returns the platform family name given the operating system or symbolic 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

  • Finding current android device location
  • getSupportFragmentManager (FragmentActivity)
  • setScale (BigDecimal)
  • notifyDataSetChanged (ArrayAdapter)
  • Component (java.awt)
    A component is an object having a graphical representation that can be displayed on the screen and t
  • Proxy (java.net)
    This class represents proxy server settings. A created instance of Proxy stores a type and an addres
  • Date (java.util)
    A specific moment in time, with millisecond precision. Values typically come from System#currentTime
  • HashSet (java.util)
    HashSet is an implementation of a Set. All optional operations (adding and removing) are supported.
  • SortedSet (java.util)
    SortedSet is a Set which iterates over its elements in a sorted order. The order is determined eithe
  • LogFactory (org.apache.commons.logging)
    Factory for creating Log instances, with discovery and configuration features similar to that employ
  • Top PhpStorm plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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