2011-04-28 11:19:47 +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-01-04 15:58:18 +01:00
|
|
|
<Java>Encoding</Java>
|
|
|
|
<Name>System.Text.Encoding</Name>
|
|
|
|
<Uses />
|
2011-01-21 17:52:57 +01:00
|
|
|
<Inherits> <Type>System.Object</Type> </Inherits>
|
2011-01-04 15:58:18 +01:00
|
|
|
<Methods>
|
|
|
|
<Method>
|
|
|
|
<Imports />
|
2011-02-01 22:52:28 +01:00
|
|
|
<Java>${this:16}.getBytes(${s})</Java>
|
2011-01-04 15:58:18 +01:00
|
|
|
<Params>
|
|
|
|
<Param>
|
|
|
|
<Type>System.String</Type>
|
|
|
|
<Name>s</Name>
|
|
|
|
</Param>
|
|
|
|
</Params>
|
|
|
|
<Name>GetBytes</Name>
|
|
|
|
<Return>System.Byte[]</Return>
|
|
|
|
</Method>
|
|
|
|
</Methods>
|
|
|
|
<Properties>
|
|
|
|
<Property>
|
|
|
|
<Imports>
|
2011-02-08 10:25:05 +01:00
|
|
|
<Import>CS2JNet.System.Text.EncodingSupport</Import>
|
2011-01-04 15:58:18 +01:00
|
|
|
</Imports>
|
|
|
|
<Type>System.Text.Encoding</Type>
|
|
|
|
<Name>UTF8</Name>
|
2011-04-28 11:19:47 +02:00
|
|
|
<Get>EncodingSupport.GetEncoder("UTF-8")</Get>
|
2011-02-01 22:52:28 +01:00
|
|
|
<Set>${this:16}.setUTF8(${value})</Set>
|
2011-01-04 15:58:18 +01:00
|
|
|
</Property>
|
2011-04-28 11:19:47 +02:00
|
|
|
<Property>
|
|
|
|
<Imports>
|
|
|
|
<Import>CS2JNet.System.Text.EncodingSupport</Import>
|
|
|
|
</Imports>
|
|
|
|
<Type>System.Text.Encoding</Type>
|
|
|
|
<Name>ASCII</Name>
|
|
|
|
<Get>EncodingSupport.GetEncoder("ASCII")</Get>
|
|
|
|
</Property>
|
2011-01-04 15:58:18 +01:00
|
|
|
</Properties>
|
|
|
|
<Events />
|
|
|
|
<Indexers />
|
|
|
|
<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>Jfq7/2e88+qxaeWuAbukQ0Qt8eo=</DigestValue></Reference></SignedInfo><SignatureValue>eakV19ZFVskhCuzcl8CIdfiX/vpnEGGown2PHwd68ZZNwzkhHhN9M+nJmvHvVfamn9bW5KxT4xT87fCKtitpmvLzBLp6+x/Q8hklQFHuUBjvKmchqt9ZEGKdz3Qmrk3gTNZdu0LFh+xkomG5ttvlc+BCd52fYn2YKcHMBW3PU8g=</SignatureValue></Signature></Class>
|