public abstract class GotoSourceUtils extends Object
Constructor and Description |
---|
GotoSourceUtils() |
Modifier and Type | Method and Description |
---|---|
static SourcePreview |
previewFile(InputStream pFileStream,
int pLineNum)
Read the given stream and use it to return a valid
SourcePreview for the given line number |
public static SourcePreview previewFile(InputStream pFileStream, int pLineNum)
SourcePreview
for the given line numberpFileStream
- Stream to read frompLineNum
- Line number (corresponds to the middle of the preview to return)Copyright © 2017 LightySoft. All rights reserved. [v1.0.0 (June 29th, 2015)]