org.systemsbiology.util
Class IncludeHandler
java.lang.Object
org.systemsbiology.util.IncludeHandler
- public class IncludeHandler
- extends Object
Utility class for handling nested file
inclusion, in a scripting environment.
- Author:
- Stephen Ramsey
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IncludeHandler
public IncludeHandler()
getDirectory
public File getDirectory()
setDirectory
public void setDirectory(File pDirectory)
throws IllegalArgumentException
- Throws:
IllegalArgumentException
getIncludeFileAbsolutePath
public String getIncludeFileAbsolutePath(String pIncludeFileName)
throws IOException
- Throws:
IOException
openReaderForIncludeFile
public BufferedReader openReaderForIncludeFile(String pIncludedFileName,
Charset pCharset)
throws IOException
- Throws:
IOException
isWithinIncludeFile
public boolean isWithinIncludeFile()