ovidiu 02/03/17 13:52:05 Modified: src/scratchpad/schecoon/src/org/apache/cocoon/components/flow Interpreter.java Log: Modified the readScript method to take the Environment as argument instead of an InputStream. Revision Changes Path 1.4 +5 -3 xml-cocoon2/src/scratchpad/schecoon/src/org/apache/cocoon/components/flow/Interpreter.java Index: Interpreter.java =================================================================== RCS file: /home/cvs/xml-cocoon2/src/scratchpad/schecoon/src/org/apache/cocoon/components/flow/Interpreter.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -r1.3 -r1.4 --- Interpreter.java 15 Mar 2002 23:35:19 -0000 1.3 +++ Interpreter.java 17 Mar 2002 21:52:05 -0000 1.4 @@ -6,6 +6,7 @@ import org.apache.avalon.framework.thread.ThreadSafe; import org.apache.cocoon.components.treeprocessor.InvokeContext; import org.apache.cocoon.environment.Environment; +import org.apache.cocoon.environment.Source; /** * The interface to the flow scripting languages. This interface is @@ -92,11 +93,12 @@ /** * Load a script given its location. * - * @param in a <code>String</code> value, representing the location - * of the script. + * @param environment an <code>Environment</code> value + * @param source a <code>String</code> value + * @return a <code>Source</code> value * @exception Exception if an error occurs */ - void readScript(String source) + Source readScript(Environment environment, String source) throws Exception; /**
---------------------------------------------------------------------- In case of troubles, e-mail: [EMAIL PROTECTED] To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]