1
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
2
|
<!-- NewPage -->
|
3
|
<html lang="cs">
|
4
|
<head>
|
5
|
<!-- Generated by javadoc (1.8.0_251) on Fri May 08 06:50:22 CEST 2020 -->
|
6
|
<title>fieldtype</title>
|
7
|
<meta name="date" content="2020-05-08">
|
8
|
<link rel="stylesheet" type="text/css" href="../stylesheet.css" title="Style">
|
9
|
<script type="text/javascript" src="../script.js"></script>
|
10
|
</head>
|
11
|
<body>
|
12
|
<script type="text/javascript"><!--
|
13
|
try {
|
14
|
if (location.href.indexOf('is-external=true') == -1) {
|
15
|
parent.document.title="fieldtype";
|
16
|
}
|
17
|
}
|
18
|
catch(err) {
|
19
|
}
|
20
|
//-->
|
21
|
var methods = {"i0":9,"i1":10,"i2":10,"i3":9,"i4":9};
|
22
|
var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
|
23
|
var altColor = "altColor";
|
24
|
var rowColor = "rowColor";
|
25
|
var tableTab = "tableTab";
|
26
|
var activeTableTab = "activeTableTab";
|
27
|
</script>
|
28
|
<noscript>
|
29
|
<div>JavaScript is disabled on your browser.</div>
|
30
|
</noscript>
|
31
|
<!-- ========= START OF TOP NAVBAR ======= -->
|
32
|
<div class="topNav"><a name="navbar.top">
|
33
|
<!-- -->
|
34
|
</a>
|
35
|
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
|
36
|
<a name="navbar.top.firstrow">
|
37
|
<!-- -->
|
38
|
</a>
|
39
|
<ul class="navList" title="Navigation">
|
40
|
<li><a href="../overview-summary.html">Overview</a></li>
|
41
|
<li><a href="package-summary.html">Package</a></li>
|
42
|
<li class="navBarCell1Rev">Class</li>
|
43
|
<li><a href="class-use/fieldtype.html">Use</a></li>
|
44
|
<li><a href="package-tree.html">Tree</a></li>
|
45
|
<li><a href="../deprecated-list.html">Deprecated</a></li>
|
46
|
<li><a href="../index-files/index-1.html">Index</a></li>
|
47
|
<li><a href="../help-doc.html">Help</a></li>
|
48
|
</ul>
|
49
|
</div>
|
50
|
<div class="subNav">
|
51
|
<ul class="navList">
|
52
|
<li><a href="../jdeserialize/field.html" title="class in jdeserialize"><span class="typeNameLink">Prev Class</span></a></li>
|
53
|
<li><a href="../jdeserialize/Getopt.html" title="class in jdeserialize"><span class="typeNameLink">Next Class</span></a></li>
|
54
|
</ul>
|
55
|
<ul class="navList">
|
56
|
<li><a href="../index.html?jdeserialize/fieldtype.html" target="_top">Frames</a></li>
|
57
|
<li><a href="fieldtype.html" target="_top">No Frames</a></li>
|
58
|
</ul>
|
59
|
<ul class="navList" id="allclasses_navbar_top">
|
60
|
<li><a href="../allclasses-noframe.html">All Classes</a></li>
|
61
|
</ul>
|
62
|
<div>
|
63
|
<script type="text/javascript"><!--
|
64
|
allClassesLink = document.getElementById("allclasses_navbar_top");
|
65
|
if(window==top) {
|
66
|
allClassesLink.style.display = "block";
|
67
|
}
|
68
|
else {
|
69
|
allClassesLink.style.display = "none";
|
70
|
}
|
71
|
//-->
|
72
|
</script>
|
73
|
</div>
|
74
|
<div>
|
75
|
<ul class="subNavList">
|
76
|
<li>Summary: </li>
|
77
|
<li>Nested | </li>
|
78
|
<li><a href="#enum.constant.summary">Enum Constants</a> | </li>
|
79
|
<li><a href="#field.summary">Field</a> | </li>
|
80
|
<li><a href="#method.summary">Method</a></li>
|
81
|
</ul>
|
82
|
<ul class="subNavList">
|
83
|
<li>Detail: </li>
|
84
|
<li><a href="#enum.constant.detail">Enum Constants</a> | </li>
|
85
|
<li><a href="#field.detail">Field</a> | </li>
|
86
|
<li><a href="#method.detail">Method</a></li>
|
87
|
</ul>
|
88
|
</div>
|
89
|
<a name="skip.navbar.top">
|
90
|
<!-- -->
|
91
|
</a></div>
|
92
|
<!-- ========= END OF TOP NAVBAR ========= -->
|
93
|
<!-- ======== START OF CLASS DATA ======== -->
|
94
|
<div class="header">
|
95
|
<div class="subTitle">jdeserialize</div>
|
96
|
<h2 title="Enum fieldtype" class="title">Enum fieldtype</h2>
|
97
|
</div>
|
98
|
<div class="contentContainer">
|
99
|
<ul class="inheritance">
|
100
|
<li>java.lang.Object</li>
|
101
|
<li>
|
102
|
<ul class="inheritance">
|
103
|
<li>java.lang.Enum<<a href="../jdeserialize/fieldtype.html" title="enum in jdeserialize">fieldtype</a>></li>
|
104
|
<li>
|
105
|
<ul class="inheritance">
|
106
|
<li>jdeserialize.fieldtype</li>
|
107
|
</ul>
|
108
|
</li>
|
109
|
</ul>
|
110
|
</li>
|
111
|
</ul>
|
112
|
<div class="description">
|
113
|
<ul class="blockList">
|
114
|
<li class="blockList">
|
115
|
<dl>
|
116
|
<dt>All Implemented Interfaces:</dt>
|
117
|
<dd>java.io.Serializable, java.lang.Comparable<<a href="../jdeserialize/fieldtype.html" title="enum in jdeserialize">fieldtype</a>></dd>
|
118
|
</dl>
|
119
|
<hr>
|
120
|
<br>
|
121
|
<pre>public enum <span class="typeNameLabel">fieldtype</span>
|
122
|
extends java.lang.Enum<<a href="../jdeserialize/fieldtype.html" title="enum in jdeserialize">fieldtype</a>></pre>
|
123
|
<div class="block"><p>
|
124
|
Enum class that describes the type of a field encoded inside a classdesc description.
|
125
|
</p>
|
126
|
|
127
|
<p>
|
128
|
This stores both information on the type (reference/array vs. primitive) and, in cases
|
129
|
of reference or array types, the name of the class being referred to.
|
130
|
</p></div>
|
131
|
</li>
|
132
|
</ul>
|
133
|
</div>
|
134
|
<div class="summary">
|
135
|
<ul class="blockList">
|
136
|
<li class="blockList">
|
137
|
<!-- =========== ENUM CONSTANT SUMMARY =========== -->
|
138
|
<ul class="blockList">
|
139
|
<li class="blockList"><a name="enum.constant.summary">
|
140
|
<!-- -->
|
141
|
</a>
|
142
|
<h3>Enum Constant Summary</h3>
|
143
|
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Enum Constant Summary table, listing enum constants, and an explanation">
|
144
|
<caption><span>Enum Constants</span><span class="tabEnd"> </span></caption>
|
145
|
<tr>
|
146
|
<th class="colOne" scope="col">Enum Constant and Description</th>
|
147
|
</tr>
|
148
|
<tr class="altColor">
|
149
|
<td class="colOne"><code><span class="memberNameLink"><a href="../jdeserialize/fieldtype.html#ARRAY">ARRAY</a></span></code> </td>
|
150
|
</tr>
|
151
|
<tr class="rowColor">
|
152
|
<td class="colOne"><code><span class="memberNameLink"><a href="../jdeserialize/fieldtype.html#BOOLEAN">BOOLEAN</a></span></code> </td>
|
153
|
</tr>
|
154
|
<tr class="altColor">
|
155
|
<td class="colOne"><code><span class="memberNameLink"><a href="../jdeserialize/fieldtype.html#BYTE">BYTE</a></span></code> </td>
|
156
|
</tr>
|
157
|
<tr class="rowColor">
|
158
|
<td class="colOne"><code><span class="memberNameLink"><a href="../jdeserialize/fieldtype.html#DOUBLE">DOUBLE</a></span></code> </td>
|
159
|
</tr>
|
160
|
<tr class="altColor">
|
161
|
<td class="colOne"><code><span class="memberNameLink"><a href="../jdeserialize/fieldtype.html#FLOAT">FLOAT</a></span></code> </td>
|
162
|
</tr>
|
163
|
<tr class="rowColor">
|
164
|
<td class="colOne"><code><span class="memberNameLink"><a href="../jdeserialize/fieldtype.html#CHAR">CHAR</a></span></code> </td>
|
165
|
</tr>
|
166
|
<tr class="altColor">
|
167
|
<td class="colOne"><code><span class="memberNameLink"><a href="../jdeserialize/fieldtype.html#INTEGER">INTEGER</a></span></code> </td>
|
168
|
</tr>
|
169
|
<tr class="rowColor">
|
170
|
<td class="colOne"><code><span class="memberNameLink"><a href="../jdeserialize/fieldtype.html#LONG">LONG</a></span></code> </td>
|
171
|
</tr>
|
172
|
<tr class="altColor">
|
173
|
<td class="colOne"><code><span class="memberNameLink"><a href="../jdeserialize/fieldtype.html#OBJECT">OBJECT</a></span></code> </td>
|
174
|
</tr>
|
175
|
<tr class="rowColor">
|
176
|
<td class="colOne"><code><span class="memberNameLink"><a href="../jdeserialize/fieldtype.html#SHORT">SHORT</a></span></code> </td>
|
177
|
</tr>
|
178
|
</table>
|
179
|
</li>
|
180
|
</ul>
|
181
|
<!-- =========== FIELD SUMMARY =========== -->
|
182
|
<ul class="blockList">
|
183
|
<li class="blockList"><a name="field.summary">
|
184
|
<!-- -->
|
185
|
</a>
|
186
|
<h3>Field Summary</h3>
|
187
|
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
|
188
|
<caption><span>Fields</span><span class="tabEnd"> </span></caption>
|
189
|
<tr>
|
190
|
<th class="colFirst" scope="col">Modifier and Type</th>
|
191
|
<th class="colLast" scope="col">Field and Description</th>
|
192
|
</tr>
|
193
|
<tr class="altColor">
|
194
|
<td class="colFirst"><code>private char</code></td>
|
195
|
<td class="colLast"><code><span class="memberNameLink"><a href="../jdeserialize/fieldtype.html#ch">ch</a></span></code> </td>
|
196
|
</tr>
|
197
|
<tr class="rowColor">
|
198
|
<td class="colFirst"><code>private java.lang.String</code></td>
|
199
|
<td class="colLast"><code><span class="memberNameLink"><a href="../jdeserialize/fieldtype.html#javatype">javatype</a></span></code> </td>
|
200
|
</tr>
|
201
|
</table>
|
202
|
</li>
|
203
|
</ul>
|
204
|
<!-- ========== METHOD SUMMARY =========== -->
|
205
|
<ul class="blockList">
|
206
|
<li class="blockList"><a name="method.summary">
|
207
|
<!-- -->
|
208
|
</a>
|
209
|
<h3>Method Summary</h3>
|
210
|
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
|
211
|
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption>
|
212
|
<tr>
|
213
|
<th class="colFirst" scope="col">Modifier and Type</th>
|
214
|
<th class="colLast" scope="col">Method and Description</th>
|
215
|
</tr>
|
216
|
<tr id="i0" class="altColor">
|
217
|
<td class="colFirst"><code>static <a href="../jdeserialize/fieldtype.html" title="enum in jdeserialize">fieldtype</a></code></td>
|
218
|
<td class="colLast"><code><span class="memberNameLink"><a href="../jdeserialize/fieldtype.html#get-byte-">get</a></span>(byte b)</code>
|
219
|
<div class="block">Given a byte containing a type code, return the corresponding enum.</div>
|
220
|
</td>
|
221
|
</tr>
|
222
|
<tr id="i1" class="rowColor">
|
223
|
<td class="colFirst"><code>java.lang.String</code></td>
|
224
|
<td class="colLast"><code><span class="memberNameLink"><a href="../jdeserialize/fieldtype.html#getJavaType--">getJavaType</a></span>()</code>
|
225
|
<div class="block">Gets the class name for a reference or array type.</div>
|
226
|
</td>
|
227
|
</tr>
|
228
|
<tr id="i2" class="altColor">
|
229
|
<td class="colFirst"><code>char</code></td>
|
230
|
<td class="colLast"><code><span class="memberNameLink"><a href="../jdeserialize/fieldtype.html#ch--">ch</a></span>()</code>
|
231
|
<div class="block">Gets the type character for this field.</div>
|
232
|
</td>
|
233
|
</tr>
|
234
|
<tr id="i3" class="rowColor">
|
235
|
<td class="colFirst"><code>static <a href="../jdeserialize/fieldtype.html" title="enum in jdeserialize">fieldtype</a></code></td>
|
236
|
<td class="colLast"><code><span class="memberNameLink"><a href="../jdeserialize/fieldtype.html#valueOf-java.lang.String-">valueOf</a></span>(java.lang.String name)</code>
|
237
|
<div class="block">Returns the enum constant of this type with the specified name.</div>
|
238
|
</td>
|
239
|
</tr>
|
240
|
<tr id="i4" class="altColor">
|
241
|
<td class="colFirst"><code>static <a href="../jdeserialize/fieldtype.html" title="enum in jdeserialize">fieldtype</a>[]</code></td>
|
242
|
<td class="colLast"><code><span class="memberNameLink"><a href="../jdeserialize/fieldtype.html#values--">values</a></span>()</code>
|
243
|
<div class="block">Returns an array containing the constants of this enum type, in
|
244
|
the order they are declared.</div>
|
245
|
</td>
|
246
|
</tr>
|
247
|
</table>
|
248
|
<ul class="blockList">
|
249
|
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Enum">
|
250
|
<!-- -->
|
251
|
</a>
|
252
|
<h3>Methods inherited from class java.lang.Enum</h3>
|
253
|
<code>clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf</code></li>
|
254
|
</ul>
|
255
|
<ul class="blockList">
|
256
|
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
|
257
|
<!-- -->
|
258
|
</a>
|
259
|
<h3>Methods inherited from class java.lang.Object</h3>
|
260
|
<code>getClass, notify, notifyAll, wait, wait, wait</code></li>
|
261
|
</ul>
|
262
|
</li>
|
263
|
</ul>
|
264
|
</li>
|
265
|
</ul>
|
266
|
</div>
|
267
|
<div class="details">
|
268
|
<ul class="blockList">
|
269
|
<li class="blockList">
|
270
|
<!-- ============ ENUM CONSTANT DETAIL =========== -->
|
271
|
<ul class="blockList">
|
272
|
<li class="blockList"><a name="enum.constant.detail">
|
273
|
<!-- -->
|
274
|
</a>
|
275
|
<h3>Enum Constant Detail</h3>
|
276
|
<a name="BYTE">
|
277
|
<!-- -->
|
278
|
</a>
|
279
|
<ul class="blockList">
|
280
|
<li class="blockList">
|
281
|
<h4>BYTE</h4>
|
282
|
<pre>public static final <a href="../jdeserialize/fieldtype.html" title="enum in jdeserialize">fieldtype</a> BYTE</pre>
|
283
|
</li>
|
284
|
</ul>
|
285
|
<a name="CHAR">
|
286
|
<!-- -->
|
287
|
</a>
|
288
|
<ul class="blockList">
|
289
|
<li class="blockList">
|
290
|
<h4>CHAR</h4>
|
291
|
<pre>public static final <a href="../jdeserialize/fieldtype.html" title="enum in jdeserialize">fieldtype</a> CHAR</pre>
|
292
|
</li>
|
293
|
</ul>
|
294
|
<a name="DOUBLE">
|
295
|
<!-- -->
|
296
|
</a>
|
297
|
<ul class="blockList">
|
298
|
<li class="blockList">
|
299
|
<h4>DOUBLE</h4>
|
300
|
<pre>public static final <a href="../jdeserialize/fieldtype.html" title="enum in jdeserialize">fieldtype</a> DOUBLE</pre>
|
301
|
</li>
|
302
|
</ul>
|
303
|
<a name="FLOAT">
|
304
|
<!-- -->
|
305
|
</a>
|
306
|
<ul class="blockList">
|
307
|
<li class="blockList">
|
308
|
<h4>FLOAT</h4>
|
309
|
<pre>public static final <a href="../jdeserialize/fieldtype.html" title="enum in jdeserialize">fieldtype</a> FLOAT</pre>
|
310
|
</li>
|
311
|
</ul>
|
312
|
<a name="INTEGER">
|
313
|
<!-- -->
|
314
|
</a>
|
315
|
<ul class="blockList">
|
316
|
<li class="blockList">
|
317
|
<h4>INTEGER</h4>
|
318
|
<pre>public static final <a href="../jdeserialize/fieldtype.html" title="enum in jdeserialize">fieldtype</a> INTEGER</pre>
|
319
|
</li>
|
320
|
</ul>
|
321
|
<a name="LONG">
|
322
|
<!-- -->
|
323
|
</a>
|
324
|
<ul class="blockList">
|
325
|
<li class="blockList">
|
326
|
<h4>LONG</h4>
|
327
|
<pre>public static final <a href="../jdeserialize/fieldtype.html" title="enum in jdeserialize">fieldtype</a> LONG</pre>
|
328
|
</li>
|
329
|
</ul>
|
330
|
<a name="SHORT">
|
331
|
<!-- -->
|
332
|
</a>
|
333
|
<ul class="blockList">
|
334
|
<li class="blockList">
|
335
|
<h4>SHORT</h4>
|
336
|
<pre>public static final <a href="../jdeserialize/fieldtype.html" title="enum in jdeserialize">fieldtype</a> SHORT</pre>
|
337
|
</li>
|
338
|
</ul>
|
339
|
<a name="BOOLEAN">
|
340
|
<!-- -->
|
341
|
</a>
|
342
|
<ul class="blockList">
|
343
|
<li class="blockList">
|
344
|
<h4>BOOLEAN</h4>
|
345
|
<pre>public static final <a href="../jdeserialize/fieldtype.html" title="enum in jdeserialize">fieldtype</a> BOOLEAN</pre>
|
346
|
</li>
|
347
|
</ul>
|
348
|
<a name="ARRAY">
|
349
|
<!-- -->
|
350
|
</a>
|
351
|
<ul class="blockList">
|
352
|
<li class="blockList">
|
353
|
<h4>ARRAY</h4>
|
354
|
<pre>public static final <a href="../jdeserialize/fieldtype.html" title="enum in jdeserialize">fieldtype</a> ARRAY</pre>
|
355
|
</li>
|
356
|
</ul>
|
357
|
<a name="OBJECT">
|
358
|
<!-- -->
|
359
|
</a>
|
360
|
<ul class="blockListLast">
|
361
|
<li class="blockList">
|
362
|
<h4>OBJECT</h4>
|
363
|
<pre>public static final <a href="../jdeserialize/fieldtype.html" title="enum in jdeserialize">fieldtype</a> OBJECT</pre>
|
364
|
</li>
|
365
|
</ul>
|
366
|
</li>
|
367
|
</ul>
|
368
|
<!-- ============ FIELD DETAIL =========== -->
|
369
|
<ul class="blockList">
|
370
|
<li class="blockList"><a name="field.detail">
|
371
|
<!-- -->
|
372
|
</a>
|
373
|
<h3>Field Detail</h3>
|
374
|
<a name="ch">
|
375
|
<!-- -->
|
376
|
</a>
|
377
|
<ul class="blockList">
|
378
|
<li class="blockList">
|
379
|
<h4>ch</h4>
|
380
|
<pre>private final char ch</pre>
|
381
|
</li>
|
382
|
</ul>
|
383
|
<a name="javatype">
|
384
|
<!-- -->
|
385
|
</a>
|
386
|
<ul class="blockListLast">
|
387
|
<li class="blockList">
|
388
|
<h4>javatype</h4>
|
389
|
<pre>private final java.lang.String javatype</pre>
|
390
|
</li>
|
391
|
</ul>
|
392
|
</li>
|
393
|
</ul>
|
394
|
<!-- ============ METHOD DETAIL ========== -->
|
395
|
<ul class="blockList">
|
396
|
<li class="blockList"><a name="method.detail">
|
397
|
<!-- -->
|
398
|
</a>
|
399
|
<h3>Method Detail</h3>
|
400
|
<a name="values--">
|
401
|
<!-- -->
|
402
|
</a>
|
403
|
<ul class="blockList">
|
404
|
<li class="blockList">
|
405
|
<h4>values</h4>
|
406
|
<pre>public static <a href="../jdeserialize/fieldtype.html" title="enum in jdeserialize">fieldtype</a>[] values()</pre>
|
407
|
<div class="block">Returns an array containing the constants of this enum type, in
|
408
|
the order they are declared. This method may be used to iterate
|
409
|
over the constants as follows:
|
410
|
<pre>
|
411
|
for (fieldtype c : fieldtype.values())
|
412
|
System.out.println(c);
|
413
|
</pre></div>
|
414
|
<dl>
|
415
|
<dt><span class="returnLabel">Returns:</span></dt>
|
416
|
<dd>an array containing the constants of this enum type, in the order they are declared</dd>
|
417
|
</dl>
|
418
|
</li>
|
419
|
</ul>
|
420
|
<a name="valueOf-java.lang.String-">
|
421
|
<!-- -->
|
422
|
</a>
|
423
|
<ul class="blockList">
|
424
|
<li class="blockList">
|
425
|
<h4>valueOf</h4>
|
426
|
<pre>public static <a href="../jdeserialize/fieldtype.html" title="enum in jdeserialize">fieldtype</a> valueOf(java.lang.String name)</pre>
|
427
|
<div class="block">Returns the enum constant of this type with the specified name.
|
428
|
The string must match <i>exactly</i> an identifier used to declare an
|
429
|
enum constant in this type. (Extraneous whitespace characters are
|
430
|
not permitted.)</div>
|
431
|
<dl>
|
432
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
433
|
<dd><code>name</code> - the name of the enum constant to be returned.</dd>
|
434
|
<dt><span class="returnLabel">Returns:</span></dt>
|
435
|
<dd>the enum constant with the specified name</dd>
|
436
|
<dt><span class="throwsLabel">Throws:</span></dt>
|
437
|
<dd><code>java.lang.IllegalArgumentException</code> - if this enum type has no constant with the specified name</dd>
|
438
|
<dd><code>java.lang.NullPointerException</code> - if the argument is null</dd>
|
439
|
</dl>
|
440
|
</li>
|
441
|
</ul>
|
442
|
<a name="getJavaType--">
|
443
|
<!-- -->
|
444
|
</a>
|
445
|
<ul class="blockList">
|
446
|
<li class="blockList">
|
447
|
<h4>getJavaType</h4>
|
448
|
<pre>public java.lang.String getJavaType()</pre>
|
449
|
<div class="block">Gets the class name for a reference or array type.</div>
|
450
|
<dl>
|
451
|
<dt><span class="returnLabel">Returns:</span></dt>
|
452
|
<dd>the name of the class being referred to, or null if this is not a
|
453
|
reference/array type</dd>
|
454
|
</dl>
|
455
|
</li>
|
456
|
</ul>
|
457
|
<a name="ch--">
|
458
|
<!-- -->
|
459
|
</a>
|
460
|
<ul class="blockList">
|
461
|
<li class="blockList">
|
462
|
<h4>ch</h4>
|
463
|
<pre>public char ch()</pre>
|
464
|
<div class="block">Gets the type character for this field.</div>
|
465
|
<dl>
|
466
|
<dt><span class="returnLabel">Returns:</span></dt>
|
467
|
<dd>the type code character for this field; values will be one of those in
|
468
|
prim_typecode or obj_typecode in the protocol spec</dd>
|
469
|
</dl>
|
470
|
</li>
|
471
|
</ul>
|
472
|
<a name="get-byte-">
|
473
|
<!-- -->
|
474
|
</a>
|
475
|
<ul class="blockListLast">
|
476
|
<li class="blockList">
|
477
|
<h4>get</h4>
|
478
|
<pre>public static <a href="../jdeserialize/fieldtype.html" title="enum in jdeserialize">fieldtype</a> get(byte b)
|
479
|
throws <a href="../jdeserialize/ValidityException.html" title="class in jdeserialize">ValidityException</a></pre>
|
480
|
<div class="block">Given a byte containing a type code, return the corresponding enum.</div>
|
481
|
<dl>
|
482
|
<dt><span class="paramLabel">Parameters:</span></dt>
|
483
|
<dd><code>b</code> - the type code; must be one of the charcaters in obj_typecode or
|
484
|
prim_typecode in the protocol spec</dd>
|
485
|
<dt><span class="returnLabel">Returns:</span></dt>
|
486
|
<dd>the corresponding fieldtype enum</dd>
|
487
|
<dt><span class="throwsLabel">Throws:</span></dt>
|
488
|
<dd><code><a href="../jdeserialize/ValidityException.html" title="class in jdeserialize">ValidityException</a></code> - if the type code is invalid</dd>
|
489
|
</dl>
|
490
|
</li>
|
491
|
</ul>
|
492
|
</li>
|
493
|
</ul>
|
494
|
</li>
|
495
|
</ul>
|
496
|
</div>
|
497
|
</div>
|
498
|
<!-- ========= END OF CLASS DATA ========= -->
|
499
|
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
500
|
<div class="bottomNav"><a name="navbar.bottom">
|
501
|
<!-- -->
|
502
|
</a>
|
503
|
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
|
504
|
<a name="navbar.bottom.firstrow">
|
505
|
<!-- -->
|
506
|
</a>
|
507
|
<ul class="navList" title="Navigation">
|
508
|
<li><a href="../overview-summary.html">Overview</a></li>
|
509
|
<li><a href="package-summary.html">Package</a></li>
|
510
|
<li class="navBarCell1Rev">Class</li>
|
511
|
<li><a href="class-use/fieldtype.html">Use</a></li>
|
512
|
<li><a href="package-tree.html">Tree</a></li>
|
513
|
<li><a href="../deprecated-list.html">Deprecated</a></li>
|
514
|
<li><a href="../index-files/index-1.html">Index</a></li>
|
515
|
<li><a href="../help-doc.html">Help</a></li>
|
516
|
</ul>
|
517
|
</div>
|
518
|
<div class="subNav">
|
519
|
<ul class="navList">
|
520
|
<li><a href="../jdeserialize/field.html" title="class in jdeserialize"><span class="typeNameLink">Prev Class</span></a></li>
|
521
|
<li><a href="../jdeserialize/Getopt.html" title="class in jdeserialize"><span class="typeNameLink">Next Class</span></a></li>
|
522
|
</ul>
|
523
|
<ul class="navList">
|
524
|
<li><a href="../index.html?jdeserialize/fieldtype.html" target="_top">Frames</a></li>
|
525
|
<li><a href="fieldtype.html" target="_top">No Frames</a></li>
|
526
|
</ul>
|
527
|
<ul class="navList" id="allclasses_navbar_bottom">
|
528
|
<li><a href="../allclasses-noframe.html">All Classes</a></li>
|
529
|
</ul>
|
530
|
<div>
|
531
|
<script type="text/javascript"><!--
|
532
|
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
533
|
if(window==top) {
|
534
|
allClassesLink.style.display = "block";
|
535
|
}
|
536
|
else {
|
537
|
allClassesLink.style.display = "none";
|
538
|
}
|
539
|
//-->
|
540
|
</script>
|
541
|
</div>
|
542
|
<div>
|
543
|
<ul class="subNavList">
|
544
|
<li>Summary: </li>
|
545
|
<li>Nested | </li>
|
546
|
<li><a href="#enum.constant.summary">Enum Constants</a> | </li>
|
547
|
<li><a href="#field.summary">Field</a> | </li>
|
548
|
<li><a href="#method.summary">Method</a></li>
|
549
|
</ul>
|
550
|
<ul class="subNavList">
|
551
|
<li>Detail: </li>
|
552
|
<li><a href="#enum.constant.detail">Enum Constants</a> | </li>
|
553
|
<li><a href="#field.detail">Field</a> | </li>
|
554
|
<li><a href="#method.detail">Method</a></li>
|
555
|
</ul>
|
556
|
</div>
|
557
|
<a name="skip.navbar.bottom">
|
558
|
<!-- -->
|
559
|
</a></div>
|
560
|
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
561
|
</body>
|
562
|
</html>
|