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:34 NZST 2007 -->
|
---|
6 | <TITLE>
|
---|
7 | Tokenizer (Apache Ant API)
|
---|
8 | </TITLE>
|
---|
9 |
|
---|
10 | <META NAME="keywords" CONTENT="org.apache.tools.ant.util.Tokenizer interface">
|
---|
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="Tokenizer (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/util/TimeoutObserver.html" title="interface in org.apache.tools.ant.util"><B>PREV CLASS</B></A>
|
---|
53 | NEXT CLASS</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="Tokenizer.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 | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
---|
73 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
---|
74 | DETAIL: FIELD | CONSTR | <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.util</FONT>
|
---|
85 | <BR>
|
---|
86 | Interface Tokenizer</H2>
|
---|
87 | <DL>
|
---|
88 | <DT><B>All Known Implementing Classes:</B> <DD><A HREF="../../../../../org/apache/tools/ant/util/LineTokenizer.html" title="class in org.apache.tools.ant.util">LineTokenizer</A>, <A HREF="../../../../../org/apache/tools/ant/filters/TokenFilter.FileTokenizer.html" title="class in org.apache.tools.ant.filters">TokenFilter.FileTokenizer</A>, <A HREF="../../../../../org/apache/tools/ant/filters/TokenFilter.StringTokenizer.html" title="class in org.apache.tools.ant.filters">TokenFilter.StringTokenizer</A></DD>
|
---|
89 | </DL>
|
---|
90 | <HR>
|
---|
91 | <DL>
|
---|
92 | <DT>public interface <B>Tokenizer</B></DL>
|
---|
93 |
|
---|
94 | <P>
|
---|
95 | input stream tokenizers implement this interface
|
---|
96 | <P>
|
---|
97 |
|
---|
98 | <P>
|
---|
99 | <DL>
|
---|
100 | <DT><B>Version:</B></DT>
|
---|
101 | <DD>Ant 1.6</DD>
|
---|
102 | </DL>
|
---|
103 | <HR>
|
---|
104 |
|
---|
105 | <P>
|
---|
106 | <!-- ======== NESTED CLASS SUMMARY ======== -->
|
---|
107 |
|
---|
108 |
|
---|
109 | <!-- =========== FIELD SUMMARY =========== -->
|
---|
110 |
|
---|
111 |
|
---|
112 | <!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
---|
113 |
|
---|
114 |
|
---|
115 | <!-- ========== METHOD SUMMARY =========== -->
|
---|
116 |
|
---|
117 | <A NAME="method_summary"><!-- --></A>
|
---|
118 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
119 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
120 | <TD COLSPAN=2><FONT SIZE="+2">
|
---|
121 | <B>Method Summary</B></FONT></TD>
|
---|
122 | </TR>
|
---|
123 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
124 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
125 | <CODE> java.lang.String</CODE></FONT></TD>
|
---|
126 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/util/Tokenizer.html#getPostToken()">getPostToken</A></B>()</CODE>
|
---|
127 |
|
---|
128 | <BR>
|
---|
129 | return the string between tokens, after the
|
---|
130 | previous token.</TD>
|
---|
131 | </TR>
|
---|
132 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
133 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
134 | <CODE> java.lang.String</CODE></FONT></TD>
|
---|
135 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/util/Tokenizer.html#getToken(java.io.Reader)">getToken</A></B>(java.io.Reader in)</CODE>
|
---|
136 |
|
---|
137 | <BR>
|
---|
138 | get the next token from the input stream</TD>
|
---|
139 | </TR>
|
---|
140 | </TABLE>
|
---|
141 |
|
---|
142 | <P>
|
---|
143 |
|
---|
144 | <!-- ============ FIELD DETAIL =========== -->
|
---|
145 |
|
---|
146 |
|
---|
147 | <!-- ========= CONSTRUCTOR DETAIL ======== -->
|
---|
148 |
|
---|
149 |
|
---|
150 | <!-- ============ METHOD DETAIL ========== -->
|
---|
151 |
|
---|
152 | <A NAME="method_detail"><!-- --></A>
|
---|
153 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
154 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
155 | <TD COLSPAN=1><FONT SIZE="+2">
|
---|
156 | <B>Method Detail</B></FONT></TD>
|
---|
157 | </TR>
|
---|
158 | </TABLE>
|
---|
159 |
|
---|
160 | <A NAME="getToken(java.io.Reader)"><!-- --></A><H3>
|
---|
161 | getToken</H3>
|
---|
162 | <PRE>
|
---|
163 | public java.lang.String <B>getToken</B>(java.io.Reader in)
|
---|
164 | throws java.io.IOException</PRE>
|
---|
165 | <DL>
|
---|
166 | <DD>get the next token from the input stream
|
---|
167 | <P>
|
---|
168 | <DD><DL>
|
---|
169 | <DT><B>Parameters:</B><DD><CODE>in</CODE> - the input stream
|
---|
170 | <DT><B>Returns:</B><DD>the next token, or null for the end
|
---|
171 | of the stream
|
---|
172 | <DT><B>Throws:</B>
|
---|
173 | <DD><CODE>java.io.IOException</CODE> - if an error occurs</DL>
|
---|
174 | </DD>
|
---|
175 | </DL>
|
---|
176 | <HR>
|
---|
177 |
|
---|
178 | <A NAME="getPostToken()"><!-- --></A><H3>
|
---|
179 | getPostToken</H3>
|
---|
180 | <PRE>
|
---|
181 | public java.lang.String <B>getPostToken</B>()</PRE>
|
---|
182 | <DL>
|
---|
183 | <DD>return the string between tokens, after the
|
---|
184 | previous token.
|
---|
185 | <P>
|
---|
186 | <DD><DL>
|
---|
187 |
|
---|
188 | <DT><B>Returns:</B><DD>the intra-token string</DL>
|
---|
189 | </DD>
|
---|
190 | </DL>
|
---|
191 | <!-- ========= END OF CLASS DATA ========= -->
|
---|
192 | <HR>
|
---|
193 |
|
---|
194 |
|
---|
195 | <!-- ======= START OF BOTTOM NAVBAR ====== -->
|
---|
196 | <A NAME="navbar_bottom"><!-- --></A>
|
---|
197 | <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
|
---|
198 | <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
---|
199 | <TR>
|
---|
200 | <TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
---|
201 | <A NAME="navbar_bottom_firstrow"><!-- --></A>
|
---|
202 | <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
---|
203 | <TR ALIGN="center" VALIGN="top">
|
---|
204 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
---|
205 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
---|
206 | <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
---|
207 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
---|
208 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
---|
209 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
---|
210 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
---|
211 | </TR>
|
---|
212 | </TABLE>
|
---|
213 | </TD>
|
---|
214 | <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
---|
215 | </EM>
|
---|
216 | </TD>
|
---|
217 | </TR>
|
---|
218 |
|
---|
219 | <TR>
|
---|
220 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
---|
221 | <A HREF="../../../../../org/apache/tools/ant/util/TimeoutObserver.html" title="interface in org.apache.tools.ant.util"><B>PREV CLASS</B></A>
|
---|
222 | NEXT CLASS</FONT></TD>
|
---|
223 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
---|
224 | <A HREF="../../../../../index.html" target="_top"><B>FRAMES</B></A>
|
---|
225 | <A HREF="Tokenizer.html" target="_top"><B>NO FRAMES</B></A>
|
---|
226 | <SCRIPT type="text/javascript">
|
---|
227 | <!--
|
---|
228 | if(window==top) {
|
---|
229 | document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
|
---|
230 | }
|
---|
231 | //-->
|
---|
232 | </SCRIPT>
|
---|
233 | <NOSCRIPT>
|
---|
234 | <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
|
---|
235 | </NOSCRIPT>
|
---|
236 |
|
---|
237 | </FONT></TD>
|
---|
238 | </TR>
|
---|
239 | <TR>
|
---|
240 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
---|
241 | SUMMARY: NESTED | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
---|
242 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
---|
243 | DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
---|
244 | </TR>
|
---|
245 | </TABLE>
|
---|
246 | <A NAME="skip-navbar_bottom"></A>
|
---|
247 | <!-- ======== END OF BOTTOM NAVBAR ======= -->
|
---|
248 |
|
---|
249 | <HR>
|
---|
250 | Copyright © 2000-2007 Apache Software Foundation. All Rights Reserved.
|
---|
251 | </BODY>
|
---|
252 | </HTML>
|
---|