Class ScriptReader.DefaultIncluder

java.lang.Object
com.blackrook.rookscript.compiler.ScriptReader.DefaultIncluder
All Implemented Interfaces:
ScriptReaderIncluder, PreprocessorLexer.Includer
Enclosing class:
ScriptReader

public static class ScriptReader.DefaultIncluder extends Object implements ScriptReaderIncluder
Default includer to use when none specified. This includer can either pull from the classpath, URIs, or files.

 

  • Paths that start with classpath: are parsed as resource paths in the current classpath.
  • Else, the path is interpreted as a file path, with the following search order:
    • Relative to parent of source stream.
    • As is.
  • Method Details