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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
cook(java.io.InputStream... inputStreams)
Same asCookable.cook(InputStream)
, but cooks a set of documents into one class.void
cook(java.io.InputStream[] inputStreams, java.lang.String[] encodings)
Same asCookable.cook(InputStream, String)
, but cooks a set of documents into one class.void
cook(java.io.Reader... readers)
Same asCookable.cook(Reader)
, but cooks a set of documents into one class.void
cook(java.lang.String[] strings)
Same asCookable.cook(String)
, but cooks a set of documents into one class.void
cook(java.lang.String[] fileNames, java.io.InputStream[] inputStreams)
Same asCookable.cook(String, InputStream)
, but cooks a set of documents into one class.void
cook(java.lang.String[] fileNames, java.io.InputStream[] inputStreams, java.lang.String[] encodings)
Same asCookable.cook(String, InputStream, String)
, but cooks a set of documents into one class.void
cook(java.lang.String[] fileNames, java.io.Reader[] readers)
Same asCookable.cook(String, Reader)
, but cooks a set of documents into one class.void
cook(java.lang.String[] fileNames, java.lang.String[] strings)
Same asCookable.cook(String, String)
, but cooks a set of documents into one class.void
cookFiles(java.io.File[] files)
Same asCookable.cookFile(File)
, but cooks a set of documents into one class.void
cookFiles(java.io.File[] files, java.lang.String[] encodings)
Same asCookable.cookFile(File, String)
, but cooks a set of documents into one class.void
cookFiles(java.lang.String[] fileNames)
Same asCookable.cookFile(String)
, but cooks a set of documents into one class.void
cookFiles(java.lang.String[] fileNames, java.lang.String[] encodings)
Same asCookable.cookFile(String, String)
, but cooks a set of documents into one class.
-
-
-
Method Detail
-
cook
void cook(java.io.Reader... readers) throws CompileException, java.io.IOException
Same asCookable.cook(Reader)
, but cooks a set of documents into one class.- Throws:
CompileException
java.io.IOException
-
cook
void cook(java.lang.String[] fileNames, java.io.Reader[] readers) throws CompileException, java.io.IOException
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
java.io.IOException
-
cook
void cook(java.lang.String[] strings) throws CompileException
Same asCookable.cook(String)
, but cooks a set of documents into one class.- Throws:
CompileException
-
cook
void cook(java.lang.String[] fileNames, java.lang.String[] strings) throws CompileException
Same asCookable.cook(String, String)
, but cooks a set of documents into one class.- Throws:
CompileException
-
cook
void cook(java.io.InputStream... inputStreams) throws CompileException, java.io.IOException
Same asCookable.cook(InputStream)
, but cooks a set of documents into one class.- Throws:
CompileException
java.io.IOException
-
cook
void cook(java.io.InputStream[] inputStreams, java.lang.String[] encodings) throws CompileException, java.io.IOException
Same asCookable.cook(InputStream, String)
, but cooks a set of documents into one class.- Throws:
CompileException
java.io.IOException
-
cook
void cook(java.lang.String[] fileNames, java.io.InputStream[] inputStreams) throws CompileException, java.io.IOException
Same asCookable.cook(String, InputStream)
, but cooks a set of documents into one class.- Throws:
CompileException
java.io.IOException
-
cook
void cook(java.lang.String[] fileNames, java.io.InputStream[] inputStreams, java.lang.String[] encodings) throws CompileException, java.io.IOException
Same asCookable.cook(String, InputStream, String)
, but cooks a set of documents into one class.- Throws:
CompileException
java.io.IOException
-
cookFiles
void cookFiles(java.io.File[] files) throws CompileException, java.io.IOException
Same asCookable.cookFile(File)
, but cooks a set of documents into one class.- Throws:
CompileException
java.io.IOException
-
cookFiles
void cookFiles(java.io.File[] files, java.lang.String[] encodings) throws CompileException, java.io.IOException
Same asCookable.cookFile(File, String)
, but cooks a set of documents into one class.- Throws:
CompileException
java.io.IOException
-
cookFiles
void cookFiles(java.lang.String[] fileNames) throws CompileException, java.io.IOException
Same asCookable.cookFile(String)
, but cooks a set of documents into one class.- Throws:
CompileException
java.io.IOException
-
cookFiles
void cookFiles(java.lang.String[] fileNames, java.lang.String[] encodings) throws CompileException, java.io.IOException
Same asCookable.cookFile(String, String)
, but cooks a set of documents into one class.- Throws:
CompileException
java.io.IOException
-
-