Top Methods
org.codehaus.commons.compiler

public Interface IMultiCookable

Known Direct Subinterfaces
org.codehaus.commons.compiler.IScriptEvaluator, org.codehaus.commons.compiler.IExpressionEvaluator
Known Direct Implementers
org.codehaus.commons.compiler.MultiCookable
Imports
java.io.File, .IOException, .InputStream, .Reader

Method Summary

Modifier and TypeMethod and Description
public void
cook(Reader... readers)

Same as Cookable#cook(Reader), but cooks a set of documents into one class.

public void
cook(String[] fileNames, Reader[] readers)

Same as Cookable#cook(String, Reader), but cooks a set of documents into one class.

public void
cook(String[] strings)

Same as Cookable#cook(String), but cooks a set of documents into one class.

public void
cook(String[] fileNames, String[] strings)

Same as Cookable#cook(String, String), but cooks a set of documents into one class.

public void
cook(InputStream... inputStreams)

Same as Cookable#cook(InputStream), but cooks a set of documents into one class.

public void
cook(InputStream[] inputStreams, String[] encodings)

Same as Cookable#cook(InputStream, String), but cooks a set of documents into one class.

public void
cook(String[] fileNames, InputStream[] inputStreams)

Same as Cookable#cook(String, InputStream), but cooks a set of documents into one class.

public void
cook(String[] fileNames, InputStream[] inputStreams, String[] encodings)

Same as Cookable#cook(String, InputStream, String), but cooks a set of documents into one class.

public void
cookFiles(File[] files)

Same as Cookable#cookFile(File), but cooks a set of documents into one class.

public void
cookFiles(File[] files, String[] encodings)

Same as Cookable#cookFile(File, String), but cooks a set of documents into one class.

public void
cookFiles(String[] fileNames)

Same as Cookable#cookFile(String), but cooks a set of documents into one class.

public void
cookFiles(String[] fileNames, String[] encodings)

Same as Cookable#cookFile(String, String), but cooks a set of documents into one class.

Method Detail

cookback to summary
public void cook(Reader... readers) throws CompileException, IOException

Same as Cookable#cook(Reader), but cooks a set of documents into one class.

cookback to summary
public void cook(String[] fileNames, Reader[] readers) throws CompileException, IOException

Same as Cookable#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 the fileNames parameter to distinguish between the individual token sources.

cookback to summary
public void cook(String[] strings) throws CompileException

Same as Cookable#cook(String), but cooks a set of documents into one class.

cookback to summary
public void cook(String[] fileNames, String[] strings) throws CompileException

Same as Cookable#cook(String, String), but cooks a set of documents into one class.

cookback to summary
public void cook(InputStream... inputStreams) throws CompileException, IOException

Same as Cookable#cook(InputStream), but cooks a set of documents into one class.

cookback to summary
public void cook(InputStream[] inputStreams, String[] encodings) throws CompileException, IOException

Same as Cookable#cook(InputStream, String), but cooks a set of documents into one class.

cookback to summary
public void cook(String[] fileNames, InputStream[] inputStreams) throws CompileException, IOException

Same as Cookable#cook(String, InputStream), but cooks a set of documents into one class.

cookback to summary
public void cook(String[] fileNames, InputStream[] inputStreams, String[] encodings) throws CompileException, IOException

Same as Cookable#cook(String, InputStream, String), but cooks a set of documents into one class.

cookFilesback to summary
public void cookFiles(File[] files) throws CompileException, IOException

Same as Cookable#cookFile(File), but cooks a set of documents into one class.

cookFilesback to summary
public void cookFiles(File[] files, String[] encodings) throws CompileException, IOException

Same as Cookable#cookFile(File, String), but cooks a set of documents into one class.

cookFilesback to summary
public void cookFiles(String[] fileNames) throws CompileException, IOException

Same as Cookable#cookFile(String), but cooks a set of documents into one class.

cookFilesback to summary
public void cookFiles(String[] fileNames, String[] encodings) throws CompileException, IOException

Same as Cookable#cookFile(String, String), but cooks a set of documents into one class.