DebugSvc.ISourcePathElement Interface

com.bea.ide.debug
DebugSvc.ISourcePathElement Interface

public static interface DebugSvc.ISourcePathElement

an interface implemented by elements in the search path list. The search path will have a number of these in an order specified by the Debug Sourcepath properties on the application.

Enclosing class

DebugSvc

Method Summary

public IFile
getFileFromClass(String className)
returns an IFile for a class name.
public IFile
getFileFromSource(String sourceName)
returns an IFile for a source name.

Method Detail

getFileFromClass(String) Method

public IFile getFileFromClass(String className)
returns an IFile for a class name.

Parameters

className
the class to try to locate a source file for.

Returns

an IFile referred to by the class name supplied; This will be null if the SourcePathElement cannot resolve this class name.

getFileFromSource(String) Method

public IFile getFileFromSource(String sourceName)
returns an IFile for a source name.

Parameters

sourceName
the name of the source file to try to locate.

Returns

an IFile referred to by the source name supplied; This will be null if the SourcePathElement cannot resolve this source name.