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.4.2_13) on Mon Oct 01 14:33:17 NZST 2007 -->
|
---|
6 | <TITLE>
|
---|
7 | Checksum (Apache Ant API)
|
---|
8 | </TITLE>
|
---|
9 |
|
---|
10 | <META NAME="keywords" CONTENT="org.apache.tools.ant.taskdefs.Checksum 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="Checksum (Apache Ant API)";
|
---|
18 | }
|
---|
19 | </SCRIPT>
|
---|
20 |
|
---|
21 | </HEAD>
|
---|
22 |
|
---|
23 | <BODY BGCOLOR="white" onload="windowTitle();">
|
---|
24 |
|
---|
25 |
|
---|
26 | <!-- ========= START OF TOP NAVBAR ======= -->
|
---|
27 | <A NAME="navbar_top"><!-- --></A>
|
---|
28 | <A HREF="#skip-navbar_top" title="Skip navigation links"></A>
|
---|
29 | <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
---|
30 | <TR>
|
---|
31 | <TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
---|
32 | <A NAME="navbar_top_firstrow"><!-- --></A>
|
---|
33 | <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
---|
34 | <TR ALIGN="center" VALIGN="top">
|
---|
35 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
---|
36 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
---|
37 | <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
---|
38 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
---|
39 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
---|
40 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
---|
41 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
---|
42 | </TR>
|
---|
43 | </TABLE>
|
---|
44 | </TD>
|
---|
45 | <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
---|
46 | </EM>
|
---|
47 | </TD>
|
---|
48 | </TR>
|
---|
49 |
|
---|
50 | <TR>
|
---|
51 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
---|
52 | <A HREF="../../../../../org/apache/tools/ant/taskdefs/CallTarget.html" title="class in org.apache.tools.ant.taskdefs"><B>PREV CLASS</B></A>
|
---|
53 | <A HREF="../../../../../org/apache/tools/ant/taskdefs/Chmod.html" title="class in org.apache.tools.ant.taskdefs"><B>NEXT CLASS</B></A></FONT></TD>
|
---|
54 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
---|
55 | <A HREF="../../../../../index.html" target="_top"><B>FRAMES</B></A>
|
---|
56 | <A HREF="Checksum.html" target="_top"><B>NO FRAMES</B></A>
|
---|
57 | <SCRIPT type="text/javascript">
|
---|
58 | <!--
|
---|
59 | if(window==top) {
|
---|
60 | document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
|
---|
61 | }
|
---|
62 | //-->
|
---|
63 | </SCRIPT>
|
---|
64 | <NOSCRIPT>
|
---|
65 | <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
|
---|
66 | </NOSCRIPT>
|
---|
67 |
|
---|
68 | </FONT></TD>
|
---|
69 | </TR>
|
---|
70 | <TR>
|
---|
71 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
---|
72 | SUMMARY: NESTED | <A HREF="#fields_inherited_from_class_org.apache.tools.ant.taskdefs.MatchingTask">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
---|
73 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
---|
74 | DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
---|
75 | </TR>
|
---|
76 | </TABLE>
|
---|
77 | <A NAME="skip-navbar_top"></A>
|
---|
78 | <!-- ========= END OF TOP NAVBAR ========= -->
|
---|
79 |
|
---|
80 | <HR>
|
---|
81 | <!-- ======== START OF CLASS DATA ======== -->
|
---|
82 | <H2>
|
---|
83 | <FONT SIZE="-1">
|
---|
84 | org.apache.tools.ant.taskdefs</FONT>
|
---|
85 | <BR>
|
---|
86 | Class Checksum</H2>
|
---|
87 | <PRE>
|
---|
88 | java.lang.Object
|
---|
89 | <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by"><A HREF="../../../../../org/apache/tools/ant/ProjectComponent.html" title="class in org.apache.tools.ant">org.apache.tools.ant.ProjectComponent</A>
|
---|
90 | <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by"><A HREF="../../../../../org/apache/tools/ant/Task.html" title="class in org.apache.tools.ant">org.apache.tools.ant.Task</A>
|
---|
91 | <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by"><A HREF="../../../../../org/apache/tools/ant/taskdefs/MatchingTask.html" title="class in org.apache.tools.ant.taskdefs">org.apache.tools.ant.taskdefs.MatchingTask</A>
|
---|
92 | <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by"><B>org.apache.tools.ant.taskdefs.Checksum</B>
|
---|
93 | </PRE>
|
---|
94 | <DL>
|
---|
95 | <DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../../../org/apache/tools/ant/taskdefs/condition/Condition.html" title="interface in org.apache.tools.ant.taskdefs.condition">Condition</A>, <A HREF="../../../../../org/apache/tools/ant/types/selectors/SelectorContainer.html" title="interface in org.apache.tools.ant.types.selectors">SelectorContainer</A></DD>
|
---|
96 | </DL>
|
---|
97 | <HR>
|
---|
98 | <DL>
|
---|
99 | <DT>public class <B>Checksum</B><DT>extends <A HREF="../../../../../org/apache/tools/ant/taskdefs/MatchingTask.html" title="class in org.apache.tools.ant.taskdefs">MatchingTask</A><DT>implements <A HREF="../../../../../org/apache/tools/ant/taskdefs/condition/Condition.html" title="interface in org.apache.tools.ant.taskdefs.condition">Condition</A></DL>
|
---|
100 |
|
---|
101 | <P>
|
---|
102 | Used to create or verify file checksums.
|
---|
103 | <P>
|
---|
104 |
|
---|
105 | <P>
|
---|
106 | <DL>
|
---|
107 | <DT><B>Since:</B></DT>
|
---|
108 | <DD>Ant 1.5</DD>
|
---|
109 | </DL>
|
---|
110 | <HR>
|
---|
111 |
|
---|
112 | <P>
|
---|
113 | <!-- ======== NESTED CLASS SUMMARY ======== -->
|
---|
114 |
|
---|
115 |
|
---|
116 | <!-- =========== FIELD SUMMARY =========== -->
|
---|
117 |
|
---|
118 | <A NAME="field_summary"><!-- --></A>
|
---|
119 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
120 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
121 | <TD COLSPAN=2><FONT SIZE="+2">
|
---|
122 | <B>Field Summary</B></FONT></TD>
|
---|
123 | </TR>
|
---|
124 | </TABLE>
|
---|
125 | <A NAME="fields_inherited_from_class_org.apache.tools.ant.taskdefs.MatchingTask"><!-- --></A>
|
---|
126 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
127 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
---|
128 | <TD><B>Fields inherited from class org.apache.tools.ant.taskdefs.<A HREF="../../../../../org/apache/tools/ant/taskdefs/MatchingTask.html" title="class in org.apache.tools.ant.taskdefs">MatchingTask</A></B></TD>
|
---|
129 | </TR>
|
---|
130 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
131 | <TD><CODE><A HREF="../../../../../org/apache/tools/ant/taskdefs/MatchingTask.html#fileset">fileset</A></CODE></TD>
|
---|
132 | </TR>
|
---|
133 | </TABLE>
|
---|
134 | <A NAME="fields_inherited_from_class_org.apache.tools.ant.Task"><!-- --></A>
|
---|
135 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
136 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
---|
137 | <TD><B>Fields inherited from class org.apache.tools.ant.<A HREF="../../../../../org/apache/tools/ant/Task.html" title="class in org.apache.tools.ant">Task</A></B></TD>
|
---|
138 | </TR>
|
---|
139 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
140 | <TD><CODE><A HREF="../../../../../org/apache/tools/ant/Task.html#description">description</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#location">location</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#target">target</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#taskName">taskName</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#taskType">taskType</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#wrapper">wrapper</A></CODE></TD>
|
---|
141 | </TR>
|
---|
142 | </TABLE>
|
---|
143 | <A NAME="fields_inherited_from_class_org.apache.tools.ant.ProjectComponent"><!-- --></A>
|
---|
144 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
145 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
---|
146 | <TD><B>Fields inherited from class org.apache.tools.ant.<A HREF="../../../../../org/apache/tools/ant/ProjectComponent.html" title="class in org.apache.tools.ant">ProjectComponent</A></B></TD>
|
---|
147 | </TR>
|
---|
148 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
149 | <TD><CODE><A HREF="../../../../../org/apache/tools/ant/ProjectComponent.html#project">project</A></CODE></TD>
|
---|
150 | </TR>
|
---|
151 | </TABLE>
|
---|
152 |
|
---|
153 | <!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
---|
154 |
|
---|
155 | <A NAME="constructor_summary"><!-- --></A>
|
---|
156 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
157 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
158 | <TD COLSPAN=2><FONT SIZE="+2">
|
---|
159 | <B>Constructor Summary</B></FONT></TD>
|
---|
160 | </TR>
|
---|
161 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
162 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Checksum.html#Checksum()">Checksum</A></B>()</CODE>
|
---|
163 |
|
---|
164 | <BR>
|
---|
165 | </TD>
|
---|
166 | </TR>
|
---|
167 | </TABLE>
|
---|
168 |
|
---|
169 | <!-- ========== METHOD SUMMARY =========== -->
|
---|
170 |
|
---|
171 | <A NAME="method_summary"><!-- --></A>
|
---|
172 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
173 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
174 | <TD COLSPAN=2><FONT SIZE="+2">
|
---|
175 | <B>Method Summary</B></FONT></TD>
|
---|
176 | </TR>
|
---|
177 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
178 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
179 | <CODE> void</CODE></FONT></TD>
|
---|
180 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Checksum.html#addFileset(org.apache.tools.ant.types.FileSet)">addFileset</A></B>(<A HREF="../../../../../org/apache/tools/ant/types/FileSet.html" title="class in org.apache.tools.ant.types">FileSet</A> set)</CODE>
|
---|
181 |
|
---|
182 | <BR>
|
---|
183 | Files to generate checksums for.</TD>
|
---|
184 | </TR>
|
---|
185 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
186 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
187 | <CODE>static byte[]</CODE></FONT></TD>
|
---|
188 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Checksum.html#decodeHex(char[])">decodeHex</A></B>(char[] data)</CODE>
|
---|
189 |
|
---|
190 | <BR>
|
---|
191 | Converts an array of characters representing hexadecimal values into an
|
---|
192 | array of bytes of those same values.</TD>
|
---|
193 | </TR>
|
---|
194 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
195 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
196 | <CODE> boolean</CODE></FONT></TD>
|
---|
197 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Checksum.html#eval()">eval</A></B>()</CODE>
|
---|
198 |
|
---|
199 | <BR>
|
---|
200 | Calculate the checksum(s)</TD>
|
---|
201 | </TR>
|
---|
202 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
203 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
204 | <CODE> void</CODE></FONT></TD>
|
---|
205 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Checksum.html#execute()">execute</A></B>()</CODE>
|
---|
206 |
|
---|
207 | <BR>
|
---|
208 | Calculate the checksum(s).</TD>
|
---|
209 | </TR>
|
---|
210 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
211 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
212 | <CODE> void</CODE></FONT></TD>
|
---|
213 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Checksum.html#setAlgorithm(java.lang.String)">setAlgorithm</A></B>(java.lang.String algorithm)</CODE>
|
---|
214 |
|
---|
215 | <BR>
|
---|
216 | Specifies the algorithm to be used to compute the checksum.</TD>
|
---|
217 | </TR>
|
---|
218 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
219 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
220 | <CODE> void</CODE></FONT></TD>
|
---|
221 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Checksum.html#setFile(java.io.File)">setFile</A></B>(java.io.File file)</CODE>
|
---|
222 |
|
---|
223 | <BR>
|
---|
224 | Sets the file for which the checksum is to be calculated.</TD>
|
---|
225 | </TR>
|
---|
226 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
227 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
228 | <CODE> void</CODE></FONT></TD>
|
---|
229 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Checksum.html#setFileext(java.lang.String)">setFileext</A></B>(java.lang.String fileext)</CODE>
|
---|
230 |
|
---|
231 | <BR>
|
---|
232 | Sets the file extension that is be to used to
|
---|
233 | create or identify destination file.</TD>
|
---|
234 | </TR>
|
---|
235 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
236 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
237 | <CODE> void</CODE></FONT></TD>
|
---|
238 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Checksum.html#setForceOverwrite(boolean)">setForceOverwrite</A></B>(boolean forceOverwrite)</CODE>
|
---|
239 |
|
---|
240 | <BR>
|
---|
241 | Whether or not to overwrite existing file irrespective of
|
---|
242 | whether it is newer than
|
---|
243 | the source file.</TD>
|
---|
244 | </TR>
|
---|
245 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
246 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
247 | <CODE> void</CODE></FONT></TD>
|
---|
248 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Checksum.html#setProperty(java.lang.String)">setProperty</A></B>(java.lang.String property)</CODE>
|
---|
249 |
|
---|
250 | <BR>
|
---|
251 | Sets the property to hold the generated checksum.</TD>
|
---|
252 | </TR>
|
---|
253 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
254 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
255 | <CODE> void</CODE></FONT></TD>
|
---|
256 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Checksum.html#setProvider(java.lang.String)">setProvider</A></B>(java.lang.String provider)</CODE>
|
---|
257 |
|
---|
258 | <BR>
|
---|
259 | Sets the MessageDigest algorithm provider to be used
|
---|
260 | to calculate the checksum.</TD>
|
---|
261 | </TR>
|
---|
262 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
263 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
264 | <CODE> void</CODE></FONT></TD>
|
---|
265 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Checksum.html#setReadBufferSize(int)">setReadBufferSize</A></B>(int size)</CODE>
|
---|
266 |
|
---|
267 | <BR>
|
---|
268 | The size of the read buffer to use.</TD>
|
---|
269 | </TR>
|
---|
270 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
271 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
272 | <CODE> void</CODE></FONT></TD>
|
---|
273 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Checksum.html#setTodir(java.io.File)">setTodir</A></B>(java.io.File todir)</CODE>
|
---|
274 |
|
---|
275 | <BR>
|
---|
276 | Sets the root directory where checksum files will be
|
---|
277 | written/read</TD>
|
---|
278 | </TR>
|
---|
279 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
280 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
281 | <CODE> void</CODE></FONT></TD>
|
---|
282 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Checksum.html#setTotalproperty(java.lang.String)">setTotalproperty</A></B>(java.lang.String totalproperty)</CODE>
|
---|
283 |
|
---|
284 | <BR>
|
---|
285 | Sets the property to hold the generated total checksum
|
---|
286 | for all files.</TD>
|
---|
287 | </TR>
|
---|
288 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
289 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
290 | <CODE> void</CODE></FONT></TD>
|
---|
291 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Checksum.html#setVerifyproperty(java.lang.String)">setVerifyproperty</A></B>(java.lang.String verifyProperty)</CODE>
|
---|
292 |
|
---|
293 | <BR>
|
---|
294 | Sets the verify property.</TD>
|
---|
295 | </TR>
|
---|
296 | </TABLE>
|
---|
297 | <A NAME="methods_inherited_from_class_org.apache.tools.ant.taskdefs.MatchingTask"><!-- --></A>
|
---|
298 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
299 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
---|
300 | <TD><B>Methods inherited from class org.apache.tools.ant.taskdefs.<A HREF="../../../../../org/apache/tools/ant/taskdefs/MatchingTask.html" title="class in org.apache.tools.ant.taskdefs">MatchingTask</A></B></TD>
|
---|
301 | </TR>
|
---|
302 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
303 | <TD><CODE><A HREF="../../../../../org/apache/tools/ant/taskdefs/MatchingTask.html#add(org.apache.tools.ant.types.selectors.FileSelector)">add</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/MatchingTask.html#addAnd(org.apache.tools.ant.types.selectors.AndSelector)">addAnd</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/MatchingTask.html#addContains(org.apache.tools.ant.types.selectors.ContainsSelector)">addContains</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/MatchingTask.html#addContainsRegexp(org.apache.tools.ant.types.selectors.ContainsRegexpSelector)">addContainsRegexp</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/MatchingTask.html#addCustom(org.apache.tools.ant.types.selectors.ExtendSelector)">addCustom</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/MatchingTask.html#addDate(org.apache.tools.ant.types.selectors.DateSelector)">addDate</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/MatchingTask.html#addDepend(org.apache.tools.ant.types.selectors.DependSelector)">addDepend</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/MatchingTask.html#addDepth(org.apache.tools.ant.types.selectors.DepthSelector)">addDepth</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/MatchingTask.html#addDifferent(org.apache.tools.ant.types.selectors.DifferentSelector)">addDifferent</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/MatchingTask.html#addFilename(org.apache.tools.ant.types.selectors.FilenameSelector)">addFilename</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/MatchingTask.html#addMajority(org.apache.tools.ant.types.selectors.MajoritySelector)">addMajority</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/MatchingTask.html#addModified(org.apache.tools.ant.types.selectors.modifiedselector.ModifiedSelector)">addModified</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/MatchingTask.html#addNone(org.apache.tools.ant.types.selectors.NoneSelector)">addNone</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/MatchingTask.html#addNot(org.apache.tools.ant.types.selectors.NotSelector)">addNot</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/MatchingTask.html#addOr(org.apache.tools.ant.types.selectors.OrSelector)">addOr</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/MatchingTask.html#addPresent(org.apache.tools.ant.types.selectors.PresentSelector)">addPresent</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/MatchingTask.html#addSelector(org.apache.tools.ant.types.selectors.SelectSelector)">addSelector</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/MatchingTask.html#addSize(org.apache.tools.ant.types.selectors.SizeSelector)">addSize</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/MatchingTask.html#addType(org.apache.tools.ant.types.selectors.TypeSelector)">addType</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/MatchingTask.html#appendSelector(org.apache.tools.ant.types.selectors.FileSelector)">appendSelector</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/MatchingTask.html#createExclude()">createExclude</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/MatchingTask.html#createExcludesFile()">createExcludesFile</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/MatchingTask.html#createInclude()">createInclude</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/MatchingTask.html#createIncludesFile()">createIncludesFile</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/MatchingTask.html#createPatternSet()">createPatternSet</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/MatchingTask.html#getDirectoryScanner(java.io.File)">getDirectoryScanner</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/MatchingTask.html#getImplicitFileSet()">getImplicitFileSet</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/MatchingTask.html#getSelectors(org.apache.tools.ant.Project)">getSelectors</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/MatchingTask.html#hasSelectors()">hasSelectors</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/MatchingTask.html#selectorCount()">selectorCount</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/MatchingTask.html#selectorElements()">selectorElements</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/MatchingTask.html#setCaseSensitive(boolean)">setCaseSensitive</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/MatchingTask.html#setDefaultexcludes(boolean)">setDefaultexcludes</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/MatchingTask.html#setExcludes(java.lang.String)">setExcludes</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/MatchingTask.html#setExcludesfile(java.io.File)">setExcludesfile</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/MatchingTask.html#setFollowSymlinks(boolean)">setFollowSymlinks</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/MatchingTask.html#setIncludes(java.lang.String)">setIncludes</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/MatchingTask.html#setIncludesfile(java.io.File)">setIncludesfile</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/MatchingTask.html#setProject(org.apache.tools.ant.Project)">setProject</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/MatchingTask.html#XsetIgnore(java.lang.String)">XsetIgnore</A>, <A HREF="../../../../../org/apache/tools/ant/taskdefs/MatchingTask.html#XsetItems(java.lang.String)">XsetItems</A></CODE></TD>
|
---|
304 | </TR>
|
---|
305 | </TABLE>
|
---|
306 | <A NAME="methods_inherited_from_class_org.apache.tools.ant.Task"><!-- --></A>
|
---|
307 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
308 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
---|
309 | <TD><B>Methods inherited from class org.apache.tools.ant.<A HREF="../../../../../org/apache/tools/ant/Task.html" title="class in org.apache.tools.ant">Task</A></B></TD>
|
---|
310 | </TR>
|
---|
311 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
312 | <TD><CODE><A HREF="../../../../../org/apache/tools/ant/Task.html#getDescription()">getDescription</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#getLocation()">getLocation</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#getOwningTarget()">getOwningTarget</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#getRuntimeConfigurableWrapper()">getRuntimeConfigurableWrapper</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#getTaskName()">getTaskName</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#getTaskType()">getTaskType</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#getWrapper()">getWrapper</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#handleErrorFlush(java.lang.String)">handleErrorFlush</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#handleErrorOutput(java.lang.String)">handleErrorOutput</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#handleFlush(java.lang.String)">handleFlush</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#handleInput(byte[], int, int)">handleInput</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#handleOutput(java.lang.String)">handleOutput</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#init()">init</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#isInvalid()">isInvalid</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#log(java.lang.String)">log</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#log(java.lang.String, int)">log</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#maybeConfigure()">maybeConfigure</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#perform()">perform</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#reconfigure()">reconfigure</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#setDescription(java.lang.String)">setDescription</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#setLocation(org.apache.tools.ant.Location)">setLocation</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#setOwningTarget(org.apache.tools.ant.Target)">setOwningTarget</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#setRuntimeConfigurableWrapper(org.apache.tools.ant.RuntimeConfigurable)">setRuntimeConfigurableWrapper</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#setTaskName(java.lang.String)">setTaskName</A>, <A HREF="../../../../../org/apache/tools/ant/Task.html#setTaskType(java.lang.String)">setTaskType</A></CODE></TD>
|
---|
313 | </TR>
|
---|
314 | </TABLE>
|
---|
315 | <A NAME="methods_inherited_from_class_org.apache.tools.ant.ProjectComponent"><!-- --></A>
|
---|
316 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
317 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
---|
318 | <TD><B>Methods inherited from class org.apache.tools.ant.<A HREF="../../../../../org/apache/tools/ant/ProjectComponent.html" title="class in org.apache.tools.ant">ProjectComponent</A></B></TD>
|
---|
319 | </TR>
|
---|
320 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
321 | <TD><CODE><A HREF="../../../../../org/apache/tools/ant/ProjectComponent.html#getProject()">getProject</A></CODE></TD>
|
---|
322 | </TR>
|
---|
323 | </TABLE>
|
---|
324 | <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
|
---|
325 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
326 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
---|
327 | <TD><B>Methods inherited from class java.lang.Object</B></TD>
|
---|
328 | </TR>
|
---|
329 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
330 | <TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
|
---|
331 | </TR>
|
---|
332 | </TABLE>
|
---|
333 |
|
---|
334 | <P>
|
---|
335 |
|
---|
336 | <!-- ============ FIELD DETAIL =========== -->
|
---|
337 |
|
---|
338 |
|
---|
339 | <!-- ========= CONSTRUCTOR DETAIL ======== -->
|
---|
340 |
|
---|
341 | <A NAME="constructor_detail"><!-- --></A>
|
---|
342 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
343 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
344 | <TD COLSPAN=1><FONT SIZE="+2">
|
---|
345 | <B>Constructor Detail</B></FONT></TD>
|
---|
346 | </TR>
|
---|
347 | </TABLE>
|
---|
348 |
|
---|
349 | <A NAME="Checksum()"><!-- --></A><H3>
|
---|
350 | Checksum</H3>
|
---|
351 | <PRE>
|
---|
352 | public <B>Checksum</B>()</PRE>
|
---|
353 | <DL>
|
---|
354 | </DL>
|
---|
355 |
|
---|
356 | <!-- ============ METHOD DETAIL ========== -->
|
---|
357 |
|
---|
358 | <A NAME="method_detail"><!-- --></A>
|
---|
359 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
360 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
361 | <TD COLSPAN=1><FONT SIZE="+2">
|
---|
362 | <B>Method Detail</B></FONT></TD>
|
---|
363 | </TR>
|
---|
364 | </TABLE>
|
---|
365 |
|
---|
366 | <A NAME="setFile(java.io.File)"><!-- --></A><H3>
|
---|
367 | setFile</H3>
|
---|
368 | <PRE>
|
---|
369 | public void <B>setFile</B>(java.io.File file)</PRE>
|
---|
370 | <DL>
|
---|
371 | <DD>Sets the file for which the checksum is to be calculated.
|
---|
372 | <P>
|
---|
373 | <DD><DL>
|
---|
374 | </DL>
|
---|
375 | </DD>
|
---|
376 | <DD><DL>
|
---|
377 | </DL>
|
---|
378 | </DD>
|
---|
379 | </DL>
|
---|
380 | <HR>
|
---|
381 |
|
---|
382 | <A NAME="setTodir(java.io.File)"><!-- --></A><H3>
|
---|
383 | setTodir</H3>
|
---|
384 | <PRE>
|
---|
385 | public void <B>setTodir</B>(java.io.File todir)</PRE>
|
---|
386 | <DL>
|
---|
387 | <DD>Sets the root directory where checksum files will be
|
---|
388 | written/read
|
---|
389 | <P>
|
---|
390 | <DD><DL>
|
---|
391 | </DL>
|
---|
392 | </DD>
|
---|
393 | <DD><DL>
|
---|
394 | <DT><B>Since:</B></DT>
|
---|
395 | <DD>Ant 1.6</DD>
|
---|
396 | </DL>
|
---|
397 | </DD>
|
---|
398 | </DL>
|
---|
399 | <HR>
|
---|
400 |
|
---|
401 | <A NAME="setAlgorithm(java.lang.String)"><!-- --></A><H3>
|
---|
402 | setAlgorithm</H3>
|
---|
403 | <PRE>
|
---|
404 | public void <B>setAlgorithm</B>(java.lang.String algorithm)</PRE>
|
---|
405 | <DL>
|
---|
406 | <DD>Specifies the algorithm to be used to compute the checksum.
|
---|
407 | Defaults to "MD5". Other popular algorithms like "SHA" may be used as well.
|
---|
408 | <P>
|
---|
409 | <DD><DL>
|
---|
410 | </DL>
|
---|
411 | </DD>
|
---|
412 | <DD><DL>
|
---|
413 | </DL>
|
---|
414 | </DD>
|
---|
415 | </DL>
|
---|
416 | <HR>
|
---|
417 |
|
---|
418 | <A NAME="setProvider(java.lang.String)"><!-- --></A><H3>
|
---|
419 | setProvider</H3>
|
---|
420 | <PRE>
|
---|
421 | public void <B>setProvider</B>(java.lang.String provider)</PRE>
|
---|
422 | <DL>
|
---|
423 | <DD>Sets the MessageDigest algorithm provider to be used
|
---|
424 | to calculate the checksum.
|
---|
425 | <P>
|
---|
426 | <DD><DL>
|
---|
427 | </DL>
|
---|
428 | </DD>
|
---|
429 | <DD><DL>
|
---|
430 | </DL>
|
---|
431 | </DD>
|
---|
432 | </DL>
|
---|
433 | <HR>
|
---|
434 |
|
---|
435 | <A NAME="setFileext(java.lang.String)"><!-- --></A><H3>
|
---|
436 | setFileext</H3>
|
---|
437 | <PRE>
|
---|
438 | public void <B>setFileext</B>(java.lang.String fileext)</PRE>
|
---|
439 | <DL>
|
---|
440 | <DD>Sets the file extension that is be to used to
|
---|
441 | create or identify destination file.
|
---|
442 | <P>
|
---|
443 | <DD><DL>
|
---|
444 | </DL>
|
---|
445 | </DD>
|
---|
446 | <DD><DL>
|
---|
447 | </DL>
|
---|
448 | </DD>
|
---|
449 | </DL>
|
---|
450 | <HR>
|
---|
451 |
|
---|
452 | <A NAME="setProperty(java.lang.String)"><!-- --></A><H3>
|
---|
453 | setProperty</H3>
|
---|
454 | <PRE>
|
---|
455 | public void <B>setProperty</B>(java.lang.String property)</PRE>
|
---|
456 | <DL>
|
---|
457 | <DD>Sets the property to hold the generated checksum.
|
---|
458 | <P>
|
---|
459 | <DD><DL>
|
---|
460 | </DL>
|
---|
461 | </DD>
|
---|
462 | <DD><DL>
|
---|
463 | </DL>
|
---|
464 | </DD>
|
---|
465 | </DL>
|
---|
466 | <HR>
|
---|
467 |
|
---|
468 | <A NAME="setTotalproperty(java.lang.String)"><!-- --></A><H3>
|
---|
469 | setTotalproperty</H3>
|
---|
470 | <PRE>
|
---|
471 | public void <B>setTotalproperty</B>(java.lang.String totalproperty)</PRE>
|
---|
472 | <DL>
|
---|
473 | <DD>Sets the property to hold the generated total checksum
|
---|
474 | for all files.
|
---|
475 | <P>
|
---|
476 | <DD><DL>
|
---|
477 | </DL>
|
---|
478 | </DD>
|
---|
479 | <DD><DL>
|
---|
480 | <DT><B>Since:</B></DT>
|
---|
481 | <DD>Ant 1.6</DD>
|
---|
482 | </DL>
|
---|
483 | </DD>
|
---|
484 | </DL>
|
---|
485 | <HR>
|
---|
486 |
|
---|
487 | <A NAME="setVerifyproperty(java.lang.String)"><!-- --></A><H3>
|
---|
488 | setVerifyproperty</H3>
|
---|
489 | <PRE>
|
---|
490 | public void <B>setVerifyproperty</B>(java.lang.String verifyProperty)</PRE>
|
---|
491 | <DL>
|
---|
492 | <DD>Sets the verify property. This project property holds
|
---|
493 | the result of a checksum verification - "true" or "false"
|
---|
494 | <P>
|
---|
495 | <DD><DL>
|
---|
496 | </DL>
|
---|
497 | </DD>
|
---|
498 | <DD><DL>
|
---|
499 | </DL>
|
---|
500 | </DD>
|
---|
501 | </DL>
|
---|
502 | <HR>
|
---|
503 |
|
---|
504 | <A NAME="setForceOverwrite(boolean)"><!-- --></A><H3>
|
---|
505 | setForceOverwrite</H3>
|
---|
506 | <PRE>
|
---|
507 | public void <B>setForceOverwrite</B>(boolean forceOverwrite)</PRE>
|
---|
508 | <DL>
|
---|
509 | <DD>Whether or not to overwrite existing file irrespective of
|
---|
510 | whether it is newer than
|
---|
511 | the source file. Defaults to false.
|
---|
512 | <P>
|
---|
513 | <DD><DL>
|
---|
514 | </DL>
|
---|
515 | </DD>
|
---|
516 | <DD><DL>
|
---|
517 | </DL>
|
---|
518 | </DD>
|
---|
519 | </DL>
|
---|
520 | <HR>
|
---|
521 |
|
---|
522 | <A NAME="setReadBufferSize(int)"><!-- --></A><H3>
|
---|
523 | setReadBufferSize</H3>
|
---|
524 | <PRE>
|
---|
525 | public void <B>setReadBufferSize</B>(int size)</PRE>
|
---|
526 | <DL>
|
---|
527 | <DD>The size of the read buffer to use.
|
---|
528 | <P>
|
---|
529 | <DD><DL>
|
---|
530 | </DL>
|
---|
531 | </DD>
|
---|
532 | <DD><DL>
|
---|
533 | </DL>
|
---|
534 | </DD>
|
---|
535 | </DL>
|
---|
536 | <HR>
|
---|
537 |
|
---|
538 | <A NAME="addFileset(org.apache.tools.ant.types.FileSet)"><!-- --></A><H3>
|
---|
539 | addFileset</H3>
|
---|
540 | <PRE>
|
---|
541 | public void <B>addFileset</B>(<A HREF="../../../../../org/apache/tools/ant/types/FileSet.html" title="class in org.apache.tools.ant.types">FileSet</A> set)</PRE>
|
---|
542 | <DL>
|
---|
543 | <DD>Files to generate checksums for.
|
---|
544 | <P>
|
---|
545 | <DD><DL>
|
---|
546 | </DL>
|
---|
547 | </DD>
|
---|
548 | <DD><DL>
|
---|
549 | </DL>
|
---|
550 | </DD>
|
---|
551 | </DL>
|
---|
552 | <HR>
|
---|
553 |
|
---|
554 | <A NAME="execute()"><!-- --></A><H3>
|
---|
555 | execute</H3>
|
---|
556 | <PRE>
|
---|
557 | public void <B>execute</B>()
|
---|
558 | throws <A HREF="../../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></PRE>
|
---|
559 | <DL>
|
---|
560 | <DD>Calculate the checksum(s).
|
---|
561 | <P>
|
---|
562 | <DD><DL>
|
---|
563 | <DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../org/apache/tools/ant/Task.html#execute()">execute</A></CODE> in class <CODE><A HREF="../../../../../org/apache/tools/ant/Task.html" title="class in org.apache.tools.ant">Task</A></CODE></DL>
|
---|
564 | </DD>
|
---|
565 | <DD><DL>
|
---|
566 |
|
---|
567 | <DT><B>Throws:</B>
|
---|
568 | <DD><CODE><A HREF="../../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></CODE> - if something goes wrong with the build</DL>
|
---|
569 | </DD>
|
---|
570 | </DL>
|
---|
571 | <HR>
|
---|
572 |
|
---|
573 | <A NAME="eval()"><!-- --></A><H3>
|
---|
574 | eval</H3>
|
---|
575 | <PRE>
|
---|
576 | public boolean <B>eval</B>()
|
---|
577 | throws <A HREF="../../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></PRE>
|
---|
578 | <DL>
|
---|
579 | <DD>Calculate the checksum(s)
|
---|
580 | <P>
|
---|
581 | <DD><DL>
|
---|
582 | <DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/tools/ant/taskdefs/condition/Condition.html#eval()">eval</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/tools/ant/taskdefs/condition/Condition.html" title="interface in org.apache.tools.ant.taskdefs.condition">Condition</A></CODE></DL>
|
---|
583 | </DD>
|
---|
584 | <DD><DL>
|
---|
585 |
|
---|
586 | <DT><B>Returns:</B><DD>Returns true if the checksum verification test passed,
|
---|
587 | false otherwise.
|
---|
588 | <DT><B>Throws:</B>
|
---|
589 | <DD><CODE><A HREF="../../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></CODE> - if an error occurs</DL>
|
---|
590 | </DD>
|
---|
591 | </DL>
|
---|
592 | <HR>
|
---|
593 |
|
---|
594 | <A NAME="decodeHex(char[])"><!-- --></A><H3>
|
---|
595 | decodeHex</H3>
|
---|
596 | <PRE>
|
---|
597 | public static byte[] <B>decodeHex</B>(char[] data)
|
---|
598 | throws <A HREF="../../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></PRE>
|
---|
599 | <DL>
|
---|
600 | <DD>Converts an array of characters representing hexadecimal values into an
|
---|
601 | array of bytes of those same values. The returned array will be half the
|
---|
602 | length of the passed array, as it takes two characters to represent any
|
---|
603 | given byte. An exception is thrown if the passed char array has an odd
|
---|
604 | number of elements.
|
---|
605 |
|
---|
606 | NOTE: This code is copied from jakarta-commons codec.
|
---|
607 | <P>
|
---|
608 | <DD><DL>
|
---|
609 | </DL>
|
---|
610 | </DD>
|
---|
611 | <DD><DL>
|
---|
612 |
|
---|
613 | <DT><B>Throws:</B>
|
---|
614 | <DD><CODE><A HREF="../../../../../org/apache/tools/ant/BuildException.html" title="class in org.apache.tools.ant">BuildException</A></CODE></DL>
|
---|
615 | </DD>
|
---|
616 | </DL>
|
---|
617 | <!-- ========= END OF CLASS DATA ========= -->
|
---|
618 | <HR>
|
---|
619 |
|
---|
620 |
|
---|
621 | <!-- ======= START OF BOTTOM NAVBAR ====== -->
|
---|
622 | <A NAME="navbar_bottom"><!-- --></A>
|
---|
623 | <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
|
---|
624 | <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
---|
625 | <TR>
|
---|
626 | <TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
---|
627 | <A NAME="navbar_bottom_firstrow"><!-- --></A>
|
---|
628 | <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
---|
629 | <TR ALIGN="center" VALIGN="top">
|
---|
630 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
---|
631 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
---|
632 | <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
---|
633 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
---|
634 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
---|
635 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
---|
636 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
---|
637 | </TR>
|
---|
638 | </TABLE>
|
---|
639 | </TD>
|
---|
640 | <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
---|
641 | </EM>
|
---|
642 | </TD>
|
---|
643 | </TR>
|
---|
644 |
|
---|
645 | <TR>
|
---|
646 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
---|
647 | <A HREF="../../../../../org/apache/tools/ant/taskdefs/CallTarget.html" title="class in org.apache.tools.ant.taskdefs"><B>PREV CLASS</B></A>
|
---|
648 | <A HREF="../../../../../org/apache/tools/ant/taskdefs/Chmod.html" title="class in org.apache.tools.ant.taskdefs"><B>NEXT CLASS</B></A></FONT></TD>
|
---|
649 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
---|
650 | <A HREF="../../../../../index.html" target="_top"><B>FRAMES</B></A>
|
---|
651 | <A HREF="Checksum.html" target="_top"><B>NO FRAMES</B></A>
|
---|
652 | <SCRIPT type="text/javascript">
|
---|
653 | <!--
|
---|
654 | if(window==top) {
|
---|
655 | document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
|
---|
656 | }
|
---|
657 | //-->
|
---|
658 | </SCRIPT>
|
---|
659 | <NOSCRIPT>
|
---|
660 | <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
|
---|
661 | </NOSCRIPT>
|
---|
662 |
|
---|
663 | </FONT></TD>
|
---|
664 | </TR>
|
---|
665 | <TR>
|
---|
666 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
---|
667 | SUMMARY: NESTED | <A HREF="#fields_inherited_from_class_org.apache.tools.ant.taskdefs.MatchingTask">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
---|
668 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
---|
669 | DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
---|
670 | </TR>
|
---|
671 | </TABLE>
|
---|
672 | <A NAME="skip-navbar_bottom"></A>
|
---|
673 | <!-- ======== END OF BOTTOM NAVBAR ======= -->
|
---|
674 |
|
---|
675 | <HR>
|
---|
676 | Copyright © 2000-2007 Apache Software Foundation. All Rights Reserved.
|
---|
677 | </BODY>
|
---|
678 | </HTML>
|
---|