added japanese translation of java external object.
[scilab.git] / scilab / modules / external_objects_java / help / ja_JP / junwrap.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2
3 <!--
4 *
5 * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
6 * Copyright (C) 2010 - 2011 - Calixte DENIZET <calixte@contrib.scilab.org>
7 *
8 * This file must be used under the terms of the CeCILL.
9 * This source file is licensed as described in the file COPYING, which
10 * you should have received as part of this distribution.  The terms
11 * are also available at
12 * http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
13 *
14 *
15 -->
16
17 <refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" version="5.0-subset Scilab" xml:lang="ja" xml:id="junwrap">
18     
19     <refnamediv>
20         
21         <refname>junwrap</refname>
22         
23         <refpurpose>JavaオブジェクトをScilabネーティブ型に変換</refpurpose>
24         
25     </refnamediv>
26     
27     <refsynopsisdiv>
28         
29         <title>呼び出し手順</title>
30         
31         <synopsis>
32             
33             [var_1, var_2, ...] = junwrap(obj_1 [, obj_2 [, ...]])
34             
35         </synopsis>
36         
37     </refsynopsisdiv>
38     
39     <refsection>
40         
41         <title>パラメータ</title>
42         
43         <variablelist>
44             
45             <varlistentry>
46                 
47                 <term>obj_i</term>
48                 
49                 <listitem>
50                     
51                     <para>_JObj型のmlist</para>
52                     
53                 </listitem>
54                 
55             </varlistentry>
56             
57             <varlistentry>
58                 
59                 <term>var_i</term>
60                 
61                 <listitem>
62                     
63                     <para>Scilab変数</para>
64                     
65                 </listitem>
66                 
67             </varlistentry>
68             
69         </variablelist>
70         
71     </refsection>
72     
73     <refsection>
74         
75         <title>説明</title>
76         
77         <para>
78             
79             ネーティブJavaオブジェクトをネーティブScilabオブジェクトに
80             
81             変換します.
82             
83         </para>
84         
85     </refsection>
86     
87     <refsection>
88         
89         <title>例</title>
90         
91         <programlisting role="example"><![CDATA[
92                jimport java.lang.String;
93
94                s = String.new("Hello JIMS !!");
95                s1 = s.toUpperCase();
96                s2 = s.toLowerCase()
97                typeof(s1), typeof(s2)
98                typeof(jwrap(s1))
99                typeof(jwrap(s2))
100
101                jremove String s s1 s2
102       ]]></programlisting>
103         
104         <programlisting role="example"><![CDATA[
105                jautoUnwrap(%f)
106                jimport java.io.File;
107
108                f = File.new(SCI);
109                jfiles = f.list(), // a java object due to a disabled autoUnwrap
110                files = junwrap(jfiles); // the corresponding scilab vector
111                
112                jremove File f jfiles
113       ]]></programlisting>
114         
115     </refsection>
116     
117     <refsection role="see also">
118         
119         <title>参照</title>
120         
121         <simplelist type="inline">
122             
123             <member>
124                 
125                 <link linkend="junwraprem">junwraprem</link>
126                 
127             </member>
128             
129             <member>
130                 
131                 <link linkend="jwrap">jwrap</link>
132                 
133             </member>
134             
135             <member>
136                 
137                 <link linkend="jautoUnwrap">jautoUnwrap</link>
138                 
139             </member>
140             
141         </simplelist>
142         
143     </refsection>
144     
145     <refsection>
146         
147         <title>履歴</title>
148         
149         <revhistory>
150             
151             <revision>
152                 
153                 <revnumber>5.5.0</revnumber>
154                 
155                 <revremark>
156                     
157                     関数が導入されました. 'JIMS'モジュールに基づきます.
158                     
159                     JIMSモジュールとの動作上の主な違いは,
160                     
161                     <link linkend="jautoUnwrap">jautoUnwrap</link>がデフォルトで
162                     
163                     有効になっていることです.
164                     
165                 </revremark>
166                 
167             </revision>
168             
169         </revhistory>
170         
171     </refsection>
172     
173 </refentry>
174
175
176