Package org.codehaus.commons.compiler
Interface IMultiCookable
- All Known Subinterfaces:
IExpressionEvaluator
,IScriptEvaluator
- All Known Implementing Classes:
ExpressionEvaluator
,ExpressionEvaluator
,MultiCookable
,ScriptEvaluator
,ScriptEvaluator
public interface IMultiCookable
-
Method Summary
Modifier and TypeMethodDescriptionvoid
cook
(InputStream... inputStreams) Same asCookable.cook(InputStream)
, but cooks a set of documents into one class.void
cook
(InputStream[] inputStreams, String[] encodings) Same asCookable.cook(InputStream, String)
, but cooks a set of documents into one class.void
Same asCookable.cook(Reader)
, but cooks a set of documents into one class.void
Same asCookable.cook(String)
, but cooks a set of documents into one class.void
cook
(String[] fileNames, InputStream[] inputStreams) Same asCookable.cook(String, InputStream)
, but cooks a set of documents into one class.void
cook
(String[] fileNames, InputStream[] inputStreams, String[] encodings) Same asCookable.cook(String, InputStream, String)
, but cooks a set of documents into one class.void
Same asCookable.cook(String, Reader)
, but cooks a set of documents into one class.void
Same asCookable.cook(String, String)
, but cooks a set of documents into one class.void
Same asCookable.cookFile(File)
, but cooks a set of documents into one class.void
Same asCookable.cookFile(File, String)
, but cooks a set of documents into one class.void
Same asCookable.cookFile(String)
, but cooks a set of documents into one class.void
Same asCookable.cookFile(String, String)
, but cooks a set of documents into one class.
-
Method Details
-
cook
Same asCookable.cook(Reader)
, but cooks a set of documents into one class.- Throws:
CompileException
IOException
-
cook
Same asCookable.cook(String, Reader)
, but cooks a set of documents into one class. Notice that if any of the documents causes trouble, the entire compilation will fail. If you need to report which of the documents causes the exception, you may want to use thefileNames
parameter to distinguish between the individual token sources.- Throws:
CompileException
IOException
-
cook
Same asCookable.cook(String)
, but cooks a set of documents into one class.- Throws:
CompileException
-
cook
Same asCookable.cook(String, String)
, but cooks a set of documents into one class.- Throws:
CompileException
-
cook
Same asCookable.cook(InputStream)
, but cooks a set of documents into one class.- Throws:
CompileException
IOException
-
cook
Same asCookable.cook(InputStream, String)
, but cooks a set of documents into one class.- Throws:
CompileException
IOException
-
cook
Same asCookable.cook(String, InputStream)
, but cooks a set of documents into one class.- Throws:
CompileException
IOException
-
cook
void cook(String[] fileNames, InputStream[] inputStreams, String[] encodings) throws CompileException, IOException Same asCookable.cook(String, InputStream, String)
, but cooks a set of documents into one class.- Throws:
CompileException
IOException
-
cookFiles
Same asCookable.cookFile(File)
, but cooks a set of documents into one class.- Throws:
CompileException
IOException
-
cookFiles
Same asCookable.cookFile(File, String)
, but cooks a set of documents into one class.- Throws:
CompileException
IOException
-
cookFiles
Same asCookable.cookFile(String)
, but cooks a set of documents into one class.- Throws:
CompileException
IOException
-
cookFiles
Same asCookable.cookFile(String, String)
, but cooks a set of documents into one class.- Throws:
CompileException
IOException
-