2011-09-02 14:21:04 +02:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2011-02-08 12:27:00 +01:00
|
|
|
<!--
|
|
|
|
|
|
|
|
This file is
|
|
|
|
|
|
|
|
Copyright 2007,2008,2009,2010 Rustici Software, LLC
|
2011-03-22 08:50:05 +01:00
|
|
|
Copyright 2010,2011 Kevin Glynn (kevin.glynn@twigletsoftware.com)
|
2011-02-08 12:27:00 +01:00
|
|
|
|
|
|
|
-->
|
2011-01-04 17:46:11 +01:00
|
|
|
<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">
|
2011-01-10 11:18:36 +01:00
|
|
|
<Imports>
|
2011-09-02 14:21:04 +02:00
|
|
|
<Import>java.io.BufferedReader</Import>
|
2011-01-10 11:18:36 +01:00
|
|
|
</Imports>
|
2011-01-04 15:58:18 +01:00
|
|
|
<Java>BufferedReader</Java>
|
|
|
|
<Name>System.IO.StreamReader</Name>
|
|
|
|
<Uses />
|
|
|
|
<Inherits>
|
|
|
|
<Type>System.IO.TextReader</Type>
|
|
|
|
</Inherits>
|
|
|
|
<Methods />
|
|
|
|
<Properties />
|
|
|
|
<Events />
|
|
|
|
<Indexers />
|
|
|
|
<Constructors>
|
|
|
|
<Constructor>
|
|
|
|
<Imports>
|
2011-02-08 10:25:05 +01:00
|
|
|
<Import>CS2JNet.System.IO.StreamReader</Import>
|
2011-09-02 14:21:04 +02:00
|
|
|
<Import>java.io.BufferedReader</Import>
|
|
|
|
<Import>java.io.BufferedInputStream</Import>
|
|
|
|
<Import>java.io.FileInputStream</Import>
|
2011-01-04 15:58:18 +01:00
|
|
|
</Imports>
|
|
|
|
<Java>new BufferedReader(StreamReader.make(new BufferedInputStream(new FileInputStream(${path}))))</Java>
|
|
|
|
<Params>
|
|
|
|
<Param>
|
|
|
|
<Type>System.String</Type>
|
|
|
|
<Name>path</Name>
|
|
|
|
</Param>
|
|
|
|
</Params>
|
|
|
|
</Constructor>
|
|
|
|
<Constructor>
|
|
|
|
<Imports>
|
2011-02-08 10:25:05 +01:00
|
|
|
<Import>CS2JNet.System.IO.StreamReader</Import>
|
2011-09-02 14:21:04 +02:00
|
|
|
<Import>java.io.BufferedReader</Import>
|
|
|
|
<Import>java.io.BufferedInputStream</Import>
|
|
|
|
<Import>java.io.FileInputStream</Import>
|
2011-01-04 15:58:18 +01:00
|
|
|
</Imports>
|
|
|
|
<Java>new BufferedReader(StreamReader.make(new BufferedInputStream(new FileInputStream(${path}), ${encoding})))</Java>
|
|
|
|
<Params>
|
|
|
|
<Param>
|
|
|
|
<Type>System.String</Type>
|
|
|
|
<Name>path</Name>
|
|
|
|
</Param>
|
|
|
|
<Param>
|
|
|
|
<Type>System.Text.Encoding</Type>
|
|
|
|
<Name>encoding</Name>
|
|
|
|
</Param>
|
|
|
|
</Params>
|
|
|
|
</Constructor>
|
|
|
|
<Constructor>
|
|
|
|
<Imports>
|
2011-02-08 10:25:05 +01:00
|
|
|
<Import>CS2JNet.System.IO.StreamReader</Import>
|
2011-09-02 14:21:04 +02:00
|
|
|
<Import>java.io.BufferedReader</Import>
|
|
|
|
<Import>java.io.BufferedInputStream</Import>
|
2011-01-04 15:58:18 +01:00
|
|
|
</Imports>
|
|
|
|
<Java>new BufferedReader(StreamReader.make(new BufferedInputStream(${stream}), ${encoding}))</Java>
|
|
|
|
<Params>
|
|
|
|
<Param>
|
|
|
|
<Type>System.IO.Stream</Type>
|
|
|
|
<Name>stream</Name>
|
|
|
|
</Param>
|
|
|
|
<Param>
|
|
|
|
<Type>System.Text.Encoding</Type>
|
|
|
|
<Name>encoding</Name>
|
|
|
|
</Param>
|
|
|
|
</Params>
|
|
|
|
</Constructor>
|
|
|
|
<Constructor>
|
|
|
|
<Imports>
|
2011-02-08 10:25:05 +01:00
|
|
|
<Import>CS2JNet.System.IO.StreamReader</Import>
|
|
|
|
<Import>CS2JNet.System.Text.EncodingSupport</Import>
|
2011-09-02 14:21:04 +02:00
|
|
|
<Import>java.io.BufferedReader</Import>
|
|
|
|
<Import>java.io.BufferedInputStream</Import>
|
2011-01-04 15:58:18 +01:00
|
|
|
</Imports>
|
|
|
|
<Java>new BufferedReader(StreamReader.make(new BufferedInputStream(${stream}), new EncodingSupport("UTF-8")))</Java>
|
|
|
|
<Params>
|
|
|
|
<Param>
|
|
|
|
<Type>System.IO.Stream</Type>
|
|
|
|
<Name>stream</Name>
|
|
|
|
</Param>
|
|
|
|
</Params>
|
|
|
|
</Constructor>
|
|
|
|
</Constructors>
|
|
|
|
<Fields />
|
|
|
|
<Casts />
|
|
|
|
<UnaryOps />
|
|
|
|
<BinaryOps />
|
2011-03-18 17:40:02 +01:00
|
|
|
<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>mfWzBSGsicKccUFHO583fK8qjCw=</DigestValue></Reference></SignedInfo><SignatureValue>epFhZfnoNYknzAJH1+c5AzGAM3zv93AYVClyIPfLexHeHDCnAtds/+KYqjalnXLTZdIO64G7viJi0KySVX+GefJJhPD2aaGQpjdRl5FASjkb3jJr1okzHLtFswweG2ryCAKCEORc9243qr4XMvmghD/MGVuCAi5+5SJ9mor29cE=</SignatureValue></Signature></Class>
|