Subversion Repositories bacoAlunos

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
1777 jmachado 1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2
<!--NewPage-->
3
<HTML>
4
<HEAD>
5
<!-- Generated by javadoc (build 1.5.0_09) on Thu Nov 02 11:46:40 EST 2006 -->
6
<TITLE>
7
IniProperty (Ant Contrib)
8
</TITLE>
9
 
10
<META NAME="keywords" CONTENT="net.sf.antcontrib.inifile.IniProperty class">
11
 
12
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
13
 
14
<SCRIPT type="text/javascript">
15
function windowTitle()
16
{
17
    parent.document.title="IniProperty (Ant Contrib)";
18
}
19
</SCRIPT>
20
<NOSCRIPT>
21
</NOSCRIPT>
22
 
23
</HEAD>
24
 
25
<BODY BGCOLOR="white" onload="windowTitle();">
26
 
27
 
28
<!-- ========= START OF TOP NAVBAR ======= -->
29
<A NAME="navbar_top"><!-- --></A>
30
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
31
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
32
<TR>
33
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
34
<A NAME="navbar_top_firstrow"><!-- --></A>
35
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
36
  <TR ALIGN="center" VALIGN="top">
37
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
38
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
39
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
40
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
41
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
42
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
43
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
44
  </TR>
45
</TABLE>
46
</TD>
47
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
48
</EM>
49
</TD>
50
</TR>
51
 
52
<TR>
53
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
54
&nbsp;<A HREF="../../../../net/sf/antcontrib/inifile/IniPart.html" title="interface in net.sf.antcontrib.inifile"><B>PREV CLASS</B></A>&nbsp;
55
&nbsp;<A HREF="../../../../net/sf/antcontrib/inifile/IniSection.html" title="class in net.sf.antcontrib.inifile"><B>NEXT CLASS</B></A></FONT></TD>
56
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
57
  <A HREF="../../../../index.html?net/sf/antcontrib/inifile/IniProperty.html" target="_top"><B>FRAMES</B></A>  &nbsp;
58
&nbsp;<A HREF="IniProperty.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
59
&nbsp;<SCRIPT type="text/javascript">
60
  <!--
61
  if(window==top) {
62
    document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
63
  }
64
  //-->
65
</SCRIPT>
66
<NOSCRIPT>
67
  <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
68
</NOSCRIPT>
69
 
70
 
71
</FONT></TD>
72
</TR>
73
<TR>
74
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
75
  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
76
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
77
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
78
</TR>
79
</TABLE>
80
<A NAME="skip-navbar_top"></A>
81
<!-- ========= END OF TOP NAVBAR ========= -->
82
 
83
<HR>
84
<!-- ======== START OF CLASS DATA ======== -->
85
<H2>
86
<FONT SIZE="-1">
87
net.sf.antcontrib.inifile</FONT>
88
<BR>
89
Class IniProperty</H2>
90
<PRE>
91
java.lang.Object
92
  <IMG SRC="../../../../resources/inherit.gif" ALT="extended by "><B>net.sf.antcontrib.inifile.IniProperty</B>
93
</PRE>
94
<DL>
95
<DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../../net/sf/antcontrib/inifile/IniPart.html" title="interface in net.sf.antcontrib.inifile">IniPart</A></DD>
96
</DL>
97
<HR>
98
<DL>
99
<DT><PRE>public class <B>IniProperty</B><DT>extends java.lang.Object<DT>implements <A HREF="../../../../net/sf/antcontrib/inifile/IniPart.html" title="interface in net.sf.antcontrib.inifile">IniPart</A></DL>
100
</PRE>
101
 
102
<P>
103
A single property in an IniSection.
104
<P>
105
 
106
<P>
107
<DL>
108
<DT><B>Author:</B></DT>
109
  <DD><a href='mailto:mattinger@yahoo.com'>Matthew Inger</a></DD>
110
</DL>
111
<HR>
112
 
113
<P>
114
 
115
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
116
 
117
<A NAME="constructor_summary"><!-- --></A>
118
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
119
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
120
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
121
<B>Constructor Summary</B></FONT></TH>
122
</TR>
123
<TR BGCOLOR="white" CLASS="TableRowColor">
124
<TD><CODE><B><A HREF="../../../../net/sf/antcontrib/inifile/IniProperty.html#IniProperty()">IniProperty</A></B>()</CODE>
125
 
126
<BR>
127
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Default constructor</TD>
128
</TR>
129
<TR BGCOLOR="white" CLASS="TableRowColor">
130
<TD><CODE><B><A HREF="../../../../net/sf/antcontrib/inifile/IniProperty.html#IniProperty(java.lang.String, java.lang.String)">IniProperty</A></B>(java.lang.String&nbsp;name,
131
            java.lang.String&nbsp;value)</CODE>
132
 
133
<BR>
134
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Construct an IniProperty with a certain name and value</TD>
135
</TR>
136
</TABLE>
137
&nbsp;
138
<!-- ========== METHOD SUMMARY =========== -->
139
 
140
<A NAME="method_summary"><!-- --></A>
141
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
142
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
143
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
144
<B>Method Summary</B></FONT></TH>
145
</TR>
146
<TR BGCOLOR="white" CLASS="TableRowColor">
147
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
148
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
149
<TD><CODE><B><A HREF="../../../../net/sf/antcontrib/inifile/IniProperty.html#getName()">getName</A></B>()</CODE>
150
 
151
<BR>
152
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the name of the property</TD>
153
</TR>
154
<TR BGCOLOR="white" CLASS="TableRowColor">
155
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
156
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
157
<TD><CODE><B><A HREF="../../../../net/sf/antcontrib/inifile/IniProperty.html#getValue()">getValue</A></B>()</CODE>
158
 
159
<BR>
160
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the value of the property</TD>
161
</TR>
162
<TR BGCOLOR="white" CLASS="TableRowColor">
163
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
164
<CODE>&nbsp;void</CODE></FONT></TD>
165
<TD><CODE><B><A HREF="../../../../net/sf/antcontrib/inifile/IniProperty.html#setName(java.lang.String)">setName</A></B>(java.lang.String&nbsp;name)</CODE>
166
 
167
<BR>
168
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the name of the property</TD>
169
</TR>
170
<TR BGCOLOR="white" CLASS="TableRowColor">
171
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
172
<CODE>&nbsp;void</CODE></FONT></TD>
173
<TD><CODE><B><A HREF="../../../../net/sf/antcontrib/inifile/IniProperty.html#setValue(java.lang.String)">setValue</A></B>(java.lang.String&nbsp;value)</CODE>
174
 
175
<BR>
176
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the value of the property</TD>
177
</TR>
178
<TR BGCOLOR="white" CLASS="TableRowColor">
179
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
180
<CODE>&nbsp;void</CODE></FONT></TD>
181
<TD><CODE><B><A HREF="../../../../net/sf/antcontrib/inifile/IniProperty.html#write(java.io.Writer)">write</A></B>(java.io.Writer&nbsp;writer)</CODE>
182
 
183
<BR>
184
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Write this property to a writer object.</TD>
185
</TR>
186
</TABLE>
187
&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
188
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
189
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
190
<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
191
</TR>
192
<TR BGCOLOR="white" CLASS="TableRowColor">
193
<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
194
</TR>
195
</TABLE>
196
&nbsp;
197
<P>
198
 
199
<!-- ========= CONSTRUCTOR DETAIL ======== -->
200
 
201
<A NAME="constructor_detail"><!-- --></A>
202
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
203
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
204
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
205
<B>Constructor Detail</B></FONT></TH>
206
</TR>
207
</TABLE>
208
 
209
<A NAME="IniProperty()"><!-- --></A><H3>
210
IniProperty</H3>
211
<PRE>
212
public <B>IniProperty</B>()</PRE>
213
<DL>
214
<DD>Default constructor
215
<P>
216
</DL>
217
<HR>
218
 
219
<A NAME="IniProperty(java.lang.String, java.lang.String)"><!-- --></A><H3>
220
IniProperty</H3>
221
<PRE>
222
public <B>IniProperty</B>(java.lang.String&nbsp;name,
223
                   java.lang.String&nbsp;value)</PRE>
224
<DL>
225
<DD>Construct an IniProperty with a certain name and value
226
<P>
227
<DL>
228
<DT><B>Parameters:</B><DD><CODE>name</CODE> - The name of the property<DD><CODE>value</CODE> - The property value</DL>
229
</DL>
230
 
231
<!-- ============ METHOD DETAIL ========== -->
232
 
233
<A NAME="method_detail"><!-- --></A>
234
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
235
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
236
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
237
<B>Method Detail</B></FONT></TH>
238
</TR>
239
</TABLE>
240
 
241
<A NAME="getName()"><!-- --></A><H3>
242
getName</H3>
243
<PRE>
244
public java.lang.String <B>getName</B>()</PRE>
245
<DL>
246
<DD>Gets the name of the property
247
<P>
248
<DD><DL>
249
</DL>
250
</DD>
251
<DD><DL>
252
</DL>
253
</DD>
254
</DL>
255
<HR>
256
 
257
<A NAME="setName(java.lang.String)"><!-- --></A><H3>
258
setName</H3>
259
<PRE>
260
public void <B>setName</B>(java.lang.String&nbsp;name)</PRE>
261
<DL>
262
<DD>Sets the name of the property
263
<P>
264
<DD><DL>
265
</DL>
266
</DD>
267
<DD><DL>
268
<DT><B>Parameters:</B><DD><CODE>name</CODE> - The name of the property</DL>
269
</DD>
270
</DL>
271
<HR>
272
 
273
<A NAME="getValue()"><!-- --></A><H3>
274
getValue</H3>
275
<PRE>
276
public java.lang.String <B>getValue</B>()</PRE>
277
<DL>
278
<DD>Gets the value of the property
279
<P>
280
<DD><DL>
281
</DL>
282
</DD>
283
<DD><DL>
284
</DL>
285
</DD>
286
</DL>
287
<HR>
288
 
289
<A NAME="setValue(java.lang.String)"><!-- --></A><H3>
290
setValue</H3>
291
<PRE>
292
public void <B>setValue</B>(java.lang.String&nbsp;value)</PRE>
293
<DL>
294
<DD>Sets the value of the property
295
<P>
296
<DD><DL>
297
</DL>
298
</DD>
299
<DD><DL>
300
<DT><B>Parameters:</B><DD><CODE>value</CODE> - the value of the property</DL>
301
</DD>
302
</DL>
303
<HR>
304
 
305
<A NAME="write(java.io.Writer)"><!-- --></A><H3>
306
write</H3>
307
<PRE>
308
public void <B>write</B>(java.io.Writer&nbsp;writer)
309
           throws java.io.IOException</PRE>
310
<DL>
311
<DD>Write this property to a writer object.
312
<P>
313
<DD><DL>
314
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../net/sf/antcontrib/inifile/IniPart.html#write(java.io.Writer)">write</A></CODE> in interface <CODE><A HREF="../../../../net/sf/antcontrib/inifile/IniPart.html" title="interface in net.sf.antcontrib.inifile">IniPart</A></CODE></DL>
315
</DD>
316
<DD><DL>
317
<DT><B>Parameters:</B><DD><CODE>writer</CODE> -
318
<DT><B>Throws:</B>
319
<DD><CODE>java.io.IOException</CODE></DL>
320
</DD>
321
</DL>
322
<!-- ========= END OF CLASS DATA ========= -->
323
<HR>
324
 
325
 
326
<!-- ======= START OF BOTTOM NAVBAR ====== -->
327
<A NAME="navbar_bottom"><!-- --></A>
328
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
329
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
330
<TR>
331
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
332
<A NAME="navbar_bottom_firstrow"><!-- --></A>
333
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
334
  <TR ALIGN="center" VALIGN="top">
335
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
336
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
337
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
338
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
339
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
340
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
341
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
342
  </TR>
343
</TABLE>
344
</TD>
345
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
346
</EM>
347
</TD>
348
</TR>
349
 
350
<TR>
351
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
352
&nbsp;<A HREF="../../../../net/sf/antcontrib/inifile/IniPart.html" title="interface in net.sf.antcontrib.inifile"><B>PREV CLASS</B></A>&nbsp;
353
&nbsp;<A HREF="../../../../net/sf/antcontrib/inifile/IniSection.html" title="class in net.sf.antcontrib.inifile"><B>NEXT CLASS</B></A></FONT></TD>
354
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
355
  <A HREF="../../../../index.html?net/sf/antcontrib/inifile/IniProperty.html" target="_top"><B>FRAMES</B></A>  &nbsp;
356
&nbsp;<A HREF="IniProperty.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
357
&nbsp;<SCRIPT type="text/javascript">
358
  <!--
359
  if(window==top) {
360
    document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
361
  }
362
  //-->
363
</SCRIPT>
364
<NOSCRIPT>
365
  <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
366
</NOSCRIPT>
367
 
368
 
369
</FONT></TD>
370
</TR>
371
<TR>
372
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
373
  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
374
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
375
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
376
</TR>
377
</TABLE>
378
<A NAME="skip-navbar_bottom"></A>
379
<!-- ======== END OF BOTTOM NAVBAR ======= -->
380
 
381
<HR>
382
 
383
</BODY>
384
</HTML>