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:16 NZST 2007 -->
|
---|
6 | <TITLE>
|
---|
7 | StringInputStream (Apache Ant API)
|
---|
8 | </TITLE>
|
---|
9 |
|
---|
10 | <META NAME="keywords" CONTENT="org.apache.tools.ant.filters.StringInputStream 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="StringInputStream (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/filters/ReplaceTokens.Token.html" title="class in org.apache.tools.ant.filters"><B>PREV CLASS</B></A>
|
---|
53 | <A HREF="../../../../../org/apache/tools/ant/filters/StripJavaComments.html" title="class in org.apache.tools.ant.filters"><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="StringInputStream.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="#methods_inherited_from_class_org.apache.tools.ant.util.ReaderInputStream">METHOD</A></FONT></TD>
|
---|
73 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
---|
74 | DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | METHOD</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.filters</FONT>
|
---|
85 | <BR>
|
---|
86 | Class StringInputStream</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"><A HREF="../../../../../org/apache/tools/ant/util/ReaderInputStream.html" title="class in org.apache.tools.ant.util">org.apache.tools.ant.util.ReaderInputStream</A>
|
---|
91 | <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by"><B>org.apache.tools.ant.filters.StringInputStream</B>
|
---|
92 | </PRE>
|
---|
93 | <HR>
|
---|
94 | <DL>
|
---|
95 | <DT>public class <B>StringInputStream</B><DT>extends <A HREF="../../../../../org/apache/tools/ant/util/ReaderInputStream.html" title="class in org.apache.tools.ant.util">ReaderInputStream</A></DL>
|
---|
96 |
|
---|
97 | <P>
|
---|
98 | Wraps a String as an InputStream.
|
---|
99 | <P>
|
---|
100 |
|
---|
101 | <P>
|
---|
102 | <HR>
|
---|
103 |
|
---|
104 | <P>
|
---|
105 | <!-- ======== NESTED CLASS SUMMARY ======== -->
|
---|
106 |
|
---|
107 |
|
---|
108 | <!-- =========== FIELD SUMMARY =========== -->
|
---|
109 |
|
---|
110 |
|
---|
111 | <!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
---|
112 |
|
---|
113 | <A NAME="constructor_summary"><!-- --></A>
|
---|
114 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
115 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
116 | <TD COLSPAN=2><FONT SIZE="+2">
|
---|
117 | <B>Constructor Summary</B></FONT></TD>
|
---|
118 | </TR>
|
---|
119 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
120 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/filters/StringInputStream.html#StringInputStream(java.lang.String)">StringInputStream</A></B>(java.lang.String source)</CODE>
|
---|
121 |
|
---|
122 | <BR>
|
---|
123 | Composes a stream from a String</TD>
|
---|
124 | </TR>
|
---|
125 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
126 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/filters/StringInputStream.html#StringInputStream(java.lang.String, java.lang.String)">StringInputStream</A></B>(java.lang.String source,
|
---|
127 | java.lang.String encoding)</CODE>
|
---|
128 |
|
---|
129 | <BR>
|
---|
130 | Composes a stream from a String with the specified encoding</TD>
|
---|
131 | </TR>
|
---|
132 | </TABLE>
|
---|
133 |
|
---|
134 | <!-- ========== METHOD SUMMARY =========== -->
|
---|
135 |
|
---|
136 | <A NAME="methods_inherited_from_class_org.apache.tools.ant.util.ReaderInputStream"><!-- --></A>
|
---|
137 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
138 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
---|
139 | <TD><B>Methods inherited from class org.apache.tools.ant.util.<A HREF="../../../../../org/apache/tools/ant/util/ReaderInputStream.html" title="class in org.apache.tools.ant.util">ReaderInputStream</A></B></TD>
|
---|
140 | </TR>
|
---|
141 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
142 | <TD><CODE><A HREF="../../../../../org/apache/tools/ant/util/ReaderInputStream.html#available()">available</A>, <A HREF="../../../../../org/apache/tools/ant/util/ReaderInputStream.html#close()">close</A>, <A HREF="../../../../../org/apache/tools/ant/util/ReaderInputStream.html#mark(int)">mark</A>, <A HREF="../../../../../org/apache/tools/ant/util/ReaderInputStream.html#markSupported()">markSupported</A>, <A HREF="../../../../../org/apache/tools/ant/util/ReaderInputStream.html#read()">read</A>, <A HREF="../../../../../org/apache/tools/ant/util/ReaderInputStream.html#read(byte[], int, int)">read</A>, <A HREF="../../../../../org/apache/tools/ant/util/ReaderInputStream.html#reset()">reset</A></CODE></TD>
|
---|
143 | </TR>
|
---|
144 | </TABLE>
|
---|
145 | <A NAME="methods_inherited_from_class_java.io.InputStream"><!-- --></A>
|
---|
146 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
147 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
---|
148 | <TD><B>Methods inherited from class java.io.InputStream</B></TD>
|
---|
149 | </TR>
|
---|
150 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
151 | <TD><CODE>read, skip</CODE></TD>
|
---|
152 | </TR>
|
---|
153 | </TABLE>
|
---|
154 | <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
|
---|
155 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
156 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
---|
157 | <TD><B>Methods inherited from class java.lang.Object</B></TD>
|
---|
158 | </TR>
|
---|
159 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
160 | <TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
|
---|
161 | </TR>
|
---|
162 | </TABLE>
|
---|
163 |
|
---|
164 | <P>
|
---|
165 |
|
---|
166 | <!-- ============ FIELD DETAIL =========== -->
|
---|
167 |
|
---|
168 |
|
---|
169 | <!-- ========= CONSTRUCTOR DETAIL ======== -->
|
---|
170 |
|
---|
171 | <A NAME="constructor_detail"><!-- --></A>
|
---|
172 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
173 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
174 | <TD COLSPAN=1><FONT SIZE="+2">
|
---|
175 | <B>Constructor Detail</B></FONT></TD>
|
---|
176 | </TR>
|
---|
177 | </TABLE>
|
---|
178 |
|
---|
179 | <A NAME="StringInputStream(java.lang.String)"><!-- --></A><H3>
|
---|
180 | StringInputStream</H3>
|
---|
181 | <PRE>
|
---|
182 | public <B>StringInputStream</B>(java.lang.String source)</PRE>
|
---|
183 | <DL>
|
---|
184 | <DD>Composes a stream from a String
|
---|
185 | <P>
|
---|
186 | <DT><B>Parameters:</B><DD><CODE>source</CODE> - The string to read from. Must not be <code>null</code>.</DL>
|
---|
187 | <HR>
|
---|
188 |
|
---|
189 | <A NAME="StringInputStream(java.lang.String, java.lang.String)"><!-- --></A><H3>
|
---|
190 | StringInputStream</H3>
|
---|
191 | <PRE>
|
---|
192 | public <B>StringInputStream</B>(java.lang.String source,
|
---|
193 | java.lang.String encoding)</PRE>
|
---|
194 | <DL>
|
---|
195 | <DD>Composes a stream from a String with the specified encoding
|
---|
196 | <P>
|
---|
197 | <DT><B>Parameters:</B><DD><CODE>source</CODE> - The string to read from. Must not be <code>null</code>.<DD><CODE>encoding</CODE> - The encoding scheme. Also must not be <CODE>null</CODE>.</DL>
|
---|
198 |
|
---|
199 | <!-- ============ METHOD DETAIL ========== -->
|
---|
200 |
|
---|
201 | <!-- ========= END OF CLASS DATA ========= -->
|
---|
202 | <HR>
|
---|
203 |
|
---|
204 |
|
---|
205 | <!-- ======= START OF BOTTOM NAVBAR ====== -->
|
---|
206 | <A NAME="navbar_bottom"><!-- --></A>
|
---|
207 | <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
|
---|
208 | <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
---|
209 | <TR>
|
---|
210 | <TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
---|
211 | <A NAME="navbar_bottom_firstrow"><!-- --></A>
|
---|
212 | <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
---|
213 | <TR ALIGN="center" VALIGN="top">
|
---|
214 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
---|
215 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
---|
216 | <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
---|
217 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
---|
218 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
---|
219 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
---|
220 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
---|
221 | </TR>
|
---|
222 | </TABLE>
|
---|
223 | </TD>
|
---|
224 | <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
---|
225 | </EM>
|
---|
226 | </TD>
|
---|
227 | </TR>
|
---|
228 |
|
---|
229 | <TR>
|
---|
230 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
---|
231 | <A HREF="../../../../../org/apache/tools/ant/filters/ReplaceTokens.Token.html" title="class in org.apache.tools.ant.filters"><B>PREV CLASS</B></A>
|
---|
232 | <A HREF="../../../../../org/apache/tools/ant/filters/StripJavaComments.html" title="class in org.apache.tools.ant.filters"><B>NEXT CLASS</B></A></FONT></TD>
|
---|
233 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
---|
234 | <A HREF="../../../../../index.html" target="_top"><B>FRAMES</B></A>
|
---|
235 | <A HREF="StringInputStream.html" target="_top"><B>NO FRAMES</B></A>
|
---|
236 | <SCRIPT type="text/javascript">
|
---|
237 | <!--
|
---|
238 | if(window==top) {
|
---|
239 | document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
|
---|
240 | }
|
---|
241 | //-->
|
---|
242 | </SCRIPT>
|
---|
243 | <NOSCRIPT>
|
---|
244 | <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
|
---|
245 | </NOSCRIPT>
|
---|
246 |
|
---|
247 | </FONT></TD>
|
---|
248 | </TR>
|
---|
249 | <TR>
|
---|
250 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
---|
251 | SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#methods_inherited_from_class_org.apache.tools.ant.util.ReaderInputStream">METHOD</A></FONT></TD>
|
---|
252 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
---|
253 | DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | METHOD</FONT></TD>
|
---|
254 | </TR>
|
---|
255 | </TABLE>
|
---|
256 | <A NAME="skip-navbar_bottom"></A>
|
---|
257 | <!-- ======== END OF BOTTOM NAVBAR ======= -->
|
---|
258 |
|
---|
259 | <HR>
|
---|
260 | Copyright © 2000-2007 Apache Software Foundation. All Rights Reserved.
|
---|
261 | </BODY>
|
---|
262 | </HTML>
|
---|