home *** CD-ROM | disk | FTP | other *** search
- package allaire.util.template;
-
- import java.io.DataOutputStream;
- import java.io.IOException;
- import java.io.OutputStream;
-
- public class TemplateOutput {
- private DataOutputStream m_output;
-
- public TemplateOutput(OutputStream var1) {
- this.m_output = new DataOutputStream(var1);
- }
-
- public void write(String var1) throws TemplateException {
- try {
- this.m_output.writeBytes(var1);
- } catch (IOException var4) {
- throw new TemplateException(1004, "IO error occurred while attempting to write template " + "results to stream (" + ((Throwable)var4).getMessage() + ").");
- }
- }
- }
-