org.apache.maven.jxr.pacman
public class FileManager extends Object
Singleton that handles holding references to JavaFiles. This allows Alexandria to lookup and see if a file has already been parsed out and then it can load the information from memory instead of reparsing the file.
Note. This assumes that the file will not be modified on disk while Alexandria is running.
Method Summary | |
---|---|
void | addFile(JavaFile file)
Add a file to this filemanager. |
String | getEncoding()
see setEncoding(String)
|
JavaFile | getFile(String name)
Get a file from it's name. |
static FileManager | getInstance()
Get an instance of the FileManager |
void | setEncoding(String encoding)
Encoding is the encoding of source files.
|
See Also: setEncoding(String)
Parameters: encoding encoding of source files