File: Configurations.html

package info (click to toggle)
jserv 1.1-3
  • links: PTS
  • area: contrib
  • in suites: potato
  • size: 4,616 kB
  • ctags: 3,003
  • sloc: sh: 7,718; java: 6,652; ansic: 4,755; makefile: 816; perl: 39; xml: 32
file content (1042 lines) | stat: -rw-r--r-- 47,860 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc on Fri Jan 14 17:00:48 PST 2000 -->
<TITLE>
: Class  Configurations
</TITLE>
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
</HEAD>
<BODY BGCOLOR="white">

<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_top"><!-- --></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" ID="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
  <TR ALIGN="center" VALIGN="top">
  <TD BGCOLOR="#EEEEFF" ID="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT ID="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" ID="NavBarCell1">    <A HREF="package-summary.html"><FONT ID="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#FFFFFF" ID="NavBarCell1Rev"> &nbsp;<FONT ID="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" ID="NavBarCell1">    <A HREF="package-tree.html"><FONT ID="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" ID="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT ID="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" ID="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT ID="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" ID="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT ID="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  </TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>

<TR>
<TD BGCOLOR="white" ID="NavBarCell2"><FONT SIZE="-2">
&nbsp;PREV CLASS&nbsp;
&nbsp;<A HREF="../../../../org/apache/java/util/ConfigurationsRepository.html"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" ID="NavBarCell2"><FONT SIZE="-2">
  <A HREF="../../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="Configurations.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD>
</TR>
<TR>
<TD VALIGN="top" ID="NavBarCell3"><FONT SIZE="-2">
  SUMMARY: &nbsp;INNER&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" ID="NavBarCell3"><FONT SIZE="-2">
DETAIL: &nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->

<HR>
<!-- ======== START OF CLASS DATA ======== -->
<H2>
<FONT SIZE="-1">
org.apache.java.util</FONT>
<BR>
Class  Configurations</H2>
<PRE>
java.lang.Object
  |
  +--<B>org.apache.java.util.Configurations</B>
</PRE>
<HR>
<DL>
<DT>public class <B>Configurations</B><DT>extends java.lang.Object</DL>

<P>
This class is used to encapsulate properties and addresses
 the need for a flexible, portable and fast configurations
 repository.

 <p>While properties are just considered as strings, configurations
 have methods to return different types such as <b>int</b> and
 <b>long</b>.

 <p>Performance is needed to avoid the use of properties only at
 startup to fill variables: configurations encapsulate properties
 in the sense that objects retrieved by parsing property strings
 are stored for faster reuse. This allows a program to use
 configurations instead of global variables in a central repository,
 that, if updated, will reflect instantly the changes throughout
 the whole application.

 <p>The behavior of this class is syntax indipendent because
 it's only an encapsulator.
 This allows greater flexibility throught the use of syntax abstraction
 and faster transition between different configuration syntax.
<P>
<DL>
<DT><B>Version: </B><DD>$Revision: 1.22 $ $Date: 1999/11/01 18:05:39 $</DD>
</DL>
<HR>

<P>
<!-- ======== INNER CLASS SUMMARY ======== -->


<!-- =========== FIELD SUMMARY =========== -->

<A NAME="field_summary"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" ID="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Field Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>private &nbsp;<A HREF="../../../../org/apache/java/util/Configurations.html">Configurations</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/java/util/Configurations.html#defaults">defaults</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Default configurations repository.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>private &nbsp;<A HREF="../../../../org/apache/java/util/ConfigurationsRepository.html">ConfigurationsRepository</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/java/util/Configurations.html#repository">repository</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Configuration repository.</TD>
</TR>
</TABLE>
&nbsp;
<!-- ======== CONSTRUCTOR SUMMARY ======== -->

<A NAME="constructor_summary"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" ID="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Constructor Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD><CODE><B><A HREF="../../../../org/apache/java/util/Configurations.html#Configurations()">Configurations</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an empty configuration repository
 with no default values.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD><CODE><B><A HREF="../../../../org/apache/java/util/Configurations.html#Configurations(org.apache.java.util.Configurations)">Configurations</A></B>(<A HREF="../../../../org/apache/java/util/Configurations.html">Configurations</A>&nbsp;defaults)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an empty configuration repository with
 the specified defaults.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD><CODE><B><A HREF="../../../../org/apache/java/util/Configurations.html#Configurations(org.apache.java.util.ConfigurationsRepository)">Configurations</A></B>(<A HREF="../../../../org/apache/java/util/ConfigurationsRepository.html">ConfigurationsRepository</A>&nbsp;properties)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a configuration repository encapsulating
 the given properties with no default values.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD><CODE><B><A HREF="../../../../org/apache/java/util/Configurations.html#Configurations(org.apache.java.util.ConfigurationsRepository, org.apache.java.util.Configurations)">Configurations</A></B>(<A HREF="../../../../org/apache/java/util/ConfigurationsRepository.html">ConfigurationsRepository</A>&nbsp;properties,
               <A HREF="../../../../org/apache/java/util/Configurations.html">Configurations</A>&nbsp;defaults)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Merge the given properties object as configurations.</TD>
</TR>
</TABLE>
&nbsp;
<!-- ========== METHOD SUMMARY =========== -->

<A NAME="method_summary"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" ID="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Method Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/java/util/Configurations.html#getBoolean(java.lang.String)">getBoolean</A></B>(java.lang.String&nbsp;key)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get a boolean associated with the given configuration key.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/java/util/Configurations.html#getBoolean(java.lang.String, boolean)">getBoolean</A></B>(java.lang.String&nbsp;key,
           boolean&nbsp;defaultValue)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get a boolean associated with the given configuration key.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.Boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/java/util/Configurations.html#getBoolean(java.lang.String, java.lang.Boolean)">getBoolean</A></B>(java.lang.String&nbsp;key,
           java.lang.Boolean&nbsp;defaultValue)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get a boolean associated with the given configuration key.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;byte</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/java/util/Configurations.html#getByte(java.lang.String)">getByte</A></B>(java.lang.String&nbsp;key)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get a byte associated with the given configuration key.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;byte</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/java/util/Configurations.html#getByte(java.lang.String, byte)">getByte</A></B>(java.lang.String&nbsp;key,
        byte&nbsp;defaultValue)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get a byte associated with the given configuration key.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.Byte</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/java/util/Configurations.html#getByte(java.lang.String, java.lang.Byte)">getByte</A></B>(java.lang.String&nbsp;key,
        java.lang.Byte&nbsp;defaultValue)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get a byte associated with the given configuration key.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;double</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/java/util/Configurations.html#getDouble(java.lang.String)">getDouble</A></B>(java.lang.String&nbsp;key)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get a double associated with the given configuration key.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;double</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/java/util/Configurations.html#getDouble(java.lang.String, double)">getDouble</A></B>(java.lang.String&nbsp;key,
          double&nbsp;defaultValue)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get a double associated with the given configuration key.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.Double</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/java/util/Configurations.html#getDouble(java.lang.String, java.lang.Double)">getDouble</A></B>(java.lang.String&nbsp;key,
          java.lang.Double&nbsp;defaultValue)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get a double associated with the given configuration key.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;float</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/java/util/Configurations.html#getFloat(java.lang.String)">getFloat</A></B>(java.lang.String&nbsp;key)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get a float associated with the given configuration key.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;float</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/java/util/Configurations.html#getFloat(java.lang.String, float)">getFloat</A></B>(java.lang.String&nbsp;key,
         float&nbsp;defaultValue)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get a float associated with the given configuration key.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.Float</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/java/util/Configurations.html#getFloat(java.lang.String, java.lang.Float)">getFloat</A></B>(java.lang.String&nbsp;key,
         java.lang.Float&nbsp;defaultValue)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get a float associated with the given configuration key.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/java/util/Configurations.html#getInteger(java.lang.String)">getInteger</A></B>(java.lang.String&nbsp;key)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get a int associated with the given configuration key.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/java/util/Configurations.html#getInteger(java.lang.String, int)">getInteger</A></B>(java.lang.String&nbsp;key,
           int&nbsp;defaultValue)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get a int associated with the given configuration key.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.Integer</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/java/util/Configurations.html#getInteger(java.lang.String, java.lang.Integer)">getInteger</A></B>(java.lang.String&nbsp;key,
           java.lang.Integer&nbsp;defaultValue)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get a int associated with the given configuration key.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.util.Enumeration</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/java/util/Configurations.html#getKeys()">getKeys</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the list of the keys contained in the
 configuration repository.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.util.Enumeration</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/java/util/Configurations.html#getKeys(java.lang.String)">getKeys</A></B>(java.lang.String&nbsp;prefix)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the list of the keys contained in the
 configuration repository that match the
 specified prefix.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.util.Enumeration</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/java/util/Configurations.html#getList(java.lang.String)">getList</A></B>(java.lang.String&nbsp;key)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get a list of strings associated with the
 given configuration key.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;long</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/java/util/Configurations.html#getLong(java.lang.String)">getLong</A></B>(java.lang.String&nbsp;key)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get a long associated with the given configuration key.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;long</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/java/util/Configurations.html#getLong(java.lang.String, long)">getLong</A></B>(java.lang.String&nbsp;key,
        long&nbsp;defaultValue)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get a long associated with the given configuration key.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.Long</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/java/util/Configurations.html#getLong(java.lang.String, java.lang.Long)">getLong</A></B>(java.lang.String&nbsp;key,
        java.lang.Long&nbsp;defaultValue)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get a long associated with the given configuration key.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.util.Properties</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/java/util/Configurations.html#getProperties(java.lang.String)">getProperties</A></B>(java.lang.String&nbsp;key)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get a list of properties associated with the given configuration key.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.util.Properties</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/java/util/Configurations.html#getProperties(java.lang.String, java.util.Properties)">getProperties</A></B>(java.lang.String&nbsp;key,
              java.util.Properties&nbsp;defaults)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get a list of properties associated with the given configuration key.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.util.Hashtable</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/java/util/Configurations.html#getRepository()">getRepository</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get encapsulated configuration repository.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;short</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/java/util/Configurations.html#getShort(java.lang.String)">getShort</A></B>(java.lang.String&nbsp;key)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get a short associated with the given configuration key.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;short</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/java/util/Configurations.html#getShort(java.lang.String, short)">getShort</A></B>(java.lang.String&nbsp;key,
         short&nbsp;defaultValue)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get a short associated with the given configuration key.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.Short</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/java/util/Configurations.html#getShort(java.lang.String, java.lang.Short)">getShort</A></B>(java.lang.String&nbsp;key,
         java.lang.Short&nbsp;defaultValue)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get a short associated with the given configuration key.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/java/util/Configurations.html#getString(java.lang.String)">getString</A></B>(java.lang.String&nbsp;key)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get a string associated with the given configuration key.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/java/util/Configurations.html#getString(java.lang.String, java.lang.String)">getString</A></B>(java.lang.String&nbsp;key,
          java.lang.String&nbsp;defaultValue)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get a string associated with the given configuration key.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.String[]</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/java/util/Configurations.html#getStringArray(java.lang.String)">getStringArray</A></B>(java.lang.String&nbsp;key)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get an array of strings associated with the given configuration key.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.util.Vector</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/java/util/Configurations.html#getVector(java.lang.String)">getVector</A></B>(java.lang.String&nbsp;key)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get a Vector of strings associated with the
 given configuration key.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.util.Vector</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../org/apache/java/util/Configurations.html#getVector(java.lang.String, java.util.Vector)">getVector</A></B>(java.lang.String&nbsp;key,
          java.util.Vector&nbsp;defaultValue)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get a Vector of strings associated with the
 given configuration key.</TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#EEEEFF" ID="TableSubHeadingColor">
<TD><B>Methods inherited from class java.lang.Object</B></TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD><CODE><clinit>, 
clone, 
equals, 
finalize, 
getClass, 
hashCode, 
notify, 
notifyAll, 
registerNatives, 
toString, 
wait, 
wait, 
wait</CODE></TD>
</TR>
</TABLE>
&nbsp;
<P>

<!-- ============ FIELD DETAIL =========== -->

<A NAME="field_detail"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" ID="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Field Detail</B></FONT></TD>
</TR>
</TABLE>

<A NAME="defaults"><!-- --></A><H3>
defaults</H3>
<PRE>
private <A HREF="../../../../org/apache/java/util/Configurations.html">Configurations</A> <B>defaults</B></PRE>
<DL>
<DD>Default configurations repository.</DL>
<HR>

<A NAME="repository"><!-- --></A><H3>
repository</H3>
<PRE>
private <A HREF="../../../../org/apache/java/util/ConfigurationsRepository.html">ConfigurationsRepository</A> <B>repository</B></PRE>
<DL>
<DD>Configuration repository.</DL>

<!-- ========= CONSTRUCTOR DETAIL ======== -->

<A NAME="constructor_detail"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" ID="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Constructor Detail</B></FONT></TD>
</TR>
</TABLE>

<A NAME="Configurations()"><!-- --></A><H3>
Configurations</H3>
<PRE>
public <B>Configurations</B>()</PRE>
<DL>
<DD>Creates an empty configuration repository
 with no default values.</DL>
<HR>

<A NAME="Configurations(org.apache.java.util.ConfigurationsRepository)"><!-- --></A><H3>
Configurations</H3>
<PRE>
public <B>Configurations</B>(<A HREF="../../../../org/apache/java/util/ConfigurationsRepository.html">ConfigurationsRepository</A>&nbsp;properties)</PRE>
<DL>
<DD>Creates a configuration repository encapsulating
 the given properties with no default values.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>properties</CODE> - the properties to encapsulate.</DL>
</DD>
</DL>
<HR>

<A NAME="Configurations(org.apache.java.util.Configurations)"><!-- --></A><H3>
Configurations</H3>
<PRE>
public <B>Configurations</B>(<A HREF="../../../../org/apache/java/util/Configurations.html">Configurations</A>&nbsp;defaults)</PRE>
<DL>
<DD>Creates an empty configuration repository with
 the specified defaults.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>defaults</CODE> - the default values repository.</DL>
</DD>
</DL>
<HR>

<A NAME="Configurations(org.apache.java.util.ConfigurationsRepository, org.apache.java.util.Configurations)"><!-- --></A><H3>
Configurations</H3>
<PRE>
public <B>Configurations</B>(<A HREF="../../../../org/apache/java/util/ConfigurationsRepository.html">ConfigurationsRepository</A>&nbsp;properties,
                      <A HREF="../../../../org/apache/java/util/Configurations.html">Configurations</A>&nbsp;defaults)</PRE>
<DL>
<DD>Merge the given properties object as configurations.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>properties</CODE> - the properties file to merge</DL>
</DD>
</DL>

<!-- ============ METHOD DETAIL ========== -->

<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" ID="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Method Detail</B></FONT></TD>
</TR>
</TABLE>

<A NAME="getRepository()"><!-- --></A><H3>
getRepository</H3>
<PRE>
public java.util.Hashtable <B>getRepository</B>()</PRE>
<DL>
<DD>Get encapsulated configuration repository.</DL>
<HR>

<A NAME="getKeys()"><!-- --></A><H3>
getKeys</H3>
<PRE>
public java.util.Enumeration <B>getKeys</B>()</PRE>
<DL>
<DD>Get the list of the keys contained in the
 configuration repository.</DL>
<HR>

<A NAME="getKeys(java.lang.String)"><!-- --></A><H3>
getKeys</H3>
<PRE>
public java.util.Enumeration <B>getKeys</B>(java.lang.String&nbsp;prefix)</PRE>
<DL>
<DD>Get the list of the keys contained in the
 configuration repository that match the
 specified prefix.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>prefix</CODE> - the prefix to test against<DT><B>Returns:</B><DD>an Enumeration of keys that match the prefix</DL>
</DD>
</DL>
<HR>

<A NAME="getString(java.lang.String)"><!-- --></A><H3>
getString</H3>
<PRE>
public java.lang.String <B>getString</B>(java.lang.String&nbsp;key)</PRE>
<DL>
<DD>Get a string associated with the given configuration key.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>key</CODE> - the configuration key.<DT><B>Returns:</B><DD>the associated string.<DT><B>Throws:</B><DD>ClassCastException - is thrown if the key maps to an
 object that is not a String.</DL>
</DD>
</DL>
<HR>

<A NAME="getString(java.lang.String, java.lang.String)"><!-- --></A><H3>
getString</H3>
<PRE>
public java.lang.String <B>getString</B>(java.lang.String&nbsp;key,
                                  java.lang.String&nbsp;defaultValue)</PRE>
<DL>
<DD>Get a string associated with the given configuration key.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>key</CODE> - the configuration key.<DD><CODE>defaultValue</CODE> - the default value.<DT><B>Returns:</B><DD>the associated string if key is found,
 default value otherwise.<DT><B>Throws:</B><DD>ClassCastException - is thrown if the key maps to an
 object that is not a String.</DL>
</DD>
</DL>
<HR>

<A NAME="getProperties(java.lang.String)"><!-- --></A><H3>
getProperties</H3>
<PRE>
public java.util.Properties <B>getProperties</B>(java.lang.String&nbsp;key)</PRE>
<DL>
<DD>Get a list of properties associated with the given configuration key.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>key</CODE> - the configuration key.<DT><B>Returns:</B><DD>the associated properties if key is found<DT><B>Throws:</B><DD>ClassCastException - is thrown if the key maps to an
 object that is not a String/Vector<DD>java.lang.IllegalArgumentException - if one of the tokens is
 malformed (does not contain an equals sign)</DL>
</DD>
</DL>
<HR>

<A NAME="getProperties(java.lang.String, java.util.Properties)"><!-- --></A><H3>
getProperties</H3>
<PRE>
public java.util.Properties <B>getProperties</B>(java.lang.String&nbsp;key,
                                          java.util.Properties&nbsp;defaults)</PRE>
<DL>
<DD>Get a list of properties associated with the given configuration key.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>key</CODE> - the configuration key.<DT><B>Returns:</B><DD>the associated properties if key is found<DT><B>Throws:</B><DD>ClassCastException - is thrown if the key maps to an
 object that is not a String/Vector<DD>java.lang.IllegalArgumentException - if one of the tokens is
 malformed (does not contain an equals sign)</DL>
</DD>
</DL>
<HR>

<A NAME="getStringArray(java.lang.String)"><!-- --></A><H3>
getStringArray</H3>
<PRE>
public java.lang.String[] <B>getStringArray</B>(java.lang.String&nbsp;key)</PRE>
<DL>
<DD>Get an array of strings associated with the given configuration key.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>key</CODE> - the configuration key.<DT><B>Returns:</B><DD>the associated string array if key is found,<DT><B>Throws:</B><DD>ClassCastException - is thrown if the key maps to an
 object that is not a String/Vector</DL>
</DD>
</DL>
<HR>

<A NAME="getList(java.lang.String)"><!-- --></A><H3>
getList</H3>
<PRE>
public java.util.Enumeration <B>getList</B>(java.lang.String&nbsp;key)</PRE>
<DL>
<DD>Get a list of strings associated with the
 given configuration key.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>key</CODE> - the configuration key.<DT><B>Returns:</B><DD>the associated list.<DT><B>Throws:</B><DD>ClassCastException - is thrown if the key maps to an
 object that is not a Vector.</DL>
</DD>
</DL>
<HR>

<A NAME="getVector(java.lang.String)"><!-- --></A><H3>
getVector</H3>
<PRE>
public java.util.Vector <B>getVector</B>(java.lang.String&nbsp;key)</PRE>
<DL>
<DD>Get a Vector of strings associated with the
 given configuration key.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>key</CODE> - the configuration key.<DT><B>Returns:</B><DD>the associated Vector.<DT><B>Throws:</B><DD>ClassCastException - is thrown if the key maps to an
 object that is not a Vector.</DL>
</DD>
</DL>
<HR>

<A NAME="getVector(java.lang.String, java.util.Vector)"><!-- --></A><H3>
getVector</H3>
<PRE>
public java.util.Vector <B>getVector</B>(java.lang.String&nbsp;key,
                                  java.util.Vector&nbsp;defaultValue)</PRE>
<DL>
<DD>Get a Vector of strings associated with the
 given configuration key.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>key</CODE> - the configuration key.<DD><CODE>defaultValue</CODE> - the defaul value.<DT><B>Returns:</B><DD>the associated Vector.<DT><B>Throws:</B><DD>ClassCastException - is thrown if the key maps to an
 object that is not a Vector.</DL>
</DD>
</DL>
<HR>

<A NAME="getBoolean(java.lang.String)"><!-- --></A><H3>
getBoolean</H3>
<PRE>
public boolean <B>getBoolean</B>(java.lang.String&nbsp;key)</PRE>
<DL>
<DD>Get a boolean associated with the given configuration key.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>key</CODE> - the configuration key.<DT><B>Returns:</B><DD>the associated boolean.<DT><B>Throws:</B><DD>java.util.NoSuchElementException - is thrown if the key doesn't
 map to an existing object.<DD>ClassCastException - is thrown if the key maps to an
 object that is not a Boolean.</DL>
</DD>
</DL>
<HR>

<A NAME="getBoolean(java.lang.String, boolean)"><!-- --></A><H3>
getBoolean</H3>
<PRE>
public boolean <B>getBoolean</B>(java.lang.String&nbsp;key,
                          boolean&nbsp;defaultValue)</PRE>
<DL>
<DD>Get a boolean associated with the given configuration key.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>key</CODE> - the configuration key.<DD><CODE>defaultValue</CODE> - the defaul value.<DT><B>Returns:</B><DD>the associated boolean.<DT><B>Throws:</B><DD>ClassCastException - is thrown if the key maps to an
 object that is not a Boolean.</DL>
</DD>
</DL>
<HR>

<A NAME="getBoolean(java.lang.String, java.lang.Boolean)"><!-- --></A><H3>
getBoolean</H3>
<PRE>
public java.lang.Boolean <B>getBoolean</B>(java.lang.String&nbsp;key,
                                    java.lang.Boolean&nbsp;defaultValue)</PRE>
<DL>
<DD>Get a boolean associated with the given configuration key.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>key</CODE> - the configuration key.<DD><CODE>defaultValue</CODE> - the defaul value.<DT><B>Returns:</B><DD>the associated boolean if key is found and has valid format,
 default value otherwise.<DT><B>Throws:</B><DD>ClassCastException - is thrown if the key maps to an
 object that is not a Boolean.</DL>
</DD>
</DL>
<HR>

<A NAME="getByte(java.lang.String)"><!-- --></A><H3>
getByte</H3>
<PRE>
public byte <B>getByte</B>(java.lang.String&nbsp;key)</PRE>
<DL>
<DD>Get a byte associated with the given configuration key.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>key</CODE> - the configuration key.<DT><B>Returns:</B><DD>the associated byte.<DT><B>Throws:</B><DD>java.util.NoSuchElementException - is thrown if the key doesn't
 map to an existing object.<DD>ClassCastException - is thrown if the key maps to an
 object that is not a Byte.<DD>java.lang.NumberFormatException - is thrown if the value
 mapped by the key has not a valid number format.</DL>
</DD>
</DL>
<HR>

<A NAME="getByte(java.lang.String, byte)"><!-- --></A><H3>
getByte</H3>
<PRE>
public byte <B>getByte</B>(java.lang.String&nbsp;key,
                    byte&nbsp;defaultValue)</PRE>
<DL>
<DD>Get a byte associated with the given configuration key.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>key</CODE> - the configuration key.<DD><CODE>defaultValue</CODE> - the defaul value.<DT><B>Returns:</B><DD>the associated byte.<DT><B>Throws:</B><DD>ClassCastException - is thrown if the key maps to an
 object that is not a Byte.<DD>java.lang.NumberFormatException - is thrown if the value
 mapped by the key has not a valid number format.</DL>
</DD>
</DL>
<HR>

<A NAME="getByte(java.lang.String, java.lang.Byte)"><!-- --></A><H3>
getByte</H3>
<PRE>
public java.lang.Byte <B>getByte</B>(java.lang.String&nbsp;key,
                              java.lang.Byte&nbsp;defaultValue)</PRE>
<DL>
<DD>Get a byte associated with the given configuration key.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>key</CODE> - the configuration key.<DD><CODE>defaultValue</CODE> - the defaul value.<DT><B>Returns:</B><DD>the associated byte if key is found and has valid format,
 default value otherwise.<DT><B>Throws:</B><DD>ClassCastException - is thrown if the key maps to an
 object that is not a Byte.<DD>java.lang.NumberFormatException - is thrown if the value
 mapped by the key has not a valid number format.</DL>
</DD>
</DL>
<HR>

<A NAME="getShort(java.lang.String)"><!-- --></A><H3>
getShort</H3>
<PRE>
public short <B>getShort</B>(java.lang.String&nbsp;key)</PRE>
<DL>
<DD>Get a short associated with the given configuration key.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>key</CODE> - the configuration key.<DT><B>Returns:</B><DD>the associated short.<DT><B>Throws:</B><DD>java.util.NoSuchElementException - is thrown if the key doesn't
 map to an existing object.<DD>ClassCastException - is thrown if the key maps to an
 object that is not a Short.<DD>java.lang.NumberFormatException - is thrown if the value
 mapped by the key has not a valid number format.</DL>
</DD>
</DL>
<HR>

<A NAME="getShort(java.lang.String, short)"><!-- --></A><H3>
getShort</H3>
<PRE>
public short <B>getShort</B>(java.lang.String&nbsp;key,
                      short&nbsp;defaultValue)</PRE>
<DL>
<DD>Get a short associated with the given configuration key.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>key</CODE> - the configuration key.<DD><CODE>defaultValue</CODE> - the defaul value.<DT><B>Returns:</B><DD>the associated short.<DT><B>Throws:</B><DD>ClassCastException - is thrown if the key maps to an
 object that is not a Short.<DD>java.lang.NumberFormatException - is thrown if the value
 mapped by the key has not a valid number format.</DL>
</DD>
</DL>
<HR>

<A NAME="getShort(java.lang.String, java.lang.Short)"><!-- --></A><H3>
getShort</H3>
<PRE>
public java.lang.Short <B>getShort</B>(java.lang.String&nbsp;key,
                                java.lang.Short&nbsp;defaultValue)</PRE>
<DL>
<DD>Get a short associated with the given configuration key.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>key</CODE> - the configuration key.<DD><CODE>defaultValue</CODE> - the defaul value.<DT><B>Returns:</B><DD>the associated short if key is found and has valid format,
 default value otherwise.<DT><B>Throws:</B><DD>ClassCastException - is thrown if the key maps to an
 object that is not a Short.<DD>java.lang.NumberFormatException - is thrown if the value
 mapped by the key has not a valid number format.</DL>
</DD>
</DL>
<HR>

<A NAME="getInteger(java.lang.String)"><!-- --></A><H3>
getInteger</H3>
<PRE>
public int <B>getInteger</B>(java.lang.String&nbsp;key)</PRE>
<DL>
<DD>Get a int associated with the given configuration key.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>key</CODE> - the configuration key.<DT><B>Returns:</B><DD>the associated int.<DT><B>Throws:</B><DD>java.util.NoSuchElementException - is thrown if the key doesn't
 map to an existing object.<DD>ClassCastException - is thrown if the key maps to an
 object that is not a Integer.<DD>java.lang.NumberFormatException - is thrown if the value
 mapped by the key has not a valid number format.</DL>
</DD>
</DL>
<HR>

<A NAME="getInteger(java.lang.String, int)"><!-- --></A><H3>
getInteger</H3>
<PRE>
public int <B>getInteger</B>(java.lang.String&nbsp;key,
                      int&nbsp;defaultValue)</PRE>
<DL>
<DD>Get a int associated with the given configuration key.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>key</CODE> - the configuration key.<DD><CODE>defaultValue</CODE> - the defaul value.<DT><B>Returns:</B><DD>the associated int.<DT><B>Throws:</B><DD>ClassCastException - is thrown if the key maps to an
 object that is not a Integer.<DD>java.lang.NumberFormatException - is thrown if the value
 mapped by the key has not a valid number format.</DL>
</DD>
</DL>
<HR>

<A NAME="getInteger(java.lang.String, java.lang.Integer)"><!-- --></A><H3>
getInteger</H3>
<PRE>
public java.lang.Integer <B>getInteger</B>(java.lang.String&nbsp;key,
                                    java.lang.Integer&nbsp;defaultValue)</PRE>
<DL>
<DD>Get a int associated with the given configuration key.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>key</CODE> - the configuration key.<DD><CODE>defaultValue</CODE> - the defaul value.<DT><B>Returns:</B><DD>the associated int if key is found and has valid format,
 default value otherwise.<DT><B>Throws:</B><DD>ClassCastException - is thrown if the key maps to an
 object that is not a Integer.<DD>java.lang.NumberFormatException - is thrown if the value
 mapped by the key has not a valid number format.</DL>
</DD>
</DL>
<HR>

<A NAME="getLong(java.lang.String)"><!-- --></A><H3>
getLong</H3>
<PRE>
public long <B>getLong</B>(java.lang.String&nbsp;key)</PRE>
<DL>
<DD>Get a long associated with the given configuration key.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>key</CODE> - the configuration key.<DT><B>Returns:</B><DD>the associated long.<DT><B>Throws:</B><DD>java.util.NoSuchElementException - is thrown if the key doesn't
 map to an existing object.<DD>ClassCastException - is thrown if the key maps to an
 object that is not a Long.<DD>java.lang.NumberFormatException - is thrown if the value
 mapped by the key has not a valid number format.</DL>
</DD>
</DL>
<HR>

<A NAME="getLong(java.lang.String, long)"><!-- --></A><H3>
getLong</H3>
<PRE>
public long <B>getLong</B>(java.lang.String&nbsp;key,
                    long&nbsp;defaultValue)</PRE>
<DL>
<DD>Get a long associated with the given configuration key.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>key</CODE> - the configuration key.<DD><CODE>defaultValue</CODE> - the defaul value.<DT><B>Returns:</B><DD>the associated long.<DT><B>Throws:</B><DD>ClassCastException - is thrown if the key maps to an
 object that is not a Long.<DD>java.lang.NumberFormatException - is thrown if the value
 mapped by the key has not a valid number format.</DL>
</DD>
</DL>
<HR>

<A NAME="getLong(java.lang.String, java.lang.Long)"><!-- --></A><H3>
getLong</H3>
<PRE>
public java.lang.Long <B>getLong</B>(java.lang.String&nbsp;key,
                              java.lang.Long&nbsp;defaultValue)</PRE>
<DL>
<DD>Get a long associated with the given configuration key.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>key</CODE> - the configuration key.<DD><CODE>defaultValue</CODE> - the defaul value.<DT><B>Returns:</B><DD>the associated long if key is found and has valid format,
 default value otherwise.<DT><B>Throws:</B><DD>ClassCastException - is thrown if the key maps to an
 object that is not a Long.<DD>java.lang.NumberFormatException - is thrown if the value
 mapped by the key has not a valid number format.</DL>
</DD>
</DL>
<HR>

<A NAME="getFloat(java.lang.String)"><!-- --></A><H3>
getFloat</H3>
<PRE>
public float <B>getFloat</B>(java.lang.String&nbsp;key)</PRE>
<DL>
<DD>Get a float associated with the given configuration key.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>key</CODE> - the configuration key.<DT><B>Returns:</B><DD>the associated float.<DT><B>Throws:</B><DD>java.util.NoSuchElementException - is thrown if the key doesn't
 map to an existing object.<DD>ClassCastException - is thrown if the key maps to an
 object that is not a Float.<DD>java.lang.NumberFormatException - is thrown if the value
 mapped by the key has not a valid number format.</DL>
</DD>
</DL>
<HR>

<A NAME="getFloat(java.lang.String, float)"><!-- --></A><H3>
getFloat</H3>
<PRE>
public float <B>getFloat</B>(java.lang.String&nbsp;key,
                      float&nbsp;defaultValue)</PRE>
<DL>
<DD>Get a float associated with the given configuration key.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>key</CODE> - the configuration key.<DD><CODE>defaultValue</CODE> - the defaul value.<DT><B>Returns:</B><DD>the associated float.<DT><B>Throws:</B><DD>ClassCastException - is thrown if the key maps to an
 object that is not a Float.<DD>java.lang.NumberFormatException - is thrown if the value
 mapped by the key has not a valid number format.</DL>
</DD>
</DL>
<HR>

<A NAME="getFloat(java.lang.String, java.lang.Float)"><!-- --></A><H3>
getFloat</H3>
<PRE>
public java.lang.Float <B>getFloat</B>(java.lang.String&nbsp;key,
                                java.lang.Float&nbsp;defaultValue)</PRE>
<DL>
<DD>Get a float associated with the given configuration key.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>key</CODE> - the configuration key.<DD><CODE>defaultValue</CODE> - the defaul value.<DT><B>Returns:</B><DD>the associated float if key is found and has valid format,
 default value otherwise.<DT><B>Throws:</B><DD>ClassCastException - is thrown if the key maps to an
 object that is not a Float.<DD>java.lang.NumberFormatException - is thrown if the value
 mapped by the key has not a valid number format.</DL>
</DD>
</DL>
<HR>

<A NAME="getDouble(java.lang.String)"><!-- --></A><H3>
getDouble</H3>
<PRE>
public double <B>getDouble</B>(java.lang.String&nbsp;key)</PRE>
<DL>
<DD>Get a double associated with the given configuration key.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>key</CODE> - the configuration key.<DT><B>Returns:</B><DD>the associated double.<DT><B>Throws:</B><DD>java.util.NoSuchElementException - is thrown if the key doesn't
 map to an existing object.<DD>ClassCastException - is thrown if the key maps to an
 object that is not a Double.<DD>java.lang.NumberFormatException - is thrown if the value
 mapped by the key has not a valid number format.</DL>
</DD>
</DL>
<HR>

<A NAME="getDouble(java.lang.String, double)"><!-- --></A><H3>
getDouble</H3>
<PRE>
public double <B>getDouble</B>(java.lang.String&nbsp;key,
                        double&nbsp;defaultValue)</PRE>
<DL>
<DD>Get a double associated with the given configuration key.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>key</CODE> - the configuration key.<DD><CODE>defaultValue</CODE> - the defaul value.<DT><B>Returns:</B><DD>the associated double.<DT><B>Throws:</B><DD>ClassCastException - is thrown if the key maps to an
 object that is not a Double.<DD>java.lang.NumberFormatException - is thrown if the value
 mapped by the key has not a valid number format.</DL>
</DD>
</DL>
<HR>

<A NAME="getDouble(java.lang.String, java.lang.Double)"><!-- --></A><H3>
getDouble</H3>
<PRE>
public java.lang.Double <B>getDouble</B>(java.lang.String&nbsp;key,
                                  java.lang.Double&nbsp;defaultValue)</PRE>
<DL>
<DD>Get a double associated with the given configuration key.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>key</CODE> - the configuration key.<DD><CODE>defaultValue</CODE> - the defaul value.<DT><B>Returns:</B><DD>the associated double if key is found and has valid format,
 default value otherwise.<DT><B>Throws:</B><DD>ClassCastException - is thrown if the key maps to an
 object that is not a Double.<DD>java.lang.NumberFormatException - is thrown if the value
 mapped by the key has not a valid number format.</DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>

<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_bottom"><!-- --></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" ID="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
  <TR ALIGN="center" VALIGN="top">
  <TD BGCOLOR="#EEEEFF" ID="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT ID="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" ID="NavBarCell1">    <A HREF="package-summary.html"><FONT ID="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#FFFFFF" ID="NavBarCell1Rev"> &nbsp;<FONT ID="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" ID="NavBarCell1">    <A HREF="package-tree.html"><FONT ID="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" ID="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT ID="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" ID="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT ID="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" ID="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT ID="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  </TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>

<TR>
<TD BGCOLOR="white" ID="NavBarCell2"><FONT SIZE="-2">
&nbsp;PREV CLASS&nbsp;
&nbsp;<A HREF="../../../../org/apache/java/util/ConfigurationsRepository.html"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" ID="NavBarCell2"><FONT SIZE="-2">
  <A HREF="../../../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="Configurations.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD>
</TR>
<TR>
<TD VALIGN="top" ID="NavBarCell3"><FONT SIZE="-2">
  SUMMARY: &nbsp;INNER&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" ID="NavBarCell3"><FONT SIZE="-2">
DETAIL: &nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->

<HR>

</BODY>
</HTML>