mirror of
https://github.com/twiglet/cs2j.git
synced 2025-01-18 13:15:17 +01:00
98 lines
2.9 KiB
XML
98 lines
2.9 KiB
XML
<?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.BufferedReader</Import>
|
|
</Imports>
|
|
<Java>BufferedReader</Java>
|
|
<Name>System.IO.StreamReader</Name>
|
|
<Uses />
|
|
<Inherits>
|
|
<Type>System.IO.TextReader</Type>
|
|
</Inherits>
|
|
<Methods />
|
|
<Properties />
|
|
<Events />
|
|
<Indexers />
|
|
<Constructors>
|
|
<Constructor>
|
|
<Imports>
|
|
<Import>CS2JNet.System.IO.StreamReader</Import>
|
|
<Import>java.io.BufferedReader</Import>
|
|
<Import>java.io.BufferedInputStream</Import>
|
|
<Import>java.io.FileInputStream</Import>
|
|
</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>
|
|
<Import>CS2JNet.System.IO.StreamReader</Import>
|
|
<Import>java.io.BufferedReader</Import>
|
|
<Import>java.io.BufferedInputStream</Import>
|
|
<Import>java.io.FileInputStream</Import>
|
|
</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>
|
|
<Import>CS2JNet.System.IO.StreamReader</Import>
|
|
<Import>java.io.BufferedReader</Import>
|
|
<Import>java.io.BufferedInputStream</Import>
|
|
</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>
|
|
<Import>CS2JNet.System.IO.StreamReader</Import>
|
|
<Import>CS2JNet.System.Text.EncodingSupport</Import>
|
|
<Import>java.io.BufferedReader</Import>
|
|
<Import>java.io.BufferedInputStream</Import>
|
|
</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 />
|
|
</Class>
|