naether 0.10.1 → 0.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,607 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4
+ <head>
5
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6
+ <title>
7
+ Class: Naether::s Ja
8
+
9
+ &mdash; Documentation by YARD 0.8.2.1
10
+
11
+ </title>
12
+
13
+ <link rel="stylesheet" href="../css/style.css" type="text/css" media="screen" charset="utf-8" />
14
+
15
+ <link rel="stylesheet" href="../css/common.css" type="text/css" media="screen" charset="utf-8" />
16
+
17
+ <script type="text/javascript" charset="utf-8">
18
+ hasFrames = window.top.frames.main ? true : false;
19
+ relpath = '../';
20
+ framesUrl = "../frames.html#!" + escape(window.location.href);
21
+ </script>
22
+
23
+
24
+ <script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
25
+
26
+ <script type="text/javascript" charset="utf-8" src="../js/app.js"></script>
27
+
28
+
29
+ </head>
30
+ <body>
31
+ <div id="header">
32
+ <div id="menu">
33
+
34
+ <a href="../_index.html">Index (s)</a> &raquo;
35
+ <span class='title'><span class='object_link'><a href="../Naether.html" title="Naether (module)">Naether</a></span></span>
36
+ &raquo;
37
+ <span class="title">s Ja</span>
38
+
39
+
40
+ <div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
41
+ </div>
42
+
43
+ <div id="search">
44
+
45
+ <a class="full_list_link" id="class_list_link"
46
+ href="../class_list.html">
47
+ Class List
48
+ </a>
49
+
50
+ <a class="full_list_link" id="method_list_link"
51
+ href="../method_list.html">
52
+ Method List
53
+ </a>
54
+
55
+ <a class="full_list_link" id="file_list_link"
56
+ href="../file_list.html">
57
+ File List
58
+ </a>
59
+
60
+ </div>
61
+ <div class="clear"></div>
62
+ </div>
63
+
64
+ <iframe id="search_frame"></iframe>
65
+
66
+ <div id="content"><h1>Class: Naether::s Ja
67
+
68
+
69
+
70
+ </h1>
71
+
72
+ <dl class="box">
73
+
74
+ <dt class="r1">Inherits:</dt>
75
+ <dd class="r1">
76
+ <span class="inheritName">Object</span>
77
+
78
+ <ul class="fullTree">
79
+ <li>Object</li>
80
+
81
+ <li class="next">Naether::s Ja</li>
82
+
83
+ </ul>
84
+ <a href="#" class="inheritanceTree">show all</a>
85
+
86
+ </dd>
87
+
88
+
89
+
90
+
91
+
92
+
93
+
94
+
95
+
96
+ <dt class="r2 last">Defined in:</dt>
97
+ <dd class="r2 last">lib/naether/java.rb<span class="defines">,<br />
98
+ lib/naether/java/ruby.rb,<br /> lib/naether/java/jruby.rb</span>
99
+ </dd>
100
+
101
+ </dl>
102
+ <div class="clear"></div>
103
+
104
+ <h2>Defined Under Namespace</h2>
105
+ <p class="children">
106
+
107
+
108
+
109
+
110
+ <strong class="classes">Classes:</strong> <span class='object_link'><a href="s_20Ja/s_20JRu.html" title="Naether::s Ja::s JRu (class)">s JRu</a></span>, <span class='object_link'><a href="s_20Ja/s_20Ru.html" title="Naether::s Ja::s Ru (class)">s Ru</a></span>
111
+
112
+
113
+ </p>
114
+
115
+
116
+
117
+
118
+
119
+
120
+
121
+
122
+ <h2>
123
+ Class Method Summary
124
+ <small>(<a href="#" class="summary_toggle">collapse</a>)</small>
125
+ </h2>
126
+
127
+ <ul class="summary">
128
+
129
+ <li class="public ">
130
+ <span class="summary_signature">
131
+
132
+ <a href="#convert_to_java_list-class_method" title="convert_to_java_list (class method)">+ (Object) <strong>convert_to_java_list</strong>(aram [Arra) </a>
133
+
134
+
135
+
136
+ </span>
137
+
138
+
139
+
140
+
141
+
142
+
143
+
144
+
145
+
146
+ <span class="summary_desc"><div class='inline'></div></span>
147
+
148
+ </li>
149
+
150
+
151
+ <li class="public ">
152
+ <span class="summary_signature">
153
+
154
+ <a href="#create-class_method" title="create (class method)">+ (Object) <strong>create</strong>( # @param [S, *ng] ) </a>
155
+
156
+
157
+
158
+ </span>
159
+
160
+
161
+
162
+
163
+
164
+
165
+
166
+
167
+
168
+ <span class="summary_desc"><div class='inline'></div></span>
169
+
170
+ </li>
171
+
172
+
173
+ <li class="public ">
174
+ <span class="summary_signature">
175
+
176
+ <a href="#internal_load_paths-class_method" title="internal_load_paths (class method)">+ (Object) <strong>internal_load_paths</strong>( ) </a>
177
+
178
+
179
+
180
+ </span>
181
+
182
+
183
+
184
+
185
+
186
+
187
+
188
+
189
+
190
+ <span class="summary_desc"><div class='inline'></div></span>
191
+
192
+ </li>
193
+
194
+
195
+ <li class="public ">
196
+ <span class="summary_signature">
197
+
198
+ <a href="#internal_loaded_paths-class_method" title="internal_loaded_paths (class method)">+ (Object) <strong>internal_loaded_paths</strong> </a>
199
+
200
+
201
+
202
+ </span>
203
+
204
+
205
+
206
+
207
+
208
+
209
+
210
+
211
+
212
+ <span class="summary_desc"><div class='inline'></div></span>
213
+
214
+ </li>
215
+
216
+
217
+ <li class="public ">
218
+ <span class="summary_signature">
219
+
220
+ <a href="#load_paths-class_method" title="load_paths (class method)">+ (Object) <strong>load_paths</strong>(@para) </a>
221
+
222
+
223
+
224
+ </span>
225
+
226
+
227
+
228
+
229
+
230
+
231
+
232
+
233
+
234
+ <span class="summary_desc"><div class='inline'></div></span>
235
+
236
+ </li>
237
+
238
+
239
+ <li class="public ">
240
+ <span class="summary_signature">
241
+
242
+ <a href="#loaded_paths-class_method" title="loaded_paths (class method)">+ (Object) <strong>loaded_paths</strong> </a>
243
+
244
+
245
+
246
+ </span>
247
+
248
+
249
+
250
+
251
+
252
+
253
+
254
+
255
+
256
+ <span class="summary_desc"><div class='inline'></div></span>
257
+
258
+ </li>
259
+
260
+
261
+ </ul>
262
+
263
+ <h2>
264
+ Instance Method Summary
265
+ <small>(<a href="#" class="summary_toggle">collapse</a>)</small>
266
+ </h2>
267
+
268
+ <ul class="summary">
269
+
270
+ <li class="public ">
271
+ <span class="summary_signature">
272
+
273
+ <a href="#initialize-instance_method" title="#initialize (instance method)">- (s Ja) <strong>initialize</strong> </a>
274
+
275
+
276
+
277
+ </span>
278
+
279
+
280
+ <span class="note title constructor">constructor</span>
281
+
282
+
283
+
284
+
285
+
286
+
287
+
288
+
289
+ <span class="summary_desc"><div class='inline'>
290
+ <p>A new instance of s Ja.</p>
291
+ </div></span>
292
+
293
+ </li>
294
+
295
+
296
+ </ul>
297
+
298
+
299
+ <div id="constructor_details" class="method_details_list">
300
+ <h2>Constructor Details</h2>
301
+
302
+ <div class="method_details first">
303
+ <h3 class="signature first" id="initialize-instance_method">
304
+
305
+ - (<tt>s Ja</tt>) <strong>initialize</strong>
306
+
307
+
308
+
309
+
310
+
311
+ </h3><div class="docstring">
312
+ <div class="discussion">
313
+
314
+ <p>A new instance of s Ja</p>
315
+
316
+
317
+ </div>
318
+ </div>
319
+ <div class="tags">
320
+
321
+
322
+ </div><table class="source_code">
323
+ <tr>
324
+ <td>
325
+ <pre class="lines">
326
+
327
+
328
+ 20
329
+ 21
330
+ 22
331
+ 23
332
+ 24
333
+ 25
334
+ 26
335
+ 27
336
+ 28
337
+ 29
338
+ 30
339
+ 31
340
+ 32
341
+ 33</pre>
342
+ </td>
343
+ <td>
344
+ <pre class="code"><span class="info file"># File 'lib/naether/java.rb', line 20</span>
345
+
346
+ der
347
+ #
348
+ def initialize()
349
+ naether_jar = Naether::Configuration.naether_jar
350
+
351
+ unless File.exists? naether_jar
352
+ raise &quot;Cannot create Naether::Java: #{naether_jar} does not exist&quot;
353
+ end
354
+
355
+ if Naether::Configuration.platform == 'java'
356
+ require &quot;#{File.dirname(__FILE__)}/java/jruby&quot;
357
+ @java = Naether::Java::JRuby.new
358
+ else
359
+ require &quot;#{File.dirname(_</pre>
360
+ </td>
361
+ </tr>
362
+ </table>
363
+ </div>
364
+
365
+ </div>
366
+
367
+
368
+ <div id="class_method_details" class="method_details_list">
369
+ <h2>Class Method Details</h2>
370
+
371
+
372
+ <div class="method_details first">
373
+ <h3 class="signature first" id="convert_to_java_list-class_method">
374
+
375
+ + (<tt>Object</tt>) <strong>convert_to_java_list</strong>(aram [Arra)
376
+
377
+
378
+
379
+
380
+
381
+ </h3><table class="source_code">
382
+ <tr>
383
+ <td>
384
+ <pre class="lines">
385
+
386
+
387
+ 94
388
+ 95
389
+ 96
390
+ 97</pre>
391
+ </td>
392
+ <td>
393
+ <pre class="code"><span class="info file"># File 'lib/naether/java.rb', line 94</span>
394
+
395
+ .util.ArrayList
396
+ #
397
+ # @param [Array] ruby_array to convert to Java.util.ArrayList
398
+ # @return</pre>
399
+ </td>
400
+ </tr>
401
+ </table>
402
+ </div>
403
+
404
+ <div class="method_details ">
405
+ <h3 class="signature " id="create-class_method">
406
+
407
+ + (<tt>Object</tt>) <strong>create</strong>( # @param [S, *ng] )
408
+
409
+
410
+
411
+
412
+
413
+ </h3><div class="docstring">
414
+ <div class="discussion">
415
+
416
+
417
+ </div>
418
+ </div>
419
+ <div class="tags">
420
+ <p class="tag_title">Parameters:</p>
421
+ <ul class="param">
422
+
423
+ <li>
424
+
425
+ <span class='name'>args</span>
426
+
427
+
428
+ <span class='type'>(<tt>Array</tt>)</span>
429
+
430
+
431
+
432
+ &mdash;
433
+ <div class='inline'>
434
+ <p>Array of constructor arguments</p>
435
+ </div>
436
+
437
+ </li>
438
+
439
+ </ul>
440
+
441
+
442
+ </div><table class="source_code">
443
+ <tr>
444
+ <td>
445
+ <pre class="lines">
446
+
447
+
448
+ 72
449
+ 73
450
+ 74
451
+ 75</pre>
452
+ </td>
453
+ <td>
454
+ <pre class="code"><span class="info file"># File 'lib/naether/java.rb', line 72</span>
455
+
456
+ <span class='const'>Loader</span>
457
+ <span class='comment'>#
458
+ </span><span class='comment'># @param [String] target_class to create
459
+ </span><span class='comment'># @param [Array] args Array o</span></pre>
460
+ </td>
461
+ </tr>
462
+ </table>
463
+ </div>
464
+
465
+ <div class="method_details ">
466
+ <h3 class="signature " id="internal_load_paths-class_method">
467
+
468
+ + (<tt>Object</tt>) <strong>internal_load_paths</strong>(
469
+ )
470
+
471
+
472
+
473
+
474
+
475
+ </h3><table class="source_code">
476
+ <tr>
477
+ <td>
478
+ <pre class="lines">
479
+
480
+
481
+ 63
482
+ 64
483
+ 65</pre>
484
+ </td>
485
+ <td>
486
+ <pre class="code"><span class="info file"># File 'lib/naether/java.rb', line 63</span>
487
+
488
+ <span class='id identifier rubyid_internal'>internal</span> <span class='const'>Naether</span> <span class='const'>ClassLoader</span>
489
+ <span class='comment'>#
490
+ </span><span class='comment'># @param [Array] paths as an Array of String p</span></pre>
491
+ </td>
492
+ </tr>
493
+ </table>
494
+ </div>
495
+
496
+ <div class="method_details ">
497
+ <h3 class="signature " id="internal_loaded_paths-class_method">
498
+
499
+ + (<tt>Object</tt>) <strong>internal_loaded_paths</strong>
500
+
501
+
502
+
503
+
504
+
505
+ </h3><table class="source_code">
506
+ <tr>
507
+ <td>
508
+ <pre class="lines">
509
+
510
+
511
+ 54
512
+ 55
513
+ 56
514
+ 57
515
+ 58
516
+ 59
517
+ 60</pre>
518
+ </td>
519
+ <td>
520
+ <pre class="code"><span class="info file"># File 'lib/naether/java.rb', line 54</span>
521
+
522
+ String path
523
+ #
524
+ def self.load_paths(paths)
525
+ instance.java.load_paths(paths)
526
+ end
527
+
528
+ def</pre>
529
+ </td>
530
+ </tr>
531
+ </table>
532
+ </div>
533
+
534
+ <div class="method_details ">
535
+ <h3 class="signature " id="load_paths-class_method">
536
+
537
+ + (<tt>Object</tt>) <strong>load_paths</strong>(@para)
538
+
539
+
540
+
541
+
542
+
543
+ </h3><table class="source_code">
544
+ <tr>
545
+ <td>
546
+ <pre class="lines">
547
+
548
+
549
+ 50
550
+ 51
551
+ 52</pre>
552
+ </td>
553
+ <td>
554
+ <pre class="code"><span class="info file"># File 'lib/naether/java.rb', line 50</span>
555
+
556
+ <span class='id identifier rubyid_sLoader'>sLoader</span>
557
+ <span class='comment'>#
558
+ </span><span class='comment'># @param [Array] paths as an Array of String paths</span></pre>
559
+ </td>
560
+ </tr>
561
+ </table>
562
+ </div>
563
+
564
+ <div class="method_details ">
565
+ <h3 class="signature " id="loaded_paths-class_method">
566
+
567
+ + (<tt>Object</tt>) <strong>loaded_paths</strong>
568
+
569
+
570
+
571
+
572
+
573
+ </h3><table class="source_code">
574
+ <tr>
575
+ <td>
576
+ <pre class="lines">
577
+
578
+
579
+ 41
580
+ 42
581
+ 43
582
+ 44</pre>
583
+ </td>
584
+ <td>
585
+ <pre class="code"><span class="info file"># File 'lib/naether/java.rb', line 41</span>
586
+
587
+ <span class='comment'>#
588
+ </span><span class='comment'># Paths loaded
589
+ </span><span class='comment'>#
590
+ </span><span class='comment'># @return [Arr</span></pre>
591
+ </td>
592
+ </tr>
593
+ </table>
594
+ </div>
595
+
596
+ </div>
597
+
598
+ </div>
599
+
600
+ <div id="footer">
601
+ Generated on Fri Sep 27 17:38:19 2013 by
602
+ <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
603
+ 0.8.2.1 (ruby-1.9.3).
604
+ </div>
605
+
606
+ </body>
607
+ </html>