<?xml version="1.0" encoding="utf-8"?> <!-- This file is Copyright 2007,2008,2009,2010 Rustici Software, LLC Copyright 2010,2011 Kevin Glynn (kevin.glynn@twigletsoftware.com) --> <Class xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:www.twigletsoftware.com:schemas:txtemplate:1:0"> <Imports> <Import>java.io.PrintWriter</Import> </Imports> <Java>PrintWriter</Java> <Name>System.IO.StreamWriter</Name> <Uses /> <Inherits> <Type>System.IO.TextWriter</Type> </Inherits> <Methods /> <Properties /> <Events /> <Indexers /> <Constructors> <Constructor> <Imports> <Import>java.io.PrintWriter</Import> <Import>java.io.FileWriter</Import> </Imports> <Java>new PrintWriter(new FileWriter(${path}), true)</Java> <Params> <Param> <Type>System.String</Type> <Name>path</Name> </Param> </Params> </Constructor> <Constructor> <Imports> <Import>java.io.PrintWriter</Import> <Import>java.io.FileWriter</Import> </Imports> <Java>new PrintWriter(new FileWriter(${path},${append}),true)</Java> <Params> <Param> <Type>System.String</Type> <Name>path</Name> </Param> <Param> <Type>System.Boolean</Type> <Name>append</Name> </Param> </Params> </Constructor> <Constructor> <Imports> <Import>java.io.PrintStream</Import> </Imports> <Java>new PrintStream(${stream}.getOutputStream())</Java> <Params> <Param> <Type>System.IO.FileStream</Type> <Name>stream</Name> </Param> </Params> </Constructor> </Constructors> <Fields /> <Casts /> <UnaryOps /> <BinaryOps /> <Signature xmlns="http://www.w3.org/2000/09/xmldsig#"><SignedInfo><CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315" /><SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1" /><Reference URI=""><Transforms><Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature" /></Transforms><DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" /><DigestValue>gQCyQp7yYf3x8Zc+6aVzN/zy0FA=</DigestValue></Reference></SignedInfo><SignatureValue>W22SjJme6SsQzmDIRQAh0khPlvXnXNxPRT+OKvKF9GrzALvgiriSKv8pJz9LRSGy4jlBXvn2N33llA7XaEZJy6zowX/JP+4s/9XIZPnCY5zYCqmLk9/Zsy8AkVKjGj8I3d6W1Fs00eP9sR/LH9vrR5sqy3Bzegu3LOSFQvLRLA0=</SignatureValue></Signature></Class>