DirectorySourceFileLocator
, InputStreamSourceFileLocator
, MultiSourceFileLocator
public interface ISourceFileLocator
Modifier and Type | Method | Description |
---|---|---|
java.io.Reader |
getSourceFile(java.lang.String packageName,
java.lang.String fileName) |
Tries to locate the given source file and opens a reader with the
appropriate encoding.
|
int |
getTabWidth() |
Returns number of blank characters that represent a tab in source code.
|
java.io.Reader getSourceFile(java.lang.String packageName, java.lang.String fileName) throws java.io.IOException
packageName
- VM name of the packagefileName
- name of the source filenull
otherwisejava.io.IOException
- in case of problems while opening the fileint getTabWidth()
Copyright © 2018. All rights reserved.