Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 2cbdefe8b66631f13516910e7acbbe475eb74fb0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
/*******************************************************************************
 * Copyright (c) 2006 Symbian Software Ltd. 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:
 *    Andrew Ferguson (Symbian) - initial API and implementation
 *******************************************************************************/ 
package org.eclipse.cdt.core.index;

import java.net.URI;

/**
 * Files in the index are (conceptually) partitioned into workspace and non-workspace (external) files.
 * Clients can obtain instances of IIndexFileLocation implementations from {@link IndexLocationFactory}
 * 
 * @noextend This interface is not intended to be extended by clients.
 * @noimplement This interface is not intended to be implemented by clients.
 * @since 4.0
 */
public interface IIndexFileLocation {
	/**
	 * The URI of the indexed file
	 * @return the URI of the indexed file (non-null)
	 */
	public URI getURI();
	
	/**
	 * Return the workspace relative path of the indexed file or null if the file
	 * is not in the workspace 
	 * @return the workspace relative path of the file in the index, or null if the
     * file is not in the workspace
	 */
	public String getFullPath();
}

Back to the top