Interface IMultiCookable
- All Known Subinterfaces:
IExpressionEvaluator, IScriptEvaluator
- All Known Implementing Classes:
ExpressionEvaluator, ExpressionEvaluator, MultiCookable, ScriptEvaluator, ScriptEvaluator
public interface IMultiCookable
-
Method Summary
Modifier and TypeMethodDescriptionvoidcook(InputStream... inputStreams) Same asCookable.cook(InputStream), but cooks a set of documents into one class.voidcook(InputStream[] inputStreams, String[] encodings) Same asCookable.cook(InputStream, String), but cooks a set of documents into one class.voidSame asCookable.cook(Reader), but cooks a set of documents into one class.voidSame asCookable.cook(String), but cooks a set of documents into one class.voidcook(String[] fileNames, InputStream[] inputStreams) Same asCookable.cook(String, InputStream), but cooks a set of documents into one class.voidcook(String[] fileNames, InputStream[] inputStreams, String[] encodings) Same asCookable.cook(String, InputStream, String), but cooks a set of documents into one class.voidSame asCookable.cook(String, Reader), but cooks a set of documents into one class.voidSame asCookable.cook(String, String), but cooks a set of documents into one class.voidSame asCookable.cookFile(File), but cooks a set of documents into one class.voidSame asCookable.cookFile(File, String), but cooks a set of documents into one class.voidSame asCookable.cookFile(String), but cooks a set of documents into one class.voidSame 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:
CompileExceptionIOException
-
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 thefileNamesparameter to distinguish between the individual token sources.- Throws:
CompileExceptionIOException
-
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:
CompileExceptionIOException
-
cook
Same asCookable.cook(InputStream, String), but cooks a set of documents into one class.- Throws:
CompileExceptionIOException
-
cook
Same asCookable.cook(String, InputStream), but cooks a set of documents into one class.- Throws:
CompileExceptionIOException
-
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:
CompileExceptionIOException
-
cookFiles
Same asCookable.cookFile(File), but cooks a set of documents into one class.- Throws:
CompileExceptionIOException
-
cookFiles
Same asCookable.cookFile(File, String), but cooks a set of documents into one class.- Throws:
CompileExceptionIOException
-
cookFiles
Same asCookable.cookFile(String), but cooks a set of documents into one class.- Throws:
CompileExceptionIOException
-
cookFiles
Same asCookable.cookFile(String, String), but cooks a set of documents into one class.- Throws:
CompileExceptionIOException
-