Skip to content

Commit

Permalink
14.03.2018
Browse files Browse the repository at this point in the history
Signed-off-by: Ralph Niemitz <[email protected]>
  • Loading branch information
RalleYTN committed Mar 14, 2018
1 parent 9417c8b commit 2dd9af7
Show file tree
Hide file tree
Showing 34 changed files with 582 additions and 1,015 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,15 @@ try {

// Creating Keys
Registry.setKey(Registry.HKEY_CURRENT_USER + "\\Software\\MyExampleSoftware");
Key mySoftwareKey = Registry.getKey(Registry.HKEY_CURRENT_USER + "\\Software\\MyExampleSoftware");
mySoftwareKey.setValue("myExampleValue", Value.Type.REG_SZ, '\0', "Hello World!");
RegistryKey mySoftwareKey = Registry.getKey(Registry.HKEY_CURRENT_USER + "\\Software\\MyExampleSoftware");
mySoftwareKey.setValue("myExampleValue", RegistryValue.Type.REG_SZ, '\0', "Hello World!");
mySoftwareKey.reload();
System.out.println(mySoftwareKey.getValueByName("myExampleValue"));

// Reading keys
Key key = Registry.getKey(Registry.HKEY_CURRENT_USER + "\\Software");
RegstryKey key = Registry.getKey(Registry.HKEY_CURRENT_USER + "\\Software");

for(Key child : key.getChilds()) {
for(RegistryKey child : key.getChilds()) {

System.out.println(child.getName());
}
Expand Down
11 changes: 5 additions & 6 deletions docs/allclasses-frame.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,20 @@
<!-- NewPage -->
<html lang="de">
<head>
<!-- Generated by javadoc (1.8.0_131) on Thu Jul 27 09:18:40 CEST 2017 -->
<!-- Generated by javadoc (1.8.0_162) on Wed Mar 14 06:45:24 CET 2018 -->
<title>All Classes</title>
<meta name="date" content="2017-07-27">
<meta name="date" content="2018-03-14">
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
<script type="text/javascript" src="script.js"></script>
</head>
<body>
<h1 class="bar">All&nbsp;Classes</h1>
<div class="indexContainer">
<ul>
<li><a href="de/ralleytn/simple/registry/Key.html" title="class in de.ralleytn.simple.registry" target="classFrame">Key</a></li>
<li><a href="de/ralleytn/simple/registry/Registry.html" title="class in de.ralleytn.simple.registry" target="classFrame">Registry</a></li>
<li><a href="de/ralleytn/simple/registry/Reloadable.html" title="interface in de.ralleytn.simple.registry" target="classFrame"><span class="interfaceName">Reloadable</span></a></li>
<li><a href="de/ralleytn/simple/registry/Value.html" title="class in de.ralleytn.simple.registry" target="classFrame">Value</a></li>
<li><a href="de/ralleytn/simple/registry/Value.Type.html" title="enum in de.ralleytn.simple.registry" target="classFrame">Value.Type</a></li>
<li><a href="de/ralleytn/simple/registry/RegistryKey.html" title="class in de.ralleytn.simple.registry" target="classFrame">RegistryKey</a></li>
<li><a href="de/ralleytn/simple/registry/RegistryValue.html" title="class in de.ralleytn.simple.registry" target="classFrame">RegistryValue</a></li>
<li><a href="de/ralleytn/simple/registry/RegistryValue.Type.html" title="enum in de.ralleytn.simple.registry" target="classFrame">RegistryValue.Type</a></li>
</ul>
</div>
</body>
Expand Down
11 changes: 5 additions & 6 deletions docs/allclasses-noframe.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,20 @@
<!-- NewPage -->
<html lang="de">
<head>
<!-- Generated by javadoc (1.8.0_131) on Thu Jul 27 09:18:40 CEST 2017 -->
<!-- Generated by javadoc (1.8.0_162) on Wed Mar 14 06:45:24 CET 2018 -->
<title>All Classes</title>
<meta name="date" content="2017-07-27">
<meta name="date" content="2018-03-14">
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
<script type="text/javascript" src="script.js"></script>
</head>
<body>
<h1 class="bar">All&nbsp;Classes</h1>
<div class="indexContainer">
<ul>
<li><a href="de/ralleytn/simple/registry/Key.html" title="class in de.ralleytn.simple.registry">Key</a></li>
<li><a href="de/ralleytn/simple/registry/Registry.html" title="class in de.ralleytn.simple.registry">Registry</a></li>
<li><a href="de/ralleytn/simple/registry/Reloadable.html" title="interface in de.ralleytn.simple.registry"><span class="interfaceName">Reloadable</span></a></li>
<li><a href="de/ralleytn/simple/registry/Value.html" title="class in de.ralleytn.simple.registry">Value</a></li>
<li><a href="de/ralleytn/simple/registry/Value.Type.html" title="enum in de.ralleytn.simple.registry">Value.Type</a></li>
<li><a href="de/ralleytn/simple/registry/RegistryKey.html" title="class in de.ralleytn.simple.registry">RegistryKey</a></li>
<li><a href="de/ralleytn/simple/registry/RegistryValue.html" title="class in de.ralleytn.simple.registry">RegistryValue</a></li>
<li><a href="de/ralleytn/simple/registry/RegistryValue.Type.html" title="enum in de.ralleytn.simple.registry">RegistryValue.Type</a></li>
</ul>
</div>
</body>
Expand Down
4 changes: 2 additions & 2 deletions docs/constant-values.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
<!-- NewPage -->
<html lang="de">
<head>
<!-- Generated by javadoc (1.8.0_131) on Thu Jul 27 09:18:40 CEST 2017 -->
<!-- Generated by javadoc (1.8.0_162) on Wed Mar 14 06:45:23 CET 2018 -->
<title>Constant Field Values</title>
<meta name="date" content="2017-07-27">
<meta name="date" content="2018-03-14">
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
<script type="text/javascript" src="script.js"></script>
</head>
Expand Down
46 changes: 23 additions & 23 deletions docs/de/ralleytn/simple/registry/Registry.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
<!-- NewPage -->
<html lang="de">
<head>
<!-- Generated by javadoc (1.8.0_131) on Thu Jul 27 09:18:39 CEST 2017 -->
<!-- Generated by javadoc (1.8.0_162) on Wed Mar 14 06:45:23 CET 2018 -->
<title>Registry</title>
<meta name="date" content="2017-07-27">
<meta name="date" content="2018-03-14">
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../../script.js"></script>
</head>
Expand Down Expand Up @@ -48,8 +48,8 @@
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../de/ralleytn/simple/registry/Key.html" title="class in de.ralleytn.simple.registry"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../de/ralleytn/simple/registry/Reloadable.html" title="interface in de.ralleytn.simple.registry"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
<li>Prev&nbsp;Class</li>
<li><a href="../../../../de/ralleytn/simple/registry/RegistryKey.html" title="class in de.ralleytn.simple.registry"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?de/ralleytn/simple/registry/Registry.html" target="_top">Frames</a></li>
Expand Down Expand Up @@ -209,11 +209,11 @@ <h3>Method Summary</h3>
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>static <a href="../../../../de/ralleytn/simple/registry/Key.html" title="class in de.ralleytn.simple.registry">Key</a></code></td>
<td class="colFirst"><code>static <a href="../../../../de/ralleytn/simple/registry/RegistryKey.html" title="class in de.ralleytn.simple.registry">RegistryKey</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/ralleytn/simple/registry/Registry.html#getKey-java.lang.String-">getKey</a></span>(java.lang.String&nbsp;path)</code>&nbsp;</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code>static <a href="../../../../de/ralleytn/simple/registry/Value.html" title="class in de.ralleytn.simple.registry">Value</a></code></td>
<td class="colFirst"><code>static <a href="../../../../de/ralleytn/simple/registry/RegistryValue.html" title="class in de.ralleytn.simple.registry">RegistryValue</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/ralleytn/simple/registry/Registry.html#getValue-java.lang.String-java.lang.String-">getValue</a></span>(java.lang.String&nbsp;path,
java.lang.String&nbsp;name)</code>&nbsp;</td>
</tr>
Expand All @@ -225,8 +225,8 @@ <h3>Method Summary</h3>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/ralleytn/simple/registry/Registry.html#setDeafultValue-java.lang.String-de.ralleytn.simple.registry.Value.Type-char-java.lang.String-">setDeafultValue</a></span>(java.lang.String&nbsp;path,
<a href="../../../../de/ralleytn/simple/registry/Value.Type.html" title="enum in de.ralleytn.simple.registry">Value.Type</a>&nbsp;type,
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/ralleytn/simple/registry/Registry.html#setDeafultValue-java.lang.String-de.ralleytn.simple.registry.RegistryValue.Type-char-java.lang.String-">setDeafultValue</a></span>(java.lang.String&nbsp;path,
<a href="../../../../de/ralleytn/simple/registry/RegistryValue.Type.html" title="enum in de.ralleytn.simple.registry">RegistryValue.Type</a>&nbsp;type,
char&nbsp;seperator,
java.lang.String&nbsp;rawValue)</code>
<div class="block">Sets the default value of a registry key.</div>
Expand All @@ -240,9 +240,9 @@ <h3>Method Summary</h3>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/ralleytn/simple/registry/Registry.html#setValue-java.lang.String-java.lang.String-de.ralleytn.simple.registry.Value.Type-char-java.lang.String-">setValue</a></span>(java.lang.String&nbsp;path,
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../de/ralleytn/simple/registry/Registry.html#setValue-java.lang.String-java.lang.String-de.ralleytn.simple.registry.RegistryValue.Type-char-java.lang.String-">setValue</a></span>(java.lang.String&nbsp;path,
java.lang.String&nbsp;name,
<a href="../../../../de/ralleytn/simple/registry/Value.Type.html" title="enum in de.ralleytn.simple.registry">Value.Type</a>&nbsp;type,
<a href="../../../../de/ralleytn/simple/registry/RegistryValue.Type.html" title="enum in de.ralleytn.simple.registry">RegistryValue.Type</a>&nbsp;type,
char&nbsp;seperator,
java.lang.String&nbsp;rawValue)</code>
<div class="block">Sets a value of a registry key.</div>
Expand Down Expand Up @@ -427,15 +427,15 @@ <h4>deleteValue</h4>
</dl>
</li>
</ul>
<a name="setValue-java.lang.String-java.lang.String-de.ralleytn.simple.registry.Value.Type-char-java.lang.String-">
<a name="setValue-java.lang.String-java.lang.String-de.ralleytn.simple.registry.RegistryValue.Type-char-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setValue</h4>
<pre>public static final&nbsp;void&nbsp;setValue(java.lang.String&nbsp;path,
java.lang.String&nbsp;name,
<a href="../../../../de/ralleytn/simple/registry/Value.Type.html" title="enum in de.ralleytn.simple.registry">Value.Type</a>&nbsp;type,
<a href="../../../../de/ralleytn/simple/registry/RegistryValue.Type.html" title="enum in de.ralleytn.simple.registry">RegistryValue.Type</a>&nbsp;type,
char&nbsp;seperator,
java.lang.String&nbsp;rawValue)
throws java.io.IOException</pre>
Expand All @@ -445,7 +445,7 @@ <h4>setValue</h4>
<dd><code>path</code> - path of the key</dd>
<dd><code>name</code> - name of the value</dd>
<dd><code>type</code> - the data type</dd>
<dd><code>seperator</code> - only important when the data type is <a href="../../../../de/ralleytn/simple/registry/Value.Type.html#REG_MULTI_SZ">Value.Type.REG_MULTI_SZ</a>; specifies at which character the string should be split; some characters do not work as seperator and simply do nothing like '|' for instance</dd>
<dd><code>seperator</code> - only important when the data type is <a href="../../../../de/ralleytn/simple/registry/RegistryValue.Type.html#REG_MULTI_SZ">RegistryValue.Type.REG_MULTI_SZ</a>; specifies at which character the string should be split; some characters do not work as seperator and simply do nothing like '|' for instance</dd>
<dd><code>rawValue</code> - the value data</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.io.IOException</code> - if an error occurs</dd>
Expand All @@ -454,14 +454,14 @@ <h4>setValue</h4>
</dl>
</li>
</ul>
<a name="setDeafultValue-java.lang.String-de.ralleytn.simple.registry.Value.Type-char-java.lang.String-">
<a name="setDeafultValue-java.lang.String-de.ralleytn.simple.registry.RegistryValue.Type-char-java.lang.String-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setDeafultValue</h4>
<pre>public static final&nbsp;void&nbsp;setDeafultValue(java.lang.String&nbsp;path,
<a href="../../../../de/ralleytn/simple/registry/Value.Type.html" title="enum in de.ralleytn.simple.registry">Value.Type</a>&nbsp;type,
<a href="../../../../de/ralleytn/simple/registry/RegistryValue.Type.html" title="enum in de.ralleytn.simple.registry">RegistryValue.Type</a>&nbsp;type,
char&nbsp;seperator,
java.lang.String&nbsp;rawValue)
throws java.io.IOException</pre>
Expand All @@ -470,7 +470,7 @@ <h4>setDeafultValue</h4>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>path</code> - path of the key</dd>
<dd><code>type</code> - the data type</dd>
<dd><code>seperator</code> - only important when the data type is <a href="../../../../de/ralleytn/simple/registry/Value.Type.html#REG_MULTI_SZ">Value.Type.REG_MULTI_SZ</a>; specifies at which character the string should be split; some characters do not work as seperator and simply do nothing like '|' for instance</dd>
<dd><code>seperator</code> - only important when the data type is <a href="../../../../de/ralleytn/simple/registry/RegistryValue.Type.html#REG_MULTI_SZ">RegistryValue.Type.REG_MULTI_SZ</a>; specifies at which character the string should be split; some characters do not work as seperator and simply do nothing like '|' for instance</dd>
<dd><code>rawValue</code> - the value data</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code>java.io.IOException</code> - if an error occurs</dd>
Expand All @@ -485,9 +485,9 @@ <h4>setDeafultValue</h4>
<ul class="blockList">
<li class="blockList">
<h4>getValue</h4>
<pre>public static final&nbsp;<a href="../../../../de/ralleytn/simple/registry/Value.html" title="class in de.ralleytn.simple.registry">Value</a>&nbsp;getValue(java.lang.String&nbsp;path,
java.lang.String&nbsp;name)
throws java.io.IOException</pre>
<pre>public static final&nbsp;<a href="../../../../de/ralleytn/simple/registry/RegistryValue.html" title="class in de.ralleytn.simple.registry">RegistryValue</a>&nbsp;getValue(java.lang.String&nbsp;path,
java.lang.String&nbsp;name)
throws java.io.IOException</pre>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>path</code> - path of the key</dd>
Expand Down Expand Up @@ -585,8 +585,8 @@ <h4>setKey</h4>
<ul class="blockListLast">
<li class="blockList">
<h4>getKey</h4>
<pre>public static final&nbsp;<a href="../../../../de/ralleytn/simple/registry/Key.html" title="class in de.ralleytn.simple.registry">Key</a>&nbsp;getKey(java.lang.String&nbsp;path)
throws java.io.IOException</pre>
<pre>public static final&nbsp;<a href="../../../../de/ralleytn/simple/registry/RegistryKey.html" title="class in de.ralleytn.simple.registry">RegistryKey</a>&nbsp;getKey(java.lang.String&nbsp;path)
throws java.io.IOException</pre>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>path</code> - path of the key</dd>
Expand Down Expand Up @@ -626,8 +626,8 @@ <h4>getKey</h4>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../de/ralleytn/simple/registry/Key.html" title="class in de.ralleytn.simple.registry"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../de/ralleytn/simple/registry/Reloadable.html" title="interface in de.ralleytn.simple.registry"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
<li>Prev&nbsp;Class</li>
<li><a href="../../../../de/ralleytn/simple/registry/RegistryKey.html" title="class in de.ralleytn.simple.registry"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?de/ralleytn/simple/registry/Registry.html" target="_top">Frames</a></li>
Expand Down
Loading

0 comments on commit 2dd9af7

Please sign in to comment.