[14627] | 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:27 NZST 2007 -->
|
---|
| 6 | <TITLE>
|
---|
| 7 | ClassNameReader (Apache Ant API)
|
---|
| 8 | </TITLE>
|
---|
| 9 |
|
---|
| 10 | <META NAME="keywords" CONTENT="org.apache.tools.ant.taskdefs.optional.jlink.ClassNameReader 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="ClassNameReader (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 | PREV CLASS
|
---|
| 53 | <A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/jlink/jlink.html" title="class in org.apache.tools.ant.taskdefs.optional.jlink"><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="ClassNameReader.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.taskdefs.optional.jlink</FONT>
|
---|
| 85 | <BR>
|
---|
| 86 | Class ClassNameReader</H2>
|
---|
| 87 | <PRE>
|
---|
| 88 | java.lang.Object
|
---|
| 89 | <IMG SRC="../../../../../../../resources/inherit.gif" ALT="extended by"><B>org.apache.tools.ant.taskdefs.optional.jlink.ClassNameReader</B>
|
---|
| 90 | </PRE>
|
---|
| 91 | <HR>
|
---|
| 92 | <DL>
|
---|
| 93 | <DT>public class <B>ClassNameReader</B><DT>extends java.lang.Object</DL>
|
---|
| 94 |
|
---|
| 95 | <P>
|
---|
| 96 | Provides a quick and dirty way to determine the true name of a class
|
---|
| 97 | given just an InputStream. Reads in just enough to perform this
|
---|
| 98 | minimal task only.
|
---|
| 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/taskdefs/optional/jlink/ClassNameReader.html#ClassNameReader()">ClassNameReader</A></B>()</CODE>
|
---|
| 121 |
|
---|
| 122 | <BR>
|
---|
| 123 | </TD>
|
---|
| 124 | </TR>
|
---|
| 125 | </TABLE>
|
---|
| 126 |
|
---|
| 127 | <!-- ========== METHOD SUMMARY =========== -->
|
---|
| 128 |
|
---|
| 129 | <A NAME="method_summary"><!-- --></A>
|
---|
| 130 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
| 131 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
| 132 | <TD COLSPAN=2><FONT SIZE="+2">
|
---|
| 133 | <B>Method Summary</B></FONT></TD>
|
---|
| 134 | </TR>
|
---|
| 135 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
| 136 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
| 137 | <CODE>static java.lang.String</CODE></FONT></TD>
|
---|
| 138 | <TD><CODE><B><A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/jlink/ClassNameReader.html#getClassName(java.io.InputStream)">getClassName</A></B>(java.io.InputStream input)</CODE>
|
---|
| 139 |
|
---|
| 140 | <BR>
|
---|
| 141 | </TD>
|
---|
| 142 | </TR>
|
---|
| 143 | </TABLE>
|
---|
| 144 | <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
|
---|
| 145 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
| 146 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
---|
| 147 | <TD><B>Methods inherited from class java.lang.Object</B></TD>
|
---|
| 148 | </TR>
|
---|
| 149 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
| 150 | <TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
|
---|
| 151 | </TR>
|
---|
| 152 | </TABLE>
|
---|
| 153 |
|
---|
| 154 | <P>
|
---|
| 155 |
|
---|
| 156 | <!-- ============ FIELD DETAIL =========== -->
|
---|
| 157 |
|
---|
| 158 |
|
---|
| 159 | <!-- ========= CONSTRUCTOR DETAIL ======== -->
|
---|
| 160 |
|
---|
| 161 | <A NAME="constructor_detail"><!-- --></A>
|
---|
| 162 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
| 163 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
| 164 | <TD COLSPAN=1><FONT SIZE="+2">
|
---|
| 165 | <B>Constructor Detail</B></FONT></TD>
|
---|
| 166 | </TR>
|
---|
| 167 | </TABLE>
|
---|
| 168 |
|
---|
| 169 | <A NAME="ClassNameReader()"><!-- --></A><H3>
|
---|
| 170 | ClassNameReader</H3>
|
---|
| 171 | <PRE>
|
---|
| 172 | public <B>ClassNameReader</B>()</PRE>
|
---|
| 173 | <DL>
|
---|
| 174 | </DL>
|
---|
| 175 |
|
---|
| 176 | <!-- ============ METHOD DETAIL ========== -->
|
---|
| 177 |
|
---|
| 178 | <A NAME="method_detail"><!-- --></A>
|
---|
| 179 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
| 180 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
| 181 | <TD COLSPAN=1><FONT SIZE="+2">
|
---|
| 182 | <B>Method Detail</B></FONT></TD>
|
---|
| 183 | </TR>
|
---|
| 184 | </TABLE>
|
---|
| 185 |
|
---|
| 186 | <A NAME="getClassName(java.io.InputStream)"><!-- --></A><H3>
|
---|
| 187 | getClassName</H3>
|
---|
| 188 | <PRE>
|
---|
| 189 | public static java.lang.String <B>getClassName</B>(java.io.InputStream input)
|
---|
| 190 | throws java.io.IOException</PRE>
|
---|
| 191 | <DL>
|
---|
| 192 | <DD><DL>
|
---|
| 193 |
|
---|
| 194 | <DT><B>Throws:</B>
|
---|
| 195 | <DD><CODE>java.io.IOException</CODE></DL>
|
---|
| 196 | </DD>
|
---|
| 197 | </DL>
|
---|
| 198 | <!-- ========= END OF CLASS DATA ========= -->
|
---|
| 199 | <HR>
|
---|
| 200 |
|
---|
| 201 |
|
---|
| 202 | <!-- ======= START OF BOTTOM NAVBAR ====== -->
|
---|
| 203 | <A NAME="navbar_bottom"><!-- --></A>
|
---|
| 204 | <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
|
---|
| 205 | <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
---|
| 206 | <TR>
|
---|
| 207 | <TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
---|
| 208 | <A NAME="navbar_bottom_firstrow"><!-- --></A>
|
---|
| 209 | <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
---|
| 210 | <TR ALIGN="center" VALIGN="top">
|
---|
| 211 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
---|
| 212 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
---|
| 213 | <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
---|
| 214 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
---|
| 215 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
---|
| 216 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
---|
| 217 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
---|
| 218 | </TR>
|
---|
| 219 | </TABLE>
|
---|
| 220 | </TD>
|
---|
| 221 | <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
---|
| 222 | </EM>
|
---|
| 223 | </TD>
|
---|
| 224 | </TR>
|
---|
| 225 |
|
---|
| 226 | <TR>
|
---|
| 227 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
---|
| 228 | PREV CLASS
|
---|
| 229 | <A HREF="../../../../../../../org/apache/tools/ant/taskdefs/optional/jlink/jlink.html" title="class in org.apache.tools.ant.taskdefs.optional.jlink"><B>NEXT CLASS</B></A></FONT></TD>
|
---|
| 230 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
---|
| 231 | <A HREF="../../../../../../../index.html" target="_top"><B>FRAMES</B></A>
|
---|
| 232 | <A HREF="ClassNameReader.html" target="_top"><B>NO FRAMES</B></A>
|
---|
| 233 | <SCRIPT type="text/javascript">
|
---|
| 234 | <!--
|
---|
| 235 | if(window==top) {
|
---|
| 236 | document.writeln('<A HREF="../../../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
|
---|
| 237 | }
|
---|
| 238 | //-->
|
---|
| 239 | </SCRIPT>
|
---|
| 240 | <NOSCRIPT>
|
---|
| 241 | <A HREF="../../../../../../../allclasses-noframe.html"><B>All Classes</B></A>
|
---|
| 242 | </NOSCRIPT>
|
---|
| 243 |
|
---|
| 244 | </FONT></TD>
|
---|
| 245 | </TR>
|
---|
| 246 | <TR>
|
---|
| 247 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
---|
| 248 | SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
---|
| 249 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
---|
| 250 | DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
---|
| 251 | </TR>
|
---|
| 252 | </TABLE>
|
---|
| 253 | <A NAME="skip-navbar_bottom"></A>
|
---|
| 254 | <!-- ======== END OF BOTTOM NAVBAR ======= -->
|
---|
| 255 |
|
---|
| 256 | <HR>
|
---|
| 257 | Copyright © 2000-2007 Apache Software Foundation. All Rights Reserved.
|
---|
| 258 | </BODY>
|
---|
| 259 | </HTML>
|
---|