Simple single-color 8x8x8 LED Cube with AVRs
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

HelperUtility.html 8.9KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252
  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.6.0_29) on Tue Dec 06 20:47:24 CET 2011 -->
  6. <TITLE>
  7. HelperUtility
  8. </TITLE>
  9. <META NAME="date" CONTENT="2011-12-06">
  10. <LINK REL ="stylesheet" TYPE="text/css" HREF="stylesheet.css" TITLE="Style">
  11. <SCRIPT type="text/javascript">
  12. function windowTitle()
  13. {
  14. if (location.href.indexOf('is-external=true') == -1) {
  15. parent.document.title="HelperUtility";
  16. }
  17. }
  18. </SCRIPT>
  19. <NOSCRIPT>
  20. </NOSCRIPT>
  21. </HEAD>
  22. <BODY BGCOLOR="white" onload="windowTitle();">
  23. <HR>
  24. <!-- ========= START OF TOP NAVBAR ======= -->
  25. <A NAME="navbar_top"><!-- --></A>
  26. <A HREF="#skip-navbar_top" title="Skip navigation links"></A>
  27. <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
  28. <TR>
  29. <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
  30. <A NAME="navbar_top_firstrow"><!-- --></A>
  31. <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  32. <TR ALIGN="center" VALIGN="top">
  33. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  34. <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  35. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  36. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  37. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  38. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  39. </TR>
  40. </TABLE>
  41. </TD>
  42. <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
  43. </EM>
  44. </TD>
  45. </TR>
  46. <TR>
  47. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  48. &nbsp;<A HREF="Frame.html" title="class in &lt;Unnamed&gt;"><B>PREV CLASS</B></A>&nbsp;
  49. &nbsp;<A HREF="layerEditFrame.html" title="class in &lt;Unnamed&gt;"><B>NEXT CLASS</B></A></FONT></TD>
  50. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  51. <A HREF="index.html?HelperUtility.html" target="_top"><B>FRAMES</B></A> &nbsp;
  52. &nbsp;<A HREF="HelperUtility.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
  53. &nbsp;<SCRIPT type="text/javascript">
  54. <!--
  55. if(window==top) {
  56. document.writeln('<A HREF="allclasses-noframe.html"><B>All Classes</B></A>');
  57. }
  58. //-->
  59. </SCRIPT>
  60. <NOSCRIPT>
  61. <A HREF="allclasses-noframe.html"><B>All Classes</B></A>
  62. </NOSCRIPT>
  63. </FONT></TD>
  64. </TR>
  65. <TR>
  66. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  67. SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
  68. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  69. DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
  70. </TR>
  71. </TABLE>
  72. <A NAME="skip-navbar_top"></A>
  73. <!-- ========= END OF TOP NAVBAR ========= -->
  74. <HR>
  75. <!-- ======== START OF CLASS DATA ======== -->
  76. <H2>
  77. Class HelperUtility</H2>
  78. <PRE>
  79. java.lang.Object
  80. <IMG SRC="./resources/inherit.gif" ALT="extended by "><B>HelperUtility</B>
  81. </PRE>
  82. <HR>
  83. <DL>
  84. <DT><PRE>public class <B>HelperUtility</B><DT>extends java.lang.Object</DL>
  85. </PRE>
  86. <P>
  87. This helper class extracts the serialHelper from the JAR file, makes it executable and executes it with the given Command line arguments.
  88. <P>
  89. <P>
  90. <HR>
  91. <P>
  92. <!-- ======== CONSTRUCTOR SUMMARY ======== -->
  93. <A NAME="constructor_summary"><!-- --></A>
  94. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  95. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  96. <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
  97. <B>Constructor Summary</B></FONT></TH>
  98. </TR>
  99. <TR BGCOLOR="white" CLASS="TableRowColor">
  100. <TD><CODE><B><A HREF="HelperUtility.html#HelperUtility()">HelperUtility</A></B>()</CODE>
  101. <BR>
  102. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  103. </TR>
  104. </TABLE>
  105. &nbsp;
  106. <!-- ========== METHOD SUMMARY =========== -->
  107. <A NAME="method_summary"><!-- --></A>
  108. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  109. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  110. <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
  111. <B>Method Summary</B></FONT></TH>
  112. </TR>
  113. <TR BGCOLOR="white" CLASS="TableRowColor">
  114. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  115. <CODE>static&nbsp;java.lang.String</CODE></FONT></TD>
  116. <TD><CODE><B><A HREF="HelperUtility.html#runHelper(java.lang.String[])">runHelper</A></B>(java.lang.String[]&nbsp;args)</CODE>
  117. <BR>
  118. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Run the serialHelper with the given arguments</TD>
  119. </TR>
  120. </TABLE>
  121. &nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
  122. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  123. <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
  124. <TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
  125. </TR>
  126. <TR BGCOLOR="white" CLASS="TableRowColor">
  127. <TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
  128. </TR>
  129. </TABLE>
  130. &nbsp;
  131. <P>
  132. <!-- ========= CONSTRUCTOR DETAIL ======== -->
  133. <A NAME="constructor_detail"><!-- --></A>
  134. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  135. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  136. <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
  137. <B>Constructor Detail</B></FONT></TH>
  138. </TR>
  139. </TABLE>
  140. <A NAME="HelperUtility()"><!-- --></A><H3>
  141. HelperUtility</H3>
  142. <PRE>
  143. public <B>HelperUtility</B>()</PRE>
  144. <DL>
  145. </DL>
  146. <!-- ============ METHOD DETAIL ========== -->
  147. <A NAME="method_detail"><!-- --></A>
  148. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  149. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  150. <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
  151. <B>Method Detail</B></FONT></TH>
  152. </TR>
  153. </TABLE>
  154. <A NAME="runHelper(java.lang.String[])"><!-- --></A><H3>
  155. runHelper</H3>
  156. <PRE>
  157. public static java.lang.String <B>runHelper</B>(java.lang.String[]&nbsp;args)</PRE>
  158. <DL>
  159. <DD>Run the serialHelper with the given arguments
  160. <P>
  161. <DD><DL>
  162. <DT><B>Parameters:</B><DD><CODE>args</CODE> - Command line arguments for serialHelper
  163. <DT><B>Returns:</B><DD>Output of helper</DL>
  164. </DD>
  165. </DL>
  166. <!-- ========= END OF CLASS DATA ========= -->
  167. <HR>
  168. <!-- ======= START OF BOTTOM NAVBAR ====== -->
  169. <A NAME="navbar_bottom"><!-- --></A>
  170. <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
  171. <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
  172. <TR>
  173. <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
  174. <A NAME="navbar_bottom_firstrow"><!-- --></A>
  175. <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  176. <TR ALIGN="center" VALIGN="top">
  177. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  178. <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  179. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  180. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  181. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  182. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  183. </TR>
  184. </TABLE>
  185. </TD>
  186. <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
  187. </EM>
  188. </TD>
  189. </TR>
  190. <TR>
  191. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  192. &nbsp;<A HREF="Frame.html" title="class in &lt;Unnamed&gt;"><B>PREV CLASS</B></A>&nbsp;
  193. &nbsp;<A HREF="layerEditFrame.html" title="class in &lt;Unnamed&gt;"><B>NEXT CLASS</B></A></FONT></TD>
  194. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  195. <A HREF="index.html?HelperUtility.html" target="_top"><B>FRAMES</B></A> &nbsp;
  196. &nbsp;<A HREF="HelperUtility.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
  197. &nbsp;<SCRIPT type="text/javascript">
  198. <!--
  199. if(window==top) {
  200. document.writeln('<A HREF="allclasses-noframe.html"><B>All Classes</B></A>');
  201. }
  202. //-->
  203. </SCRIPT>
  204. <NOSCRIPT>
  205. <A HREF="allclasses-noframe.html"><B>All Classes</B></A>
  206. </NOSCRIPT>
  207. </FONT></TD>
  208. </TR>
  209. <TR>
  210. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  211. SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
  212. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  213. DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
  214. </TR>
  215. </TABLE>
  216. <A NAME="skip-navbar_bottom"></A>
  217. <!-- ======== END OF BOTTOM NAVBAR ======= -->
  218. <HR>
  219. </BODY>
  220. </HTML>