|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.codehaus.groovy.control.messages.Message
public abstract class Message
A base class for compilation messages.
Constructor Summary | |
---|---|
Message()
|
Method Summary | |
---|---|
static Message |
create(String text,
Object data,
ProcessingUnit owner)
Creates a new Message from the specified text. |
static Message |
create(String text,
ProcessingUnit owner)
Creates a new Message from the specified text. |
static Message |
create(SyntaxException error,
SourceUnit owner)
Creates a new Message from the specified SyntaxException. |
void |
write(PrintWriter writer)
A synonym for write( writer, owner, null ). |
abstract void |
write(PrintWriter writer,
Janitor janitor)
Writes the message to the specified PrintWriter. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Message()
Method Detail |
---|
public abstract void write(PrintWriter writer, Janitor janitor)
public final void write(PrintWriter writer)
public static Message create(String text, ProcessingUnit owner)
public static Message create(String text, Object data, ProcessingUnit owner)
public static Message create(SyntaxException error, SourceUnit owner)
|
Copyright © 2003-2009 The Codehaus. All rights reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |