added japanese translation of java external object.
[scilab.git] / scilab / modules / external_objects_java / help / ja_JP / jnewInstance.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="jnewInstance">
18     
19     <refnamediv>
20         
21         <refname>jnewInstance</refname>
22         
23         <refpurpose>Javaクラスの新規インスタンスを作成</refpurpose>
24         
25     </refnamediv>
26     
27     <refsynopsisdiv>
28         
29         <title>呼び出し手順</title>
30         
31         <synopsis>
32             
33             obj = jnewInstance(class [, arg_1 [, arg_2... ]])
34             
35         </synopsis>
36         
37     </refsynopsisdiv>
38     
39     <refsection>
40         
41         <title>パラメータ</title>
42         
43         <variablelist>
44             
45             <varlistentry>
46                 
47                 <term>class</term>
48                 
49                 <listitem>
50                     
51                     <para>
52                         
53                         _JClass型のmlistまたはクラス名を含む文字列
54                         
55                     </para>
56                     
57                 </listitem>
58                 
59             </varlistentry>
60             
61             <varlistentry>
62                 
63                 <term>arg_i</term>
64                 
65                 <listitem>
66                     
67                     <para>Scilabデータまたは_JObj型のmlist</para>
68                     
69                 </listitem>
70                 
71             </varlistentry>
72             
73             <varlistentry>
74                 
75                 <term>obj</term>
76                 
77                 <listitem>
78                     
79                     <para>_JObj型のmlist</para>
80                     
81                 </listitem>
82                 
83             </varlistentry>
84             
85         </variablelist>
86         
87     </refsection>
88     
89     <refsection>
90         
91         <title>説明</title>
92         
93         <para>
94             
95             <link linkend="jimport">jimport</link>で取得したJavaクラス
96             
97             の新規インスタンスを作成します.
98             
99         </para>
100         
101     </refsection>
102     
103     <refsection>
104         
105         <title>例</title>
106         
107         <programlisting role="example"><![CDATA[
108                jimport java.io.File;
109                jimport java.lang.System;
110
111                a = System.getProperty("java.io.tmpdir");
112                s = jnewInstance(File, a);
113                s.exists() // true
114
115                str = jnewInstance("java.lang.String", "Hello");
116                b = str.substring(1, 4)
117
118                jremove Date System s str b a;
119       ]]></programlisting>
120         
121     </refsection>
122     
123     <refsection role="see also">
124         
125         <title>参照</title>
126         
127         <simplelist type="inline">
128             
129             <member>
130                 
131                 <link linkend="new">new</link>
132                 
133             </member>
134             
135             <member>
136                 
137                 <link linkend="jimport">jimport</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