Source code: com/arranger/jarl/script/gsp/IGSPCompiler.java
1 package com.arranger.jarl.script.gsp;
2
3 import java.io.Reader;
4
5 /**
6 * Defines an interface for the parser to call into the compiler.
7 */
8 public interface IGSPCompiler {
9 /**
10 * Gets the inuput stream to the specified file.
11 *
12 * @param file URI specifing file to open.
13 *
14 * @return Input stream of specified file.
15 *
16 * @throws GSPException if file cannot be opened.
17 */
18 public Reader open(String file) throws GSPException;
19 }