|
janino.net | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.codehaus.commons.compiler.Cookable
public abstract class Cookable
Base class for a simple ICookable.
| Field Summary |
|---|
| Fields inherited from interface org.codehaus.commons.compiler.ICookable |
|---|
BOOT_CLASS_LOADER, SYSTEM_PROPERTY_SOURCE_DEBUGGING_DIR, SYSTEM_PROPERTY_SOURCE_DEBUGGING_ENABLE |
| Constructor Summary | |
|---|---|
Cookable()
|
|
| Method Summary | |
|---|---|
void |
cook(InputStream is)
Reads, scans, parses and compiles Java tokens from the given InputStream, encoded
in the "platform default encoding". |
void |
cook(InputStream is,
String optionalEncoding)
Reads, scans, parses and compiles Java tokens from the given InputStream with the
given encoding. |
void |
cook(Reader r)
Reads, scans, parses and compiles Java tokens from the given Reader. |
void |
cook(String s)
Reads, scans, parses and compiles Java tokens from the given String. |
void |
cook(String optionalFileName,
InputStream is)
Reads, scans, parses and compiles Java tokens from the given InputStream, encoded
in the "platform default encoding". |
void |
cook(String optionalFileName,
InputStream is,
String optionalEncoding)
Reads, scans, parses and compiles Java tokens from the given InputStream with the
given encoding. |
abstract void |
cook(String optionalFileName,
Reader r)
Reads, scans, parses and compiles Java tokens from the given Reader. |
void |
cook(String optionalFileName,
String s)
Reads, scans, parses and compiles Java tokens from the given String. |
void |
cookFile(File file)
Reads, scans, parses and compiles Java tokens from the given File, encoded
in the "platform default encoding". |
void |
cookFile(File file,
String optionalEncoding)
Reads, scans, parses and compiles Java tokens from the given File with the
given encoding. |
void |
cookFile(String fileName)
Reads, scans, parses and compiles Java tokens from the named file, encoded in the "platform default encoding". |
void |
cookFile(String fileName,
String optionalEncoding)
Reads, scans, parses and compiles Java tokens from the named file with the given optionalEncoding. |
static String |
readString(Reader r)
Reads all characters from the given Reader into a String. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.codehaus.commons.compiler.ICookable |
|---|
setCompileErrorHandler, setDebuggingInformation, setParentClassLoader, setWarningHandler |
| Constructor Detail |
|---|
public Cookable()
| Method Detail |
|---|
public abstract void cook(String optionalFileName,
Reader r)
throws CompileException,
IOException
ICookableReader.
cook in interface ICookableoptionalFileName - Used when reporting errors and warnings.
CompileException
IOExceptionICookable.cook(String, Reader)
public final void cook(Reader r)
throws CompileException,
IOException
ICookableReader.
cook in interface ICookableCompileException
IOExceptionICookable.cook(Reader)
public final void cook(InputStream is)
throws CompileException,
IOException
ICookableInputStream, encoded
in the "platform default encoding".
cook in interface ICookableCompileException
IOExceptionICookable.cook(InputStream)
public final void cook(String optionalFileName,
InputStream is)
throws CompileException,
IOException
ICookableInputStream, encoded
in the "platform default encoding".
cook in interface ICookableoptionalFileName - Used when reporting errors and warnings.
CompileException
IOExceptionICookable.cook(String, InputStream)
public final void cook(InputStream is,
String optionalEncoding)
throws CompileException,
IOException
ICookableInputStream with the
given encoding.
cook in interface ICookableCompileException
IOExceptionICookable.cook(InputStream, String)
public final void cook(String optionalFileName,
InputStream is,
String optionalEncoding)
throws CompileException,
IOException
ICookableInputStream with the
given encoding.
cook in interface ICookableoptionalFileName - Used when reporting errors and warnings.
CompileException
IOExceptionICookable.cook(String, InputStream, String)
public void cook(String s)
throws CompileException
ICookableString.
cook in interface ICookableCompileExceptionICookable.cook(String)
public void cook(String optionalFileName,
String s)
throws CompileException
ICookableString.
cook in interface ICookableoptionalFileName - Used when reporting errors and warnings.
CompileExceptionICookable.cook(String, String)
public final void cookFile(File file)
throws CompileException,
IOException
ICookableFile, encoded
in the "platform default encoding".
cookFile in interface ICookableCompileException
IOExceptionICookable.cookFile(File)
public final void cookFile(File file,
String optionalEncoding)
throws CompileException,
IOException
ICookableFile with the
given encoding.
cookFile in interface ICookableCompileException
IOExceptionICookable.cookFile(File, String)
public final void cookFile(String fileName)
throws CompileException,
IOException
ICookable
cookFile in interface ICookableCompileException
IOExceptionICookable.cookFile(String)
public final void cookFile(String fileName,
String optionalEncoding)
throws CompileException,
IOException
ICookableoptionalEncoding.
cookFile in interface ICookableCompileException
IOExceptionICookable.cookFile(String, String)
public static String readString(Reader r)
throws IOException
Reader into a String.
IOException
|
janino.net | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||