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:14 NZST 2007 -->
|
---|
6 | <TITLE>
|
---|
7 | DemuxInputStream (Apache Ant API)
|
---|
8 | </TITLE>
|
---|
9 |
|
---|
10 | <META NAME="keywords" CONTENT="org.apache.tools.ant.DemuxInputStream 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="DemuxInputStream (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/DefaultLogger.html" title="class in org.apache.tools.ant"><B>PREV CLASS</B></A>
|
---|
53 | <A HREF="../../../../org/apache/tools/ant/DemuxOutputStream.html" title="class in org.apache.tools.ant"><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="DemuxInputStream.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 | <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</FONT>
|
---|
85 | <BR>
|
---|
86 | Class DemuxInputStream</H2>
|
---|
87 | <PRE>
|
---|
88 | java.lang.Object
|
---|
89 | <IMG SRC="../../../../resources/inherit.gif" ALT="extended by">java.io.InputStream
|
---|
90 | <IMG SRC="../../../../resources/inherit.gif" ALT="extended by"><B>org.apache.tools.ant.DemuxInputStream</B>
|
---|
91 | </PRE>
|
---|
92 | <HR>
|
---|
93 | <DL>
|
---|
94 | <DT>public class <B>DemuxInputStream</B><DT>extends java.io.InputStream</DL>
|
---|
95 |
|
---|
96 | <P>
|
---|
97 | Passes input requests to the project object for demuxing into
|
---|
98 | individual tasks and threads.
|
---|
99 | <P>
|
---|
100 |
|
---|
101 | <P>
|
---|
102 | <DL>
|
---|
103 | <DT><B>Since:</B></DT>
|
---|
104 | <DD>Ant 1.6</DD>
|
---|
105 | </DL>
|
---|
106 | <HR>
|
---|
107 |
|
---|
108 | <P>
|
---|
109 | <!-- ======== NESTED CLASS SUMMARY ======== -->
|
---|
110 |
|
---|
111 |
|
---|
112 | <!-- =========== FIELD SUMMARY =========== -->
|
---|
113 |
|
---|
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 | <TD COLSPAN=2><FONT SIZE="+2">
|
---|
121 | <B>Constructor Summary</B></FONT></TD>
|
---|
122 | </TR>
|
---|
123 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
124 | <TD><CODE><B><A HREF="../../../../org/apache/tools/ant/DemuxInputStream.html#DemuxInputStream(org.apache.tools.ant.Project)">DemuxInputStream</A></B>(<A HREF="../../../../org/apache/tools/ant/Project.html" title="class in org.apache.tools.ant">Project</A> project)</CODE>
|
---|
125 |
|
---|
126 | <BR>
|
---|
127 | Create a DemuxInputStream for the given project</TD>
|
---|
128 | </TR>
|
---|
129 | </TABLE>
|
---|
130 |
|
---|
131 | <!-- ========== METHOD SUMMARY =========== -->
|
---|
132 |
|
---|
133 | <A NAME="method_summary"><!-- --></A>
|
---|
134 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
135 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
136 | <TD COLSPAN=2><FONT SIZE="+2">
|
---|
137 | <B>Method Summary</B></FONT></TD>
|
---|
138 | </TR>
|
---|
139 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
140 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
141 | <CODE> int</CODE></FONT></TD>
|
---|
142 | <TD><CODE><B><A HREF="../../../../org/apache/tools/ant/DemuxInputStream.html#read()">read</A></B>()</CODE>
|
---|
143 |
|
---|
144 | <BR>
|
---|
145 | </TD>
|
---|
146 | </TR>
|
---|
147 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
148 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
149 | <CODE> int</CODE></FONT></TD>
|
---|
150 | <TD><CODE><B><A HREF="../../../../org/apache/tools/ant/DemuxInputStream.html#read(byte[], int, int)">read</A></B>(byte[] buffer,
|
---|
151 | int offset,
|
---|
152 | int length)</CODE>
|
---|
153 |
|
---|
154 | <BR>
|
---|
155 | </TD>
|
---|
156 | </TR>
|
---|
157 | </TABLE>
|
---|
158 | <A NAME="methods_inherited_from_class_java.io.InputStream"><!-- --></A>
|
---|
159 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
160 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
---|
161 | <TD><B>Methods inherited from class java.io.InputStream</B></TD>
|
---|
162 | </TR>
|
---|
163 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
164 | <TD><CODE>available, close, mark, markSupported, read, reset, skip</CODE></TD>
|
---|
165 | </TR>
|
---|
166 | </TABLE>
|
---|
167 | <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
|
---|
168 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
169 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
---|
170 | <TD><B>Methods inherited from class java.lang.Object</B></TD>
|
---|
171 | </TR>
|
---|
172 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
173 | <TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
|
---|
174 | </TR>
|
---|
175 | </TABLE>
|
---|
176 |
|
---|
177 | <P>
|
---|
178 |
|
---|
179 | <!-- ============ FIELD DETAIL =========== -->
|
---|
180 |
|
---|
181 |
|
---|
182 | <!-- ========= CONSTRUCTOR DETAIL ======== -->
|
---|
183 |
|
---|
184 | <A NAME="constructor_detail"><!-- --></A>
|
---|
185 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
186 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
187 | <TD COLSPAN=1><FONT SIZE="+2">
|
---|
188 | <B>Constructor Detail</B></FONT></TD>
|
---|
189 | </TR>
|
---|
190 | </TABLE>
|
---|
191 |
|
---|
192 | <A NAME="DemuxInputStream(org.apache.tools.ant.Project)"><!-- --></A><H3>
|
---|
193 | DemuxInputStream</H3>
|
---|
194 | <PRE>
|
---|
195 | public <B>DemuxInputStream</B>(<A HREF="../../../../org/apache/tools/ant/Project.html" title="class in org.apache.tools.ant">Project</A> project)</PRE>
|
---|
196 | <DL>
|
---|
197 | <DD>Create a DemuxInputStream for the given project
|
---|
198 | <P>
|
---|
199 | <DT><B>Parameters:</B><DD><CODE>project</CODE> - the project instance</DL>
|
---|
200 |
|
---|
201 | <!-- ============ METHOD DETAIL ========== -->
|
---|
202 |
|
---|
203 | <A NAME="method_detail"><!-- --></A>
|
---|
204 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
205 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
206 | <TD COLSPAN=1><FONT SIZE="+2">
|
---|
207 | <B>Method Detail</B></FONT></TD>
|
---|
208 | </TR>
|
---|
209 | </TABLE>
|
---|
210 |
|
---|
211 | <A NAME="read()"><!-- --></A><H3>
|
---|
212 | read</H3>
|
---|
213 | <PRE>
|
---|
214 | public int <B>read</B>()
|
---|
215 | throws java.io.IOException</PRE>
|
---|
216 | <DL>
|
---|
217 | <DD><DL>
|
---|
218 |
|
---|
219 | <DT><B>Throws:</B>
|
---|
220 | <DD><CODE>java.io.IOException</CODE></DL>
|
---|
221 | </DD>
|
---|
222 | </DL>
|
---|
223 | <HR>
|
---|
224 |
|
---|
225 | <A NAME="read(byte[], int, int)"><!-- --></A><H3>
|
---|
226 | read</H3>
|
---|
227 | <PRE>
|
---|
228 | public int <B>read</B>(byte[] buffer,
|
---|
229 | int offset,
|
---|
230 | int length)
|
---|
231 | throws java.io.IOException</PRE>
|
---|
232 | <DL>
|
---|
233 | <DD><DL>
|
---|
234 |
|
---|
235 | <DT><B>Throws:</B>
|
---|
236 | <DD><CODE>java.io.IOException</CODE></DL>
|
---|
237 | </DD>
|
---|
238 | </DL>
|
---|
239 | <!-- ========= END OF CLASS DATA ========= -->
|
---|
240 | <HR>
|
---|
241 |
|
---|
242 |
|
---|
243 | <!-- ======= START OF BOTTOM NAVBAR ====== -->
|
---|
244 | <A NAME="navbar_bottom"><!-- --></A>
|
---|
245 | <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
|
---|
246 | <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
---|
247 | <TR>
|
---|
248 | <TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
---|
249 | <A NAME="navbar_bottom_firstrow"><!-- --></A>
|
---|
250 | <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
---|
251 | <TR ALIGN="center" VALIGN="top">
|
---|
252 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
---|
253 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
---|
254 | <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
---|
255 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
---|
256 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
---|
257 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
---|
258 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
---|
259 | </TR>
|
---|
260 | </TABLE>
|
---|
261 | </TD>
|
---|
262 | <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
---|
263 | </EM>
|
---|
264 | </TD>
|
---|
265 | </TR>
|
---|
266 |
|
---|
267 | <TR>
|
---|
268 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
---|
269 | <A HREF="../../../../org/apache/tools/ant/DefaultLogger.html" title="class in org.apache.tools.ant"><B>PREV CLASS</B></A>
|
---|
270 | <A HREF="../../../../org/apache/tools/ant/DemuxOutputStream.html" title="class in org.apache.tools.ant"><B>NEXT CLASS</B></A></FONT></TD>
|
---|
271 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
---|
272 | <A HREF="../../../../index.html" target="_top"><B>FRAMES</B></A>
|
---|
273 | <A HREF="DemuxInputStream.html" target="_top"><B>NO FRAMES</B></A>
|
---|
274 | <SCRIPT type="text/javascript">
|
---|
275 | <!--
|
---|
276 | if(window==top) {
|
---|
277 | document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
|
---|
278 | }
|
---|
279 | //-->
|
---|
280 | </SCRIPT>
|
---|
281 | <NOSCRIPT>
|
---|
282 | <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
|
---|
283 | </NOSCRIPT>
|
---|
284 |
|
---|
285 | </FONT></TD>
|
---|
286 | </TR>
|
---|
287 | <TR>
|
---|
288 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
---|
289 | SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
---|
290 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
---|
291 | DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
---|
292 | </TR>
|
---|
293 | </TABLE>
|
---|
294 | <A NAME="skip-navbar_bottom"></A>
|
---|
295 | <!-- ======== END OF BOTTOM NAVBAR ======= -->
|
---|
296 |
|
---|
297 | <HR>
|
---|
298 | Copyright © 2000-2007 Apache Software Foundation. All Rights Reserved.
|
---|
299 | </BODY>
|
---|
300 | </HTML>
|
---|