The default regular expression for matching include directives.
The default maximum nesting level for includes.
Allocate an includer, using the default values for the
maxNesting
and includeRegex
parameters.
Allocate an includer, using the default values for the
maxNesting
and includeRegex
parameters.
the path or URI string to read
Allocate an includer, using the default value for the
maxNesting
parameter.
Allocate an includer, using the default value for the
maxNesting
parameter.
the path or URI string to read
the regular expression that defines an include directive. Must contain a group that surrounds the file or URL part.
Allocate an includer.
Allocate an includer.
the path or URI string to read
the regular expression that defines an include directive. Must contain a group that surrounds the file or URL part.
the maximum nesting level
Allocate an includer, using the default values for the
maxNesting
and includeRegex
parameters.
Allocate an includer, using the default values for the
maxNesting
and includeRegex
parameters.
the Source
to read
Allocate an includer, using the default value for the
maxNesting
parameter.
Allocate an includer, using the default value for the
maxNesting
parameter.
the Source
to read
the regular expression that defines an include directive. Must contain a group that surrounds the file or URL part.
Allocate an includer.
Allocate an includer.
the Source
to read
the regular expression that defines an include directive. Must contain a group that surrounds the file or URL part.
the maximum nesting level
Process all include directives in the specified file, returning a path to a temporary file that contains the results of the expansion.
Process all include directives in the specified file, returning a path to a temporary file that contains the results of the expansion. The temporary file is automatically removed when the program exits, though the caller is free to remove it whenever it is no longer needed.
the path or URI string to read
temporary file prefix, with the same meaning as the
temporary file prefix used by
java.io.File.createTempFile()
temporary file suffix, with the same meaning as the
temporary file suffix used by
java.io.File.createTempFile()
the path to the temporary file
Companion object for the
Includer
class. Also contains some utility methods, such as thepreprocess()
method.