Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
Copyright (c) 2007, 2008 IBM Corporation and others. All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html Contributors: IBM Corporation - initial API and implementation /
package org.eclipse.osgi.service.resolver;
This class represents a native code description.

This interface is not intended to be implemented by clients. The StateObjectFactory should be used to construct instances.

Since:
3.4
Noimplement:
This interface is not intended to be implemented by clients.
public interface NativeCodeDescription extends BaseDescriptionComparable {
Returns the paths to the native code libraries.

Returns:
the paths to the native code libraries.
	public String[] getNativePaths();

Returns the processors supported by the native code.

Returns:
the processors supported by the native code. An empty array is returned if no processors are supported.
	public String[] getProcessors();

Returns the operating system names supported by the native code.

Returns:
the operating system names supported by the native code. An empty array is returned if no operating systems are supported.
	public String[] getOSNames();

Returns the operating system version ranges supported by the native code.

Returns:
the operating system version ranges supported by the native code. An empty array is returned if all versions are supported.
Returns the languages supported by the native code.

Returns:
the languages supported by the native code. An empty array is returned if all languages are supported.
	public String[] getLanguages();

Returns the selection filter used to select the native code.

Returns:
the selection filter used to select the native code.
	public Filter getFilter();

Native code descriptions are sorted with the following preferences:
  • The minimum version of the os version ranges
  • The language

Parameters:
other the native code description to be compared
Returns:
a negative integer, zero, or a positive integer as this natve code description is less than, equal to, or greater than the specified object.
	public int compareTo(Object other);

Indicates if this native code description has invalid native code paths. Native code paths are invalid if they can not be found in the bundle content.

Returns:
true if the native code paths are invalid; otherwise false is returned.
	public boolean hasInvalidNativePaths();
New to GrepCode? Check out our FAQ X