Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 


Eclipse JDT
Release 3.5

org.eclipse.jdt.launching.sourcelookup
Interface IJavaSourceLocation

All Superinterfaces:
IAdaptable
All Known Implementing Classes:
ArchiveSourceLocation, DirectorySourceLocation, JavaProjectSourceLocation, PackageFragmentRootSourceLocation

Deprecated. In 3.0, the debug platform provides source lookup facilities that should be used in place of the Java source lookup support provided in 2.0. The new facilities provide a source lookup director that coordinates source lookup among a set of participants, searching a set of source containers. See the following packages: org.eclipse.debug.core.sourcelookup and org.eclipse.debug.core.sourcelookup.containers. This interface has been replaced by org.eclipse.debug.core.sourcelookup.ISourceContainer.

public interface IJavaSourceLocation
extends IAdaptable

A repository of source code. A source location is capable of retrieving source elements.

For example, a source location could be a project, zip/archive file, or a directory in the file system.

This interface is may be implemented by clients.

Since:
2.0

Method Summary
  Object findSourceElement ( String name)
          Deprecated. Returns an object representing the source code for a type with the specified name, or null if none could be found.
  String getMemento ()
          Deprecated. Returns a memento for this source location from which this source location can be reconstructed.
 void initializeFrom ( String memento)
          Deprecated. Initializes this source location from the given memento.
 
Methods inherited from interface org.eclipse.core.runtime. IAdaptable
getAdapter
 

Method Detail

findSourceElement

Object findSourceElement(
String name)
                         throws 
CoreException
Deprecated. 
Returns an object representing the source code for a type with the specified name, or null if none could be found. The name is a fully qualified type name, and may contain the '$' character when referring to inner types. For example, java.lang.String. The source element returned is implementation specific - for example, a resource, a local file, a zip file entry, etc.

Parameters:
name - fully qualified name of the type for which source is being searched for
Returns:
source element
Throws:
CoreException - if an exception occurs while searching for the specified source element

getMemento

String getMemento()
                  throws 
CoreException
Deprecated. 
Returns a memento for this source location from which this source location can be reconstructed.

Returns:
a memento for this source location
Throws:
CoreException - if unable to create a memento

initializeFrom

void initializeFrom(
String memento)
                    throws 
CoreException
Deprecated. 
Initializes this source location from the given memento.

Parameters:
memento - a memento generated by this source location
Throws:
CoreException - if unable to initialize this source location

Eclipse JDT
Release 3.5

Copyright (c) IBM Corp. and others 2000, 2008. All Rights Reserved.

 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire