APIdia Launch Partner
Top Fields Constructors Methods
com.sun.tools.example.debug.tty

pack-priv Class SourceMapper

extends Object
Class Inheritance
Imports
com.sun.jdi.Location, .AbsentInformationException, java.util.List, .ArrayList, .StringTokenizer, java.io.*

Field Summary

Modifier and TypeField and Description
private final String[]

Constructor Summary

AccessConstructor and Description
pack-priv
SourceMapper(List<String> sourcepath)

pack-priv
SourceMapper(String sourcepath)

Method Summary

Modifier and TypeMethod and Description
pack-priv String
pack-priv File
sourceFile(Location loc)

Return a File corresponding to the source of this location.

pack-priv BufferedReader
sourceReader(Location loc)

Return a BufferedReader corresponding to the source of this location.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

dirsback to summary
private final String[] dirs

Constructor Detail

SourceMapperback to summary
pack-priv SourceMapper(List<String> sourcepath)
SourceMapperback to summary
pack-priv SourceMapper(String sourcepath)

Method Detail

getSourcePathback to summary
pack-priv String getSourcePath()
sourceFileback to summary
pack-priv File sourceFile(Location loc)

Return a File corresponding to the source of this location. Return null if not available.

sourceReaderback to summary
pack-priv BufferedReader sourceReader(Location loc)

Return a BufferedReader corresponding to the source of this location. Return null if not available.

Note

returned reader must be closed.