PageRenderTime 45ms CodeModel.GetById 16ms RepoModel.GetById 0ms app.codeStats 0ms

/build/javadoc/everything/processing/app/windows/Registry.html

https://gitlab.com/dannywillems/Arduino
HTML | 541 lines | 466 code | 53 blank | 22 comment | 0 complexity | 43619bc021595ee6608de60eaf2e7853 MD5 | raw file
  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. <TITLE>
  6. Registry
  7. </TITLE>
  8. <META NAME="keywords" CONTENT="processing.app.windows.Registry class">
  9. <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
  10. <SCRIPT type="text/javascript">
  11. function windowTitle()
  12. {
  13. parent.document.title="Registry";
  14. }
  15. </SCRIPT>
  16. <NOSCRIPT>
  17. </NOSCRIPT>
  18. </HEAD>
  19. <BODY BGCOLOR="white" onload="windowTitle();">
  20. <!-- ========= START OF TOP NAVBAR ======= -->
  21. <A NAME="navbar_top"><!-- --></A>
  22. <A HREF="#skip-navbar_top" title="Skip navigation links"></A>
  23. <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
  24. <TR>
  25. <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
  26. <A NAME="navbar_top_firstrow"><!-- --></A>
  27. <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  28. <TR ALIGN="center" VALIGN="top">
  29. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  30. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  31. <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  32. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  33. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  34. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  35. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  36. </TR>
  37. </TABLE>
  38. </TD>
  39. <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
  40. </EM>
  41. </TD>
  42. </TR>
  43. <TR>
  44. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  45. &nbsp;<A HREF="../../../processing/app/windows/Platform.html" title="class in processing.app.windows"><B>PREV CLASS</B></A>&nbsp;
  46. &nbsp;<A HREF="../../../processing/app/windows/Registry.REGISTRY_ROOT_KEY.html" title="enum in processing.app.windows"><B>NEXT CLASS</B></A></FONT></TD>
  47. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  48. <A HREF="../../../index.html?processing/app/windows/Registry.html" target="_top"><B>FRAMES</B></A> &nbsp;
  49. &nbsp;<A HREF="Registry.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
  50. &nbsp;<SCRIPT type="text/javascript">
  51. <!--
  52. if(window==top) {
  53. document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
  54. }
  55. //-->
  56. </SCRIPT>
  57. <NOSCRIPT>
  58. <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
  59. </NOSCRIPT>
  60. </FONT></TD>
  61. </TR>
  62. <TR>
  63. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  64. SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
  65. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  66. DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
  67. </TR>
  68. </TABLE>
  69. <A NAME="skip-navbar_top"></A>
  70. <!-- ========= END OF TOP NAVBAR ========= -->
  71. <HR>
  72. <!-- ======== START OF CLASS DATA ======== -->
  73. <H2>
  74. <FONT SIZE="-1">
  75. processing.app.windows</FONT>
  76. <BR>
  77. Class Registry</H2>
  78. <PRE>
  79. java.lang.Object
  80. <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><B>processing.app.windows.Registry</B>
  81. </PRE>
  82. <HR>
  83. <DL>
  84. <DT><PRE>public class <B>Registry</B><DT>extends java.lang.Object</DL>
  85. </PRE>
  86. <P>
  87. Methods for accessing the Windows Registry. Only String and DWORD values supported at the moment.
  88. <P>
  89. <P>
  90. <HR>
  91. <P>
  92. <!-- ======== NESTED CLASS SUMMARY ======== -->
  93. <A NAME="nested_class_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>Nested Class Summary</B></FONT></TH>
  98. </TR>
  99. <TR BGCOLOR="white" CLASS="TableRowColor">
  100. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  101. <CODE>static&nbsp;class</CODE></FONT></TD>
  102. <TD><CODE><B><A HREF="../../../processing/app/windows/Registry.REGISTRY_ROOT_KEY.html" title="enum in processing.app.windows">Registry.REGISTRY_ROOT_KEY</A></B></CODE>
  103. <BR>
  104. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  105. </TR>
  106. </TABLE>
  107. &nbsp;
  108. <!-- ======== CONSTRUCTOR SUMMARY ======== -->
  109. <A NAME="constructor_summary"><!-- --></A>
  110. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  111. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  112. <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
  113. <B>Constructor Summary</B></FONT></TH>
  114. </TR>
  115. <TR BGCOLOR="white" CLASS="TableRowColor">
  116. <TD><CODE><B><A HREF="../../../processing/app/windows/Registry.html#Registry()">Registry</A></B>()</CODE>
  117. <BR>
  118. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
  119. </TR>
  120. </TABLE>
  121. &nbsp;
  122. <!-- ========== METHOD SUMMARY =========== -->
  123. <A NAME="method_summary"><!-- --></A>
  124. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  125. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  126. <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
  127. <B>Method Summary</B></FONT></TH>
  128. </TR>
  129. <TR BGCOLOR="white" CLASS="TableRowColor">
  130. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  131. <CODE>static&nbsp;boolean</CODE></FONT></TD>
  132. <TD><CODE><B><A HREF="../../../processing/app/windows/Registry.html#createKey(processing.app.windows.Registry.REGISTRY_ROOT_KEY, java.lang.String, java.lang.String)">createKey</A></B>(<A HREF="../../../processing/app/windows/Registry.REGISTRY_ROOT_KEY.html" title="enum in processing.app.windows">Registry.REGISTRY_ROOT_KEY</A>&nbsp;rootKey,
  133. java.lang.String&nbsp;parent,
  134. java.lang.String&nbsp;name)</CODE>
  135. <BR>
  136. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Create a new key.</TD>
  137. </TR>
  138. <TR BGCOLOR="white" CLASS="TableRowColor">
  139. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  140. <CODE>static&nbsp;boolean</CODE></FONT></TD>
  141. <TD><CODE><B><A HREF="../../../processing/app/windows/Registry.html#deleteKey(processing.app.windows.Registry.REGISTRY_ROOT_KEY, java.lang.String, java.lang.String)">deleteKey</A></B>(<A HREF="../../../processing/app/windows/Registry.REGISTRY_ROOT_KEY.html" title="enum in processing.app.windows">Registry.REGISTRY_ROOT_KEY</A>&nbsp;rootKey,
  142. java.lang.String&nbsp;parent,
  143. java.lang.String&nbsp;name)</CODE>
  144. <BR>
  145. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Delete a key.</TD>
  146. </TR>
  147. <TR BGCOLOR="white" CLASS="TableRowColor">
  148. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  149. <CODE>static&nbsp;boolean</CODE></FONT></TD>
  150. <TD><CODE><B><A HREF="../../../processing/app/windows/Registry.html#deleteValue(processing.app.windows.Registry.REGISTRY_ROOT_KEY, java.lang.String, java.lang.String)">deleteValue</A></B>(<A HREF="../../../processing/app/windows/Registry.REGISTRY_ROOT_KEY.html" title="enum in processing.app.windows">Registry.REGISTRY_ROOT_KEY</A>&nbsp;rootKey,
  151. java.lang.String&nbsp;subKeyName,
  152. java.lang.String&nbsp;name)</CODE>
  153. <BR>
  154. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Delete a value.</TD>
  155. </TR>
  156. <TR BGCOLOR="white" CLASS="TableRowColor">
  157. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  158. <CODE>static&nbsp;int</CODE></FONT></TD>
  159. <TD><CODE><B><A HREF="../../../processing/app/windows/Registry.html#getIntValue(processing.app.windows.Registry.REGISTRY_ROOT_KEY, java.lang.String, java.lang.String)">getIntValue</A></B>(<A HREF="../../../processing/app/windows/Registry.REGISTRY_ROOT_KEY.html" title="enum in processing.app.windows">Registry.REGISTRY_ROOT_KEY</A>&nbsp;rootKey,
  160. java.lang.String&nbsp;subKeyName,
  161. java.lang.String&nbsp;name)</CODE>
  162. <BR>
  163. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Read an int value.</TD>
  164. </TR>
  165. <TR BGCOLOR="white" CLASS="TableRowColor">
  166. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  167. <CODE>static&nbsp;java.lang.String</CODE></FONT></TD>
  168. <TD><CODE><B><A HREF="../../../processing/app/windows/Registry.html#getStringValue(processing.app.windows.Registry.REGISTRY_ROOT_KEY, java.lang.String, java.lang.String)">getStringValue</A></B>(<A HREF="../../../processing/app/windows/Registry.REGISTRY_ROOT_KEY.html" title="enum in processing.app.windows">Registry.REGISTRY_ROOT_KEY</A>&nbsp;rootKey,
  169. java.lang.String&nbsp;subKeyName,
  170. java.lang.String&nbsp;name)</CODE>
  171. <BR>
  172. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Read a String value.</TD>
  173. </TR>
  174. <TR BGCOLOR="white" CLASS="TableRowColor">
  175. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  176. <CODE>static&nbsp;java.lang.String[]</CODE></FONT></TD>
  177. <TD><CODE><B><A HREF="../../../processing/app/windows/Registry.html#getSubKeys(processing.app.windows.Registry.REGISTRY_ROOT_KEY, java.lang.String)">getSubKeys</A></B>(<A HREF="../../../processing/app/windows/Registry.REGISTRY_ROOT_KEY.html" title="enum in processing.app.windows">Registry.REGISTRY_ROOT_KEY</A>&nbsp;rootKey,
  178. java.lang.String&nbsp;parent)</CODE>
  179. <BR>
  180. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get all sub keys of a key.</TD>
  181. </TR>
  182. <TR BGCOLOR="white" CLASS="TableRowColor">
  183. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  184. <CODE>static&nbsp;java.util.TreeMap&lt;java.lang.String,java.lang.Object&gt;</CODE></FONT></TD>
  185. <TD><CODE><B><A HREF="../../../processing/app/windows/Registry.html#getValues(processing.app.windows.Registry.REGISTRY_ROOT_KEY, java.lang.String)">getValues</A></B>(<A HREF="../../../processing/app/windows/Registry.REGISTRY_ROOT_KEY.html" title="enum in processing.app.windows">Registry.REGISTRY_ROOT_KEY</A>&nbsp;rootKey,
  186. java.lang.String&nbsp;key)</CODE>
  187. <BR>
  188. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get all values under a key.</TD>
  189. </TR>
  190. <TR BGCOLOR="white" CLASS="TableRowColor">
  191. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  192. <CODE>static&nbsp;void</CODE></FONT></TD>
  193. <TD><CODE><B><A HREF="../../../processing/app/windows/Registry.html#main(java.lang.String[])">main</A></B>(java.lang.String[]&nbsp;args)</CODE>
  194. <BR>
  195. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Testing.</TD>
  196. </TR>
  197. <TR BGCOLOR="white" CLASS="TableRowColor">
  198. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  199. <CODE>static&nbsp;boolean</CODE></FONT></TD>
  200. <TD><CODE><B><A HREF="../../../processing/app/windows/Registry.html#setIntValue(processing.app.windows.Registry.REGISTRY_ROOT_KEY, java.lang.String, java.lang.String, int)">setIntValue</A></B>(<A HREF="../../../processing/app/windows/Registry.REGISTRY_ROOT_KEY.html" title="enum in processing.app.windows">Registry.REGISTRY_ROOT_KEY</A>&nbsp;rootKey,
  201. java.lang.String&nbsp;subKeyName,
  202. java.lang.String&nbsp;name,
  203. int&nbsp;value)</CODE>
  204. <BR>
  205. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Writes an int value.</TD>
  206. </TR>
  207. <TR BGCOLOR="white" CLASS="TableRowColor">
  208. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  209. <CODE>static&nbsp;boolean</CODE></FONT></TD>
  210. <TD><CODE><B><A HREF="../../../processing/app/windows/Registry.html#setStringValue(processing.app.windows.Registry.REGISTRY_ROOT_KEY, java.lang.String, java.lang.String, java.lang.String)">setStringValue</A></B>(<A HREF="../../../processing/app/windows/Registry.REGISTRY_ROOT_KEY.html" title="enum in processing.app.windows">Registry.REGISTRY_ROOT_KEY</A>&nbsp;rootKey,
  211. java.lang.String&nbsp;subKeyName,
  212. java.lang.String&nbsp;name,
  213. java.lang.String&nbsp;value)</CODE>
  214. <BR>
  215. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Writes a String value.</TD>
  216. </TR>
  217. <TR BGCOLOR="white" CLASS="TableRowColor">
  218. <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  219. <CODE>static&nbsp;boolean</CODE></FONT></TD>
  220. <TD><CODE><B><A HREF="../../../processing/app/windows/Registry.html#valueExists(processing.app.windows.Registry.REGISTRY_ROOT_KEY, java.lang.String, java.lang.String)">valueExists</A></B>(<A HREF="../../../processing/app/windows/Registry.REGISTRY_ROOT_KEY.html" title="enum in processing.app.windows">Registry.REGISTRY_ROOT_KEY</A>&nbsp;rootKey,
  221. java.lang.String&nbsp;subKeyName,
  222. java.lang.String&nbsp;name)</CODE>
  223. <BR>
  224. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Check for existence of a value.</TD>
  225. </TR>
  226. </TABLE>
  227. &nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
  228. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  229. <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
  230. <TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
  231. </TR>
  232. <TR BGCOLOR="white" CLASS="TableRowColor">
  233. <TD><CODE>equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
  234. </TR>
  235. </TABLE>
  236. &nbsp;
  237. <P>
  238. <!-- ========= CONSTRUCTOR DETAIL ======== -->
  239. <A NAME="constructor_detail"><!-- --></A>
  240. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  241. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  242. <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
  243. <B>Constructor Detail</B></FONT></TH>
  244. </TR>
  245. </TABLE>
  246. <A NAME="Registry()"><!-- --></A><H3>
  247. Registry</H3>
  248. <PRE>
  249. public <B>Registry</B>()</PRE>
  250. <DL>
  251. </DL>
  252. <!-- ============ METHOD DETAIL ========== -->
  253. <A NAME="method_detail"><!-- --></A>
  254. <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  255. <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  256. <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
  257. <B>Method Detail</B></FONT></TH>
  258. </TR>
  259. </TABLE>
  260. <A NAME="main(java.lang.String[])"><!-- --></A><H3>
  261. main</H3>
  262. <PRE>
  263. public static void <B>main</B>(java.lang.String[]&nbsp;args)
  264. throws java.lang.Exception</PRE>
  265. <DL>
  266. <DD>Testing.
  267. <P>
  268. <DD><DL>
  269. <DT><B>Parameters:</B><DD><CODE>args</CODE> - arguments
  270. <DT><B>Throws:</B>
  271. <DD><CODE>java.lang.Exception</CODE> - on error</DL>
  272. </DD>
  273. </DL>
  274. <HR>
  275. <A NAME="getStringValue(processing.app.windows.Registry.REGISTRY_ROOT_KEY, java.lang.String, java.lang.String)"><!-- --></A><H3>
  276. getStringValue</H3>
  277. <PRE>
  278. public static java.lang.String <B>getStringValue</B>(<A HREF="../../../processing/app/windows/Registry.REGISTRY_ROOT_KEY.html" title="enum in processing.app.windows">Registry.REGISTRY_ROOT_KEY</A>&nbsp;rootKey,
  279. java.lang.String&nbsp;subKeyName,
  280. java.lang.String&nbsp;name)
  281. throws java.io.UnsupportedEncodingException</PRE>
  282. <DL>
  283. <DD>Read a String value.
  284. <P>
  285. <DD><DL>
  286. <DT><B>Parameters:</B><DD><CODE>rootKey</CODE> - root key<DD><CODE>subKeyName</CODE> - key name<DD><CODE>name</CODE> - value name
  287. <DT><B>Returns:</B><DD>String or null
  288. <DT><B>Throws:</B>
  289. <DD><CODE>java.io.UnsupportedEncodingException</CODE> - on error</DL>
  290. </DD>
  291. </DL>
  292. <HR>
  293. <A NAME="getIntValue(processing.app.windows.Registry.REGISTRY_ROOT_KEY, java.lang.String, java.lang.String)"><!-- --></A><H3>
  294. getIntValue</H3>
  295. <PRE>
  296. public static int <B>getIntValue</B>(<A HREF="../../../processing/app/windows/Registry.REGISTRY_ROOT_KEY.html" title="enum in processing.app.windows">Registry.REGISTRY_ROOT_KEY</A>&nbsp;rootKey,
  297. java.lang.String&nbsp;subKeyName,
  298. java.lang.String&nbsp;name)</PRE>
  299. <DL>
  300. <DD>Read an int value.
  301. <P>
  302. <DD><DL>
  303. <DT><B>Parameters:</B><DD><CODE>rootKey</CODE> - root key<DD><CODE>subKeyName</CODE> - key name<DD><CODE>name</CODE> - value name
  304. <DT><B>Returns:</B><DD>int or 0</DL>
  305. </DD>
  306. </DL>
  307. <HR>
  308. <A NAME="deleteValue(processing.app.windows.Registry.REGISTRY_ROOT_KEY, java.lang.String, java.lang.String)"><!-- --></A><H3>
  309. deleteValue</H3>
  310. <PRE>
  311. public static boolean <B>deleteValue</B>(<A HREF="../../../processing/app/windows/Registry.REGISTRY_ROOT_KEY.html" title="enum in processing.app.windows">Registry.REGISTRY_ROOT_KEY</A>&nbsp;rootKey,
  312. java.lang.String&nbsp;subKeyName,
  313. java.lang.String&nbsp;name)</PRE>
  314. <DL>
  315. <DD>Delete a value.
  316. <P>
  317. <DD><DL>
  318. <DT><B>Parameters:</B><DD><CODE>rootKey</CODE> - root key<DD><CODE>subKeyName</CODE> - key name<DD><CODE>name</CODE> - value name
  319. <DT><B>Returns:</B><DD>true on success</DL>
  320. </DD>
  321. </DL>
  322. <HR>
  323. <A NAME="setStringValue(processing.app.windows.Registry.REGISTRY_ROOT_KEY, java.lang.String, java.lang.String, java.lang.String)"><!-- --></A><H3>
  324. setStringValue</H3>
  325. <PRE>
  326. public static boolean <B>setStringValue</B>(<A HREF="../../../processing/app/windows/Registry.REGISTRY_ROOT_KEY.html" title="enum in processing.app.windows">Registry.REGISTRY_ROOT_KEY</A>&nbsp;rootKey,
  327. java.lang.String&nbsp;subKeyName,
  328. java.lang.String&nbsp;name,
  329. java.lang.String&nbsp;value)
  330. throws java.io.UnsupportedEncodingException</PRE>
  331. <DL>
  332. <DD>Writes a String value.
  333. <P>
  334. <DD><DL>
  335. <DT><B>Parameters:</B><DD><CODE>rootKey</CODE> - root key<DD><CODE>subKeyName</CODE> - key name<DD><CODE>name</CODE> - value name<DD><CODE>value</CODE> - value
  336. <DT><B>Returns:</B><DD>true on success
  337. <DT><B>Throws:</B>
  338. <DD><CODE>java.io.UnsupportedEncodingException</CODE> - on error</DL>
  339. </DD>
  340. </DL>
  341. <HR>
  342. <A NAME="setIntValue(processing.app.windows.Registry.REGISTRY_ROOT_KEY, java.lang.String, java.lang.String, int)"><!-- --></A><H3>
  343. setIntValue</H3>
  344. <PRE>
  345. public static boolean <B>setIntValue</B>(<A HREF="../../../processing/app/windows/Registry.REGISTRY_ROOT_KEY.html" title="enum in processing.app.windows">Registry.REGISTRY_ROOT_KEY</A>&nbsp;rootKey,
  346. java.lang.String&nbsp;subKeyName,
  347. java.lang.String&nbsp;name,
  348. int&nbsp;value)</PRE>
  349. <DL>
  350. <DD>Writes an int value.
  351. <P>
  352. <DD><DL>
  353. <DT><B>Parameters:</B><DD><CODE>rootKey</CODE> - root key<DD><CODE>subKeyName</CODE> - key name<DD><CODE>name</CODE> - value name<DD><CODE>value</CODE> - value
  354. <DT><B>Returns:</B><DD>true on success</DL>
  355. </DD>
  356. </DL>
  357. <HR>
  358. <A NAME="valueExists(processing.app.windows.Registry.REGISTRY_ROOT_KEY, java.lang.String, java.lang.String)"><!-- --></A><H3>
  359. valueExists</H3>
  360. <PRE>
  361. public static boolean <B>valueExists</B>(<A HREF="../../../processing/app/windows/Registry.REGISTRY_ROOT_KEY.html" title="enum in processing.app.windows">Registry.REGISTRY_ROOT_KEY</A>&nbsp;rootKey,
  362. java.lang.String&nbsp;subKeyName,
  363. java.lang.String&nbsp;name)</PRE>
  364. <DL>
  365. <DD>Check for existence of a value.
  366. <P>
  367. <DD><DL>
  368. <DT><B>Parameters:</B><DD><CODE>rootKey</CODE> - root key<DD><CODE>subKeyName</CODE> - key name<DD><CODE>name</CODE> - value name
  369. <DT><B>Returns:</B><DD>true if exists</DL>
  370. </DD>
  371. </DL>
  372. <HR>
  373. <A NAME="createKey(processing.app.windows.Registry.REGISTRY_ROOT_KEY, java.lang.String, java.lang.String)"><!-- --></A><H3>
  374. createKey</H3>
  375. <PRE>
  376. public static boolean <B>createKey</B>(<A HREF="../../../processing/app/windows/Registry.REGISTRY_ROOT_KEY.html" title="enum in processing.app.windows">Registry.REGISTRY_ROOT_KEY</A>&nbsp;rootKey,
  377. java.lang.String&nbsp;parent,
  378. java.lang.String&nbsp;name)</PRE>
  379. <DL>
  380. <DD>Create a new key.
  381. <P>
  382. <DD><DL>
  383. <DT><B>Parameters:</B><DD><CODE>rootKey</CODE> - root key<DD><CODE>parent</CODE> - name of parent key<DD><CODE>name</CODE> - key name
  384. <DT><B>Returns:</B><DD>true on success</DL>
  385. </DD>
  386. </DL>
  387. <HR>
  388. <A NAME="deleteKey(processing.app.windows.Registry.REGISTRY_ROOT_KEY, java.lang.String, java.lang.String)"><!-- --></A><H3>
  389. deleteKey</H3>
  390. <PRE>
  391. public static boolean <B>deleteKey</B>(<A HREF="../../../processing/app/windows/Registry.REGISTRY_ROOT_KEY.html" title="enum in processing.app.windows">Registry.REGISTRY_ROOT_KEY</A>&nbsp;rootKey,
  392. java.lang.String&nbsp;parent,
  393. java.lang.String&nbsp;name)</PRE>
  394. <DL>
  395. <DD>Delete a key.
  396. <P>
  397. <DD><DL>
  398. <DT><B>Parameters:</B><DD><CODE>rootKey</CODE> - root key<DD><CODE>parent</CODE> - name of parent key<DD><CODE>name</CODE> - key name
  399. <DT><B>Returns:</B><DD>true on success</DL>
  400. </DD>
  401. </DL>
  402. <HR>
  403. <A NAME="getSubKeys(processing.app.windows.Registry.REGISTRY_ROOT_KEY, java.lang.String)"><!-- --></A><H3>
  404. getSubKeys</H3>
  405. <PRE>
  406. public static java.lang.String[] <B>getSubKeys</B>(<A HREF="../../../processing/app/windows/Registry.REGISTRY_ROOT_KEY.html" title="enum in processing.app.windows">Registry.REGISTRY_ROOT_KEY</A>&nbsp;rootKey,
  407. java.lang.String&nbsp;parent)</PRE>
  408. <DL>
  409. <DD>Get all sub keys of a key.
  410. <P>
  411. <DD><DL>
  412. <DT><B>Parameters:</B><DD><CODE>rootKey</CODE> - root key<DD><CODE>parent</CODE> - key name
  413. <DT><B>Returns:</B><DD>array with all sub key names</DL>
  414. </DD>
  415. </DL>
  416. <HR>
  417. <A NAME="getValues(processing.app.windows.Registry.REGISTRY_ROOT_KEY, java.lang.String)"><!-- --></A><H3>
  418. getValues</H3>
  419. <PRE>
  420. public static java.util.TreeMap&lt;java.lang.String,java.lang.Object&gt; <B>getValues</B>(<A HREF="../../../processing/app/windows/Registry.REGISTRY_ROOT_KEY.html" title="enum in processing.app.windows">Registry.REGISTRY_ROOT_KEY</A>&nbsp;rootKey,
  421. java.lang.String&nbsp;key)
  422. throws java.io.UnsupportedEncodingException</PRE>
  423. <DL>
  424. <DD>Get all values under a key.
  425. <P>
  426. <DD><DL>
  427. <DT><B>Parameters:</B><DD><CODE>rootKey</CODE> - root key<DD><CODE>key</CODE> - jey name
  428. <DT><B>Returns:</B><DD>TreeMap with name and value pairs
  429. <DT><B>Throws:</B>
  430. <DD><CODE>java.io.UnsupportedEncodingException</CODE> - on error</DL>
  431. </DD>
  432. </DL>
  433. <!-- ========= END OF CLASS DATA ========= -->
  434. <HR>
  435. <!-- ======= START OF BOTTOM NAVBAR ====== -->
  436. <A NAME="navbar_bottom"><!-- --></A>
  437. <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
  438. <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
  439. <TR>
  440. <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
  441. <A NAME="navbar_bottom_firstrow"><!-- --></A>
  442. <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
  443. <TR ALIGN="center" VALIGN="top">
  444. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  445. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  446. <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  447. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  448. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  449. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  450. <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  451. </TR>
  452. </TABLE>
  453. </TD>
  454. <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
  455. </EM>
  456. </TD>
  457. </TR>
  458. <TR>
  459. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  460. &nbsp;<A HREF="../../../processing/app/windows/Platform.html" title="class in processing.app.windows"><B>PREV CLASS</B></A>&nbsp;
  461. &nbsp;<A HREF="../../../processing/app/windows/Registry.REGISTRY_ROOT_KEY.html" title="enum in processing.app.windows"><B>NEXT CLASS</B></A></FONT></TD>
  462. <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  463. <A HREF="../../../index.html?processing/app/windows/Registry.html" target="_top"><B>FRAMES</B></A> &nbsp;
  464. &nbsp;<A HREF="Registry.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
  465. &nbsp;<SCRIPT type="text/javascript">
  466. <!--
  467. if(window==top) {
  468. document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
  469. }
  470. //-->
  471. </SCRIPT>
  472. <NOSCRIPT>
  473. <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
  474. </NOSCRIPT>
  475. </FONT></TD>
  476. </TR>
  477. <TR>
  478. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  479. SUMMARY:&nbsp;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
  480. <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  481. DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
  482. </TR>
  483. </TABLE>
  484. <A NAME="skip-navbar_bottom"></A>
  485. <!-- ======== END OF BOTTOM NAVBAR ======= -->
  486. <HR>
  487. </BODY>
  488. </HTML>