ArchUtils

public class org.apache.commons.lang3.ArchUtils[source]

Provides methods for identifying the architecture of the current JVM based on the "os.arch" system property.

Important: The "os.arch" system property returns the architecture used by the JVM not of the operating system.

Since:

3.6

Constructors

ArchUtils()

Deprecated. Make private in 4.0.

@Deprecated public ArchUtils()[source]

Deprecated: TODO Make private in 4.0.

Make private in 4.0.

Methods

getProcessor()

Gets a Processor object of the current JVM.

getProcessor(String)

Gets a Processor object the given value String.

public static Processor getProcessor()[source]

Gets a Processor object of the current JVM.

Important: The "os.arch" system property returns the architecture used by the JVM not of the operating system.

Returns:

A Processor when supported, else null.

public static Processor getProcessor(String value)[source]

Gets a Processor object the given value String. The String must be like a value returned by the "os.arch" system property.

Parameters:

value – A String like a value returned by the os.arch System Property.

Returns:

A Processor when it exists, else null.