Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
Copyright (c) 2000, 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 Contributors: IBM Corporation - initial API and implementation /
public abstract class AbstractJavaSearchScope extends AbstractSearchScope {

Get access rule set corresponding to a given path.

relativePath The path user want to have restriction access
The access rule set for given path or null if none is set for it. Returns specific unit access rule set when scope does not enclose the given path.
abstract public AccessRuleSet getAccessRuleSet(String relativePathString containerPath);

Returns the package fragment root corresponding to a given resource path.

resourcePathString path of expected package fragment root.
jarSeparatorIndex the index of the jar separator in the resource path, or -1 if none
jarPath the already extracted jar path, or null if none
the package fragment root which path match the given one or null if none was found.
abstract public IPackageFragmentRoot packageFragmentRoot(String resourcePathStringint jarSeparatorIndexString jarPath);
New to GrepCode? Check out our FAQ X