org.teatrove.tea.runtime
Interface OutputReceiver
- All Known Subinterfaces:
- Context, UtilityContext
- All Known Implementing Classes:
- DefaultContext, TestCompiler.Context
public interface OutputReceiver
Defines a simple interface for Tea templates to output information.
- Author:
- Brian S O'Neill
- See Also:
Compiler.getRuntimeReceiver()
print
void print(Object obj)
throws Exception
- This method receives the output of a template.
NOTE: This method should not be called directly within a
template.
- Throws:
Exception
write
void write(int c)
throws IOException
- Throws:
IOException
write
void write(char[] cbuf)
throws IOException
- Throws:
IOException
write
void write(char[] cbuf,
int off,
int len)
throws IOException
- Throws:
IOException
write
void write(String str)
throws IOException
- Throws:
IOException
write
void write(String str,
int off,
int len)
throws IOException
- Throws:
IOException
Copyright © 1997-2012 TeaTrove.org. All Rights Reserved.