Add more VersionTypes

This commit is contained in:
ME1312 2018-03-16 18:25:02 -04:00
parent eb9bf034b4
commit ce51a991a0
33 changed files with 769 additions and 377 deletions

View File

@ -289,7 +289,7 @@
<br>
<div class="footer">
<hr>
<a href="https://www.ME1312.net" draggable="false"><img src="https://src.ME1312.net/img/me1312.net.inverted.png" draggable="false" /></a>
<a href="https://www.ME1312.net" target="_blank" draggable="false"><img src="https://src.ME1312.net/img/me1312.net.inverted.png" draggable="false" /></a>
<div><a href="https://github.com/ME1312/SubServers-2/tree/master/Artifacts" target="_blank" draggable="false">Download not working?</a></div>
</div>
<script src="https://code.jquery.com/jquery-3.2.1.min.js"></script>

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -3312,8 +3312,8 @@
<dd>
<div class="block">The extended toString() method<br>
<br>
<b>new Version(new Version("1.0.0"), VersionType.PRE_ALPHA, "7")</b> would return:<br>
<b>1.0.0 pre-alpha 7</b></div>
<b style="font-family: consolas">new Version(new Version("1.0.0"), VersionType.PRE_ALPHA, "7")</b> would return:<br>
<b style="font-family: consolas">1.0.0 pre-alpha 7</b></div>
</dd>
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Bungee/Host/Executable.html#toFile--">toFile()</a></span> - Method in class net.ME1312.SubServers.Bungee.Host.<a href="net/ME1312/SubServers/Bungee/Host/Executable.html" title="class in net.ME1312.SubServers.Bungee.Host">Executable</a></dt>
<dd>
@ -3323,15 +3323,15 @@
<dd>
<div class="block">The full extended toString() method<br>
<br>
<b>new Version(new Version("1.0.0"), VersionType.PRE_ALPHA, "7")</b> would return:<br>
<b>release 1.0.0 pre-alpha 7</b></div>
<b style="font-family: consolas">new Version(new Version("1.0.0"), VersionType.PRE_ALPHA, "7")</b> would return:<br>
<b style="font-family: consolas">release 1.0.0 pre-alpha 7</b></div>
</dd>
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Bungee/Library/Version/Version.html#toFullString--">toFullString()</a></span> - Method in class net.ME1312.SubServers.Bungee.Library.Version.<a href="net/ME1312/SubServers/Bungee/Library/Version/Version.html" title="class in net.ME1312.SubServers.Bungee.Library.Version">Version</a></dt>
<dd>
<div class="block">The full toString() method<br>
<br>
<b>new Version(new Version("1.0.0"), VersionType.PRE_ALPHA, "7")</b> would return:<br>
<b>r1.0.0/pa7</b></div>
<b style="font-family: consolas">new Version(new Version("1.0.0"), VersionType.PRE_ALPHA, "7")</b> would return:<br>
<b style="font-family: consolas">r1.0.0/pa7</b></div>
</dd>
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Bungee/Host/SubServer.html#toggleCompatibility-net.ME1312.SubServers.Bungee.Host.SubServer...-">toggleCompatibility(SubServer...)</a></span> - Method in interface net.ME1312.SubServers.Bungee.Host.<a href="net/ME1312/SubServers/Bungee/Host/SubServer.html" title="interface in net.ME1312.SubServers.Bungee.Host">SubServer</a></dt>
<dd>
@ -3373,8 +3373,8 @@
<dd>
<div class="block">The default toString() method<br>
<br>
<b>new Version(new Version("1.0.0"), VersionType.PRE_ALPHA, "7")</b> would return:<br>
<b>1.0.0/pa7</b></div>
<b style="font-family: consolas">new Version(new Version("1.0.0"), VersionType.PRE_ALPHA, "7")</b> would return:<br>
<b style="font-family: consolas">1.0.0/pa7</b></div>
</dd>
</dl>
<a name="I:U">
@ -3491,11 +3491,11 @@ the order they are declared.</div>
</dd>
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Bungee/Library/Version/Version.html#Version-net.ME1312.SubServers.Bungee.Library.Version.Version-java.lang.String-">Version(Version, String)</a></span> - Constructor for class net.ME1312.SubServers.Bungee.Library.Version.<a href="net/ME1312/SubServers/Bungee/Library/Version/Version.html" title="class in net.ME1312.SubServers.Bungee.Library.Version">Version</a></dt>
<dd>
<div class="block">Creates a Version (Prepending the parent)</div>
<div class="block">Creates a Version (Appending the parent)</div>
</dd>
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Bungee/Library/Version/Version.html#Version-net.ME1312.SubServers.Bungee.Library.Version.Version-net.ME1312.SubServers.Bungee.Library.Version.Version.VersionType-java.lang.String-">Version(Version, Version.VersionType, String)</a></span> - Constructor for class net.ME1312.SubServers.Bungee.Library.Version.<a href="net/ME1312/SubServers/Bungee/Library/Version/Version.html" title="class in net.ME1312.SubServers.Bungee.Library.Version">Version</a></dt>
<dd>
<div class="block">Creates a Version (Prepending the parent)</div>
<div class="block">Creates a Version (Appending the parent)</div>
</dd>
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Bungee/Library/Version/Version.html#Version-int...-">Version(int...)</a></span> - Constructor for class net.ME1312.SubServers.Bungee.Library.Version.<a href="net/ME1312/SubServers/Bungee/Library/Version/Version.html" title="class in net.ME1312.SubServers.Bungee.Library.Version">Version</a></dt>
<dd>
@ -3507,11 +3507,11 @@ the order they are declared.</div>
</dd>
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Bungee/Library/Version/Version.html#Version-net.ME1312.SubServers.Bungee.Library.Version.Version-int...-">Version(Version, int...)</a></span> - Constructor for class net.ME1312.SubServers.Bungee.Library.Version.<a href="net/ME1312/SubServers/Bungee/Library/Version/Version.html" title="class in net.ME1312.SubServers.Bungee.Library.Version">Version</a></dt>
<dd>
<div class="block">Creates a Version (Prepending the parent)</div>
<div class="block">Creates a Version (Appending the parent)</div>
</dd>
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Bungee/Library/Version/Version.html#Version-net.ME1312.SubServers.Bungee.Library.Version.Version-net.ME1312.SubServers.Bungee.Library.Version.Version.VersionType-int...-">Version(Version, Version.VersionType, int...)</a></span> - Constructor for class net.ME1312.SubServers.Bungee.Library.Version.<a href="net/ME1312/SubServers/Bungee/Library/Version/Version.html" title="class in net.ME1312.SubServers.Bungee.Library.Version">Version</a></dt>
<dd>
<div class="block">Creates a Version (Prepending the parent)</div>
<div class="block">Creates a Version (Appending the parent)</div>
</dd>
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Bungee/SubPlugin.html#version">version</a></span> - Static variable in class net.ME1312.SubServers.Bungee.<a href="net/ME1312/SubServers/Bungee/SubPlugin.html" title="class in net.ME1312.SubServers.Bungee">SubPlugin</a></dt>
<dd>&nbsp;</dd>

View File

@ -146,20 +146,32 @@ extends java.lang.Enum&lt;<a href="../../../../../../net/ME1312/SubServers/Bunge
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../net/ME1312/SubServers/Bungee/Library/Version/Version.VersionType.html#BETA">BETA</a></span></code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../net/ME1312/SubServers/Bungee/Library/Version/Version.VersionType.html#PATCH">PATCH</a></span></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../net/ME1312/SubServers/Bungee/Library/Version/Version.VersionType.html#PRE_ALPHA">PRE_ALPHA</a></span></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../net/ME1312/SubServers/Bungee/Library/Version/Version.VersionType.html#PRE_BETA">PRE_BETA</a></span></code>&nbsp;</td>
</tr>
<tr class="altColor">
<tr class="rowColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../net/ME1312/SubServers/Bungee/Library/Version/Version.VersionType.html#PRE_RELEASE">PRE_RELEASE</a></span></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../net/ME1312/SubServers/Bungee/Library/Version/Version.VersionType.html#PREVIEW">PREVIEW</a></span></code>&nbsp;</td>
</tr>
<tr class="altColor">
<tr class="rowColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../net/ME1312/SubServers/Bungee/Library/Version/Version.VersionType.html#RELEASE">RELEASE</a></span></code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../net/ME1312/SubServers/Bungee/Library/Version/Version.VersionType.html#REVISION">REVISION</a></span></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../net/ME1312/SubServers/Bungee/Library/Version/Version.VersionType.html#UPDATE">UPDATE</a></span></code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../net/ME1312/SubServers/Bungee/Library/Version/Version.VersionType.html#VERSION">VERSION</a></span></code>&nbsp;</td>
</tr>
</table>
</li>
</ul>
@ -274,12 +286,48 @@ the order they are declared.</div>
<a name="RELEASE">
<!-- -->
</a>
<ul class="blockListLast">
<ul class="blockList">
<li class="blockList">
<h4>RELEASE</h4>
<pre>public static final&nbsp;<a href="../../../../../../net/ME1312/SubServers/Bungee/Library/Version/Version.VersionType.html" title="enum in net.ME1312.SubServers.Bungee.Library.Version">Version.VersionType</a> RELEASE</pre>
</li>
</ul>
<a name="REVISION">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>REVISION</h4>
<pre>public static final&nbsp;<a href="../../../../../../net/ME1312/SubServers/Bungee/Library/Version/Version.VersionType.html" title="enum in net.ME1312.SubServers.Bungee.Library.Version">Version.VersionType</a> REVISION</pre>
</li>
</ul>
<a name="VERSION">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>VERSION</h4>
<pre>public static final&nbsp;<a href="../../../../../../net/ME1312/SubServers/Bungee/Library/Version/Version.VersionType.html" title="enum in net.ME1312.SubServers.Bungee.Library.Version">Version.VersionType</a> VERSION</pre>
</li>
</ul>
<a name="UPDATE">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>UPDATE</h4>
<pre>public static final&nbsp;<a href="../../../../../../net/ME1312/SubServers/Bungee/Library/Version/Version.VersionType.html" title="enum in net.ME1312.SubServers.Bungee.Library.Version">Version.VersionType</a> UPDATE</pre>
</li>
</ul>
<a name="PATCH">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>PATCH</h4>
<pre>public static final&nbsp;<a href="../../../../../../net/ME1312/SubServers/Bungee/Library/Version/Version.VersionType.html" title="enum in net.ME1312.SubServers.Bungee.Library.Version">Version.VersionType</a> PATCH</pre>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->

View File

@ -180,27 +180,27 @@ implements java.io.Serializable, java.lang.Comparable&lt;<a href="../../../../..
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../net/ME1312/SubServers/Bungee/Library/Version/Version.html#Version-net.ME1312.SubServers.Bungee.Library.Version.Version-int...-">Version</a></span>(<a href="../../../../../../net/ME1312/SubServers/Bungee/Library/Version/Version.html" title="class in net.ME1312.SubServers.Bungee.Library.Version">Version</a>&nbsp;parent,
int...&nbsp;ints)</code>
<div class="block">Creates a Version (Prepending the parent)</div>
<div class="block">Creates a Version (Appending the parent)</div>
</td>
</tr>
<tr class="rowColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../net/ME1312/SubServers/Bungee/Library/Version/Version.html#Version-net.ME1312.SubServers.Bungee.Library.Version.Version-java.lang.String-">Version</a></span>(<a href="../../../../../../net/ME1312/SubServers/Bungee/Library/Version/Version.html" title="class in net.ME1312.SubServers.Bungee.Library.Version">Version</a>&nbsp;parent,
java.lang.String&nbsp;string)</code>
<div class="block">Creates a Version (Prepending the parent)</div>
<div class="block">Creates a Version (Appending the parent)</div>
</td>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../net/ME1312/SubServers/Bungee/Library/Version/Version.html#Version-net.ME1312.SubServers.Bungee.Library.Version.Version-net.ME1312.SubServers.Bungee.Library.Version.Version.VersionType-int...-">Version</a></span>(<a href="../../../../../../net/ME1312/SubServers/Bungee/Library/Version/Version.html" title="class in net.ME1312.SubServers.Bungee.Library.Version">Version</a>&nbsp;parent,
<a href="../../../../../../net/ME1312/SubServers/Bungee/Library/Version/Version.VersionType.html" title="enum in net.ME1312.SubServers.Bungee.Library.Version">Version.VersionType</a>&nbsp;type,
int...&nbsp;ints)</code>
<div class="block">Creates a Version (Prepending the parent)</div>
<div class="block">Creates a Version (Appending the parent)</div>
</td>
</tr>
<tr class="rowColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../net/ME1312/SubServers/Bungee/Library/Version/Version.html#Version-net.ME1312.SubServers.Bungee.Library.Version.Version-net.ME1312.SubServers.Bungee.Library.Version.Version.VersionType-java.lang.String-">Version</a></span>(<a href="../../../../../../net/ME1312/SubServers/Bungee/Library/Version/Version.html" title="class in net.ME1312.SubServers.Bungee.Library.Version">Version</a>&nbsp;parent,
<a href="../../../../../../net/ME1312/SubServers/Bungee/Library/Version/Version.VersionType.html" title="enum in net.ME1312.SubServers.Bungee.Library.Version">Version.VersionType</a>&nbsp;type,
java.lang.String&nbsp;string)</code>
<div class="block">Creates a Version (Prepending the parent)</div>
<div class="block">Creates a Version (Appending the parent)</div>
</td>
</tr>
</table>
@ -259,8 +259,8 @@ implements java.io.Serializable, java.lang.Comparable&lt;<a href="../../../../..
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../net/ME1312/SubServers/Bungee/Library/Version/Version.html#toExtendedString--">toExtendedString</a></span>()</code>
<div class="block">The extended toString() method<br>
<br>
<b>new Version(new Version("1.0.0"), VersionType.PRE_ALPHA, "7")</b> would return:<br>
<b>1.0.0 pre-alpha 7</b></div>
<b style="font-family: consolas">new Version(new Version("1.0.0"), VersionType.PRE_ALPHA, "7")</b> would return:<br>
<b style="font-family: consolas">1.0.0 pre-alpha 7</b></div>
</td>
</tr>
<tr id="i7" class="rowColor">
@ -268,8 +268,8 @@ implements java.io.Serializable, java.lang.Comparable&lt;<a href="../../../../..
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../net/ME1312/SubServers/Bungee/Library/Version/Version.html#toFullExtendedString--">toFullExtendedString</a></span>()</code>
<div class="block">The full extended toString() method<br>
<br>
<b>new Version(new Version("1.0.0"), VersionType.PRE_ALPHA, "7")</b> would return:<br>
<b>release 1.0.0 pre-alpha 7</b></div>
<b style="font-family: consolas">new Version(new Version("1.0.0"), VersionType.PRE_ALPHA, "7")</b> would return:<br>
<b style="font-family: consolas">release 1.0.0 pre-alpha 7</b></div>
</td>
</tr>
<tr id="i8" class="altColor">
@ -277,8 +277,8 @@ implements java.io.Serializable, java.lang.Comparable&lt;<a href="../../../../..
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../net/ME1312/SubServers/Bungee/Library/Version/Version.html#toFullString--">toFullString</a></span>()</code>
<div class="block">The full toString() method<br>
<br>
<b>new Version(new Version("1.0.0"), VersionType.PRE_ALPHA, "7")</b> would return:<br>
<b>r1.0.0/pa7</b></div>
<b style="font-family: consolas">new Version(new Version("1.0.0"), VersionType.PRE_ALPHA, "7")</b> would return:<br>
<b style="font-family: consolas">r1.0.0/pa7</b></div>
</td>
</tr>
<tr id="i9" class="rowColor">
@ -286,8 +286,8 @@ implements java.io.Serializable, java.lang.Comparable&lt;<a href="../../../../..
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../net/ME1312/SubServers/Bungee/Library/Version/Version.html#toString--">toString</a></span>()</code>
<div class="block">The default toString() method<br>
<br>
<b>new Version(new Version("1.0.0"), VersionType.PRE_ALPHA, "7")</b> would return:<br>
<b>1.0.0/pa7</b></div>
<b style="font-family: consolas">new Version(new Version("1.0.0"), VersionType.PRE_ALPHA, "7")</b> would return:<br>
<b style="font-family: consolas">1.0.0/pa7</b></div>
</td>
</tr>
</table>
@ -350,7 +350,7 @@ implements java.io.Serializable, java.lang.Comparable&lt;<a href="../../../../..
<h4>Version</h4>
<pre>public&nbsp;Version(<a href="../../../../../../net/ME1312/SubServers/Bungee/Library/Version/Version.html" title="class in net.ME1312.SubServers.Bungee.Library.Version">Version</a>&nbsp;parent,
java.lang.String&nbsp;string)</pre>
<div class="block">Creates a Version (Prepending the parent)</div>
<div class="block">Creates a Version (Appending the parent)</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>parent</code> - Parent Version</dd>
@ -367,7 +367,7 @@ implements java.io.Serializable, java.lang.Comparable&lt;<a href="../../../../..
<pre>public&nbsp;Version(<a href="../../../../../../net/ME1312/SubServers/Bungee/Library/Version/Version.html" title="class in net.ME1312.SubServers.Bungee.Library.Version">Version</a>&nbsp;parent,
<a href="../../../../../../net/ME1312/SubServers/Bungee/Library/Version/Version.VersionType.html" title="enum in net.ME1312.SubServers.Bungee.Library.Version">Version.VersionType</a>&nbsp;type,
java.lang.String&nbsp;string)</pre>
<div class="block">Creates a Version (Prepending the parent)</div>
<div class="block">Creates a Version (Appending the parent)</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>parent</code> - Parent Version</dd>
@ -414,7 +414,7 @@ implements java.io.Serializable, java.lang.Comparable&lt;<a href="../../../../..
<h4>Version</h4>
<pre>public&nbsp;Version(<a href="../../../../../../net/ME1312/SubServers/Bungee/Library/Version/Version.html" title="class in net.ME1312.SubServers.Bungee.Library.Version">Version</a>&nbsp;parent,
int...&nbsp;ints)</pre>
<div class="block">Creates a Version (Prepending the parent)</div>
<div class="block">Creates a Version (Appending the parent)</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>parent</code> - Parent Version</dd>
@ -431,7 +431,7 @@ implements java.io.Serializable, java.lang.Comparable&lt;<a href="../../../../..
<pre>public&nbsp;Version(<a href="../../../../../../net/ME1312/SubServers/Bungee/Library/Version/Version.html" title="class in net.ME1312.SubServers.Bungee.Library.Version">Version</a>&nbsp;parent,
<a href="../../../../../../net/ME1312/SubServers/Bungee/Library/Version/Version.VersionType.html" title="enum in net.ME1312.SubServers.Bungee.Library.Version">Version.VersionType</a>&nbsp;type,
int...&nbsp;ints)</pre>
<div class="block">Creates a Version (Prepending the parent)</div>
<div class="block">Creates a Version (Appending the parent)</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>parent</code> - Parent Version</dd>
@ -460,7 +460,8 @@ implements java.io.Serializable, java.lang.Comparable&lt;<a href="../../../../..
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>string</code> - String to parse</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../../net/ME1312/SubServers/Bungee/Library/Version/Version.html#toFullString--"><code>for a valid string value</code></a></dd>
<dd><a href="../../../../../../net/ME1312/SubServers/Bungee/Library/Version/Version.html#toFullString--"><code><b>#toFullString()</b> returns a valid string</code></a>,
<a href="../../../../../../net/ME1312/SubServers/Bungee/Library/Version/Version.html#toFullString--"><code><b>#toString()</b> returns a valid string</code></a></dd>
</dl>
</li>
</ul>
@ -473,8 +474,8 @@ implements java.io.Serializable, java.lang.Comparable&lt;<a href="../../../../..
<pre>public&nbsp;java.lang.String&nbsp;toString()</pre>
<div class="block">The default toString() method<br>
<br>
<b>new Version(new Version("1.0.0"), VersionType.PRE_ALPHA, "7")</b> would return:<br>
<b>1.0.0/pa7</b></div>
<b style="font-family: consolas">new Version(new Version("1.0.0"), VersionType.PRE_ALPHA, "7")</b> would return:<br>
<b style="font-family: consolas">1.0.0/pa7</b></div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>toString</code>&nbsp;in class&nbsp;<code>java.lang.Object</code></dd>
@ -492,8 +493,8 @@ implements java.io.Serializable, java.lang.Comparable&lt;<a href="../../../../..
<pre>public&nbsp;java.lang.String&nbsp;toFullString()</pre>
<div class="block">The full toString() method<br>
<br>
<b>new Version(new Version("1.0.0"), VersionType.PRE_ALPHA, "7")</b> would return:<br>
<b>r1.0.0/pa7</b></div>
<b style="font-family: consolas">new Version(new Version("1.0.0"), VersionType.PRE_ALPHA, "7")</b> would return:<br>
<b style="font-family: consolas">r1.0.0/pa7</b></div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Version as a String</dd>
@ -509,8 +510,8 @@ implements java.io.Serializable, java.lang.Comparable&lt;<a href="../../../../..
<pre>public&nbsp;java.lang.String&nbsp;toExtendedString()</pre>
<div class="block">The extended toString() method<br>
<br>
<b>new Version(new Version("1.0.0"), VersionType.PRE_ALPHA, "7")</b> would return:<br>
<b>1.0.0 pre-alpha 7</b></div>
<b style="font-family: consolas">new Version(new Version("1.0.0"), VersionType.PRE_ALPHA, "7")</b> would return:<br>
<b style="font-family: consolas">1.0.0 pre-alpha 7</b></div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Version as a String</dd>
@ -526,8 +527,8 @@ implements java.io.Serializable, java.lang.Comparable&lt;<a href="../../../../..
<pre>public&nbsp;java.lang.String&nbsp;toFullExtendedString()</pre>
<div class="block">The full extended toString() method<br>
<br>
<b>new Version(new Version("1.0.0"), VersionType.PRE_ALPHA, "7")</b> would return:<br>
<b>release 1.0.0 pre-alpha 7</b></div>
<b style="font-family: consolas">new Version(new Version("1.0.0"), VersionType.PRE_ALPHA, "7")</b> would return:<br>
<b style="font-family: consolas">release 1.0.0 pre-alpha 7</b></div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Version as a String</dd>
@ -557,7 +558,7 @@ implements java.io.Serializable, java.lang.Comparable&lt;<a href="../../../../..
<div class="block">See if Versions are Equal</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>version</code> - Version to Compare</dd>
<dd><code>version</code> - Version to Compare to</dd>
<dt><span class="returnLabel">Returns:</span></dt>
</dl>
</li>
@ -574,7 +575,7 @@ implements java.io.Serializable, java.lang.Comparable&lt;<a href="../../../../..
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>compareTo</code>&nbsp;in interface&nbsp;<code>java.lang.Comparable&lt;<a href="../../../../../../net/ME1312/SubServers/Bungee/Library/Version/Version.html" title="class in net.ME1312.SubServers.Bungee.Library.Version">Version</a>&gt;</code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>version</code> - The version to compare to</dd>
<dd><code>version</code> - Version to Compare to</dd>
</dl>
</li>
</ul>

Binary file not shown.

View File

@ -1815,22 +1815,22 @@
<dd>
<div class="block">The extended toString() method<br>
<br>
<b>new Version(new Version("1.0.0"), VersionType.PRE_ALPHA, "7")</b> would return:<br>
<b>1.0.0 pre-alpha 7</b></div>
<b style="font-family: consolas">new Version(new Version("1.0.0"), VersionType.PRE_ALPHA, "7")</b> would return:<br>
<b style="font-family: consolas">1.0.0 pre-alpha 7</b></div>
</dd>
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Client/Bukkit/Library/Version/Version.html#toFullExtendedString--">toFullExtendedString()</a></span> - Method in class net.ME1312.SubServers.Client.Bukkit.Library.Version.<a href="net/ME1312/SubServers/Client/Bukkit/Library/Version/Version.html" title="class in net.ME1312.SubServers.Client.Bukkit.Library.Version">Version</a></dt>
<dd>
<div class="block">The full extended toString() method<br>
<br>
<b>new Version(new Version("1.0.0"), VersionType.PRE_ALPHA, "7")</b> would return:<br>
<b>release 1.0.0 pre-alpha 7</b></div>
<b style="font-family: consolas">new Version(new Version("1.0.0"), VersionType.PRE_ALPHA, "7")</b> would return:<br>
<b style="font-family: consolas">release 1.0.0 pre-alpha 7</b></div>
</dd>
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Client/Bukkit/Library/Version/Version.html#toFullString--">toFullString()</a></span> - Method in class net.ME1312.SubServers.Client.Bukkit.Library.Version.<a href="net/ME1312/SubServers/Client/Bukkit/Library/Version/Version.html" title="class in net.ME1312.SubServers.Client.Bukkit.Library.Version">Version</a></dt>
<dd>
<div class="block">The full toString() method<br>
<br>
<b>new Version(new Version("1.0.0"), VersionType.PRE_ALPHA, "7")</b> would return:<br>
<b>r1.0.0/pa7</b></div>
<b style="font-family: consolas">new Version(new Version("1.0.0"), VersionType.PRE_ALPHA, "7")</b> would return:<br>
<b style="font-family: consolas">r1.0.0/pa7</b></div>
</dd>
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Client/Bukkit/Library/Config/YAMLConfig.html#toJSON--">toJSON()</a></span> - Method in class net.ME1312.SubServers.Client.Bukkit.Library.Config.<a href="net/ME1312/SubServers/Client/Bukkit/Library/Config/YAMLConfig.html" title="class in net.ME1312.SubServers.Client.Bukkit.Library.Config">YAMLConfig</a></dt>
<dd>
@ -1850,8 +1850,8 @@
<dd>
<div class="block">The default toString() method<br>
<br>
<b>new Version(new Version("1.0.0"), VersionType.PRE_ALPHA, "7")</b> would return:<br>
<b>1.0.0/pa7</b></div>
<b style="font-family: consolas">new Version(new Version("1.0.0"), VersionType.PRE_ALPHA, "7")</b> would return:<br>
<b style="font-family: consolas">1.0.0/pa7</b></div>
</dd>
</dl>
<a name="I:U">
@ -1956,11 +1956,11 @@ the order they are declared.</div>
</dd>
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Client/Bukkit/Library/Version/Version.html#Version-net.ME1312.SubServers.Client.Bukkit.Library.Version.Version-java.lang.String-">Version(Version, String)</a></span> - Constructor for class net.ME1312.SubServers.Client.Bukkit.Library.Version.<a href="net/ME1312/SubServers/Client/Bukkit/Library/Version/Version.html" title="class in net.ME1312.SubServers.Client.Bukkit.Library.Version">Version</a></dt>
<dd>
<div class="block">Creates a Version (Prepending the parent)</div>
<div class="block">Creates a Version (Appending the parent)</div>
</dd>
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Client/Bukkit/Library/Version/Version.html#Version-net.ME1312.SubServers.Client.Bukkit.Library.Version.Version-net.ME1312.SubServers.Client.Bukkit.Library.Version.Version.VersionType-java.lang.String-">Version(Version, Version.VersionType, String)</a></span> - Constructor for class net.ME1312.SubServers.Client.Bukkit.Library.Version.<a href="net/ME1312/SubServers/Client/Bukkit/Library/Version/Version.html" title="class in net.ME1312.SubServers.Client.Bukkit.Library.Version">Version</a></dt>
<dd>
<div class="block">Creates a Version (Prepending the parent)</div>
<div class="block">Creates a Version (Appending the parent)</div>
</dd>
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Client/Bukkit/Library/Version/Version.html#Version-int...-">Version(int...)</a></span> - Constructor for class net.ME1312.SubServers.Client.Bukkit.Library.Version.<a href="net/ME1312/SubServers/Client/Bukkit/Library/Version/Version.html" title="class in net.ME1312.SubServers.Client.Bukkit.Library.Version">Version</a></dt>
<dd>
@ -1972,11 +1972,11 @@ the order they are declared.</div>
</dd>
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Client/Bukkit/Library/Version/Version.html#Version-net.ME1312.SubServers.Client.Bukkit.Library.Version.Version-int...-">Version(Version, int...)</a></span> - Constructor for class net.ME1312.SubServers.Client.Bukkit.Library.Version.<a href="net/ME1312/SubServers/Client/Bukkit/Library/Version/Version.html" title="class in net.ME1312.SubServers.Client.Bukkit.Library.Version">Version</a></dt>
<dd>
<div class="block">Creates a Version (Prepending the parent)</div>
<div class="block">Creates a Version (Appending the parent)</div>
</dd>
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Client/Bukkit/Library/Version/Version.html#Version-net.ME1312.SubServers.Client.Bukkit.Library.Version.Version-net.ME1312.SubServers.Client.Bukkit.Library.Version.Version.VersionType-int...-">Version(Version, Version.VersionType, int...)</a></span> - Constructor for class net.ME1312.SubServers.Client.Bukkit.Library.Version.<a href="net/ME1312/SubServers/Client/Bukkit/Library/Version/Version.html" title="class in net.ME1312.SubServers.Client.Bukkit.Library.Version">Version</a></dt>
<dd>
<div class="block">Creates a Version (Prepending the parent)</div>
<div class="block">Creates a Version (Appending the parent)</div>
</dd>
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Client/Bukkit/SubPlugin.html#version">version</a></span> - Variable in class net.ME1312.SubServers.Client.Bukkit.<a href="net/ME1312/SubServers/Client/Bukkit/SubPlugin.html" title="class in net.ME1312.SubServers.Client.Bukkit">SubPlugin</a></dt>
<dd>&nbsp;</dd>

View File

@ -146,20 +146,32 @@ extends java.lang.Enum&lt;<a href="../../../../../../../net/ME1312/SubServers/Cl
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/Version/Version.VersionType.html#BETA">BETA</a></span></code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/Version/Version.VersionType.html#PATCH">PATCH</a></span></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/Version/Version.VersionType.html#PRE_ALPHA">PRE_ALPHA</a></span></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/Version/Version.VersionType.html#PRE_BETA">PRE_BETA</a></span></code>&nbsp;</td>
</tr>
<tr class="altColor">
<tr class="rowColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/Version/Version.VersionType.html#PRE_RELEASE">PRE_RELEASE</a></span></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/Version/Version.VersionType.html#PREVIEW">PREVIEW</a></span></code>&nbsp;</td>
</tr>
<tr class="altColor">
<tr class="rowColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/Version/Version.VersionType.html#RELEASE">RELEASE</a></span></code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/Version/Version.VersionType.html#REVISION">REVISION</a></span></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/Version/Version.VersionType.html#UPDATE">UPDATE</a></span></code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/Version/Version.VersionType.html#VERSION">VERSION</a></span></code>&nbsp;</td>
</tr>
</table>
</li>
</ul>
@ -274,12 +286,48 @@ the order they are declared.</div>
<a name="RELEASE">
<!-- -->
</a>
<ul class="blockListLast">
<ul class="blockList">
<li class="blockList">
<h4>RELEASE</h4>
<pre>public static final&nbsp;<a href="../../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/Version/Version.VersionType.html" title="enum in net.ME1312.SubServers.Client.Bukkit.Library.Version">Version.VersionType</a> RELEASE</pre>
</li>
</ul>
<a name="REVISION">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>REVISION</h4>
<pre>public static final&nbsp;<a href="../../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/Version/Version.VersionType.html" title="enum in net.ME1312.SubServers.Client.Bukkit.Library.Version">Version.VersionType</a> REVISION</pre>
</li>
</ul>
<a name="VERSION">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>VERSION</h4>
<pre>public static final&nbsp;<a href="../../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/Version/Version.VersionType.html" title="enum in net.ME1312.SubServers.Client.Bukkit.Library.Version">Version.VersionType</a> VERSION</pre>
</li>
</ul>
<a name="UPDATE">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>UPDATE</h4>
<pre>public static final&nbsp;<a href="../../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/Version/Version.VersionType.html" title="enum in net.ME1312.SubServers.Client.Bukkit.Library.Version">Version.VersionType</a> UPDATE</pre>
</li>
</ul>
<a name="PATCH">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>PATCH</h4>
<pre>public static final&nbsp;<a href="../../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/Version/Version.VersionType.html" title="enum in net.ME1312.SubServers.Client.Bukkit.Library.Version">Version.VersionType</a> PATCH</pre>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->

View File

@ -180,27 +180,27 @@ implements java.io.Serializable, java.lang.Comparable&lt;<a href="../../../../..
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/Version/Version.html#Version-net.ME1312.SubServers.Client.Bukkit.Library.Version.Version-int...-">Version</a></span>(<a href="../../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/Version/Version.html" title="class in net.ME1312.SubServers.Client.Bukkit.Library.Version">Version</a>&nbsp;parent,
int...&nbsp;ints)</code>
<div class="block">Creates a Version (Prepending the parent)</div>
<div class="block">Creates a Version (Appending the parent)</div>
</td>
</tr>
<tr class="rowColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/Version/Version.html#Version-net.ME1312.SubServers.Client.Bukkit.Library.Version.Version-java.lang.String-">Version</a></span>(<a href="../../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/Version/Version.html" title="class in net.ME1312.SubServers.Client.Bukkit.Library.Version">Version</a>&nbsp;parent,
java.lang.String&nbsp;string)</code>
<div class="block">Creates a Version (Prepending the parent)</div>
<div class="block">Creates a Version (Appending the parent)</div>
</td>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/Version/Version.html#Version-net.ME1312.SubServers.Client.Bukkit.Library.Version.Version-net.ME1312.SubServers.Client.Bukkit.Library.Version.Version.VersionType-int...-">Version</a></span>(<a href="../../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/Version/Version.html" title="class in net.ME1312.SubServers.Client.Bukkit.Library.Version">Version</a>&nbsp;parent,
<a href="../../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/Version/Version.VersionType.html" title="enum in net.ME1312.SubServers.Client.Bukkit.Library.Version">Version.VersionType</a>&nbsp;type,
int...&nbsp;ints)</code>
<div class="block">Creates a Version (Prepending the parent)</div>
<div class="block">Creates a Version (Appending the parent)</div>
</td>
</tr>
<tr class="rowColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/Version/Version.html#Version-net.ME1312.SubServers.Client.Bukkit.Library.Version.Version-net.ME1312.SubServers.Client.Bukkit.Library.Version.Version.VersionType-java.lang.String-">Version</a></span>(<a href="../../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/Version/Version.html" title="class in net.ME1312.SubServers.Client.Bukkit.Library.Version">Version</a>&nbsp;parent,
<a href="../../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/Version/Version.VersionType.html" title="enum in net.ME1312.SubServers.Client.Bukkit.Library.Version">Version.VersionType</a>&nbsp;type,
java.lang.String&nbsp;string)</code>
<div class="block">Creates a Version (Prepending the parent)</div>
<div class="block">Creates a Version (Appending the parent)</div>
</td>
</tr>
</table>
@ -259,8 +259,8 @@ implements java.io.Serializable, java.lang.Comparable&lt;<a href="../../../../..
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/Version/Version.html#toExtendedString--">toExtendedString</a></span>()</code>
<div class="block">The extended toString() method<br>
<br>
<b>new Version(new Version("1.0.0"), VersionType.PRE_ALPHA, "7")</b> would return:<br>
<b>1.0.0 pre-alpha 7</b></div>
<b style="font-family: consolas">new Version(new Version("1.0.0"), VersionType.PRE_ALPHA, "7")</b> would return:<br>
<b style="font-family: consolas">1.0.0 pre-alpha 7</b></div>
</td>
</tr>
<tr id="i7" class="rowColor">
@ -268,8 +268,8 @@ implements java.io.Serializable, java.lang.Comparable&lt;<a href="../../../../..
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/Version/Version.html#toFullExtendedString--">toFullExtendedString</a></span>()</code>
<div class="block">The full extended toString() method<br>
<br>
<b>new Version(new Version("1.0.0"), VersionType.PRE_ALPHA, "7")</b> would return:<br>
<b>release 1.0.0 pre-alpha 7</b></div>
<b style="font-family: consolas">new Version(new Version("1.0.0"), VersionType.PRE_ALPHA, "7")</b> would return:<br>
<b style="font-family: consolas">release 1.0.0 pre-alpha 7</b></div>
</td>
</tr>
<tr id="i8" class="altColor">
@ -277,8 +277,8 @@ implements java.io.Serializable, java.lang.Comparable&lt;<a href="../../../../..
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/Version/Version.html#toFullString--">toFullString</a></span>()</code>
<div class="block">The full toString() method<br>
<br>
<b>new Version(new Version("1.0.0"), VersionType.PRE_ALPHA, "7")</b> would return:<br>
<b>r1.0.0/pa7</b></div>
<b style="font-family: consolas">new Version(new Version("1.0.0"), VersionType.PRE_ALPHA, "7")</b> would return:<br>
<b style="font-family: consolas">r1.0.0/pa7</b></div>
</td>
</tr>
<tr id="i9" class="rowColor">
@ -286,8 +286,8 @@ implements java.io.Serializable, java.lang.Comparable&lt;<a href="../../../../..
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/Version/Version.html#toString--">toString</a></span>()</code>
<div class="block">The default toString() method<br>
<br>
<b>new Version(new Version("1.0.0"), VersionType.PRE_ALPHA, "7")</b> would return:<br>
<b>1.0.0/pa7</b></div>
<b style="font-family: consolas">new Version(new Version("1.0.0"), VersionType.PRE_ALPHA, "7")</b> would return:<br>
<b style="font-family: consolas">1.0.0/pa7</b></div>
</td>
</tr>
</table>
@ -350,7 +350,7 @@ implements java.io.Serializable, java.lang.Comparable&lt;<a href="../../../../..
<h4>Version</h4>
<pre>public&nbsp;Version(<a href="../../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/Version/Version.html" title="class in net.ME1312.SubServers.Client.Bukkit.Library.Version">Version</a>&nbsp;parent,
java.lang.String&nbsp;string)</pre>
<div class="block">Creates a Version (Prepending the parent)</div>
<div class="block">Creates a Version (Appending the parent)</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>parent</code> - Parent Version</dd>
@ -367,7 +367,7 @@ implements java.io.Serializable, java.lang.Comparable&lt;<a href="../../../../..
<pre>public&nbsp;Version(<a href="../../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/Version/Version.html" title="class in net.ME1312.SubServers.Client.Bukkit.Library.Version">Version</a>&nbsp;parent,
<a href="../../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/Version/Version.VersionType.html" title="enum in net.ME1312.SubServers.Client.Bukkit.Library.Version">Version.VersionType</a>&nbsp;type,
java.lang.String&nbsp;string)</pre>
<div class="block">Creates a Version (Prepending the parent)</div>
<div class="block">Creates a Version (Appending the parent)</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>parent</code> - Parent Version</dd>
@ -414,7 +414,7 @@ implements java.io.Serializable, java.lang.Comparable&lt;<a href="../../../../..
<h4>Version</h4>
<pre>public&nbsp;Version(<a href="../../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/Version/Version.html" title="class in net.ME1312.SubServers.Client.Bukkit.Library.Version">Version</a>&nbsp;parent,
int...&nbsp;ints)</pre>
<div class="block">Creates a Version (Prepending the parent)</div>
<div class="block">Creates a Version (Appending the parent)</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>parent</code> - Parent Version</dd>
@ -431,7 +431,7 @@ implements java.io.Serializable, java.lang.Comparable&lt;<a href="../../../../..
<pre>public&nbsp;Version(<a href="../../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/Version/Version.html" title="class in net.ME1312.SubServers.Client.Bukkit.Library.Version">Version</a>&nbsp;parent,
<a href="../../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/Version/Version.VersionType.html" title="enum in net.ME1312.SubServers.Client.Bukkit.Library.Version">Version.VersionType</a>&nbsp;type,
int...&nbsp;ints)</pre>
<div class="block">Creates a Version (Prepending the parent)</div>
<div class="block">Creates a Version (Appending the parent)</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>parent</code> - Parent Version</dd>
@ -460,7 +460,8 @@ implements java.io.Serializable, java.lang.Comparable&lt;<a href="../../../../..
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>string</code> - String to parse</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/Version/Version.html#toFullString--"><code>for a valid string value</code></a></dd>
<dd><a href="../../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/Version/Version.html#toFullString--"><code><b>#toFullString()</b> returns a valid string</code></a>,
<a href="../../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/Version/Version.html#toFullString--"><code><b>#toString()</b> returns a valid string</code></a></dd>
</dl>
</li>
</ul>
@ -473,8 +474,8 @@ implements java.io.Serializable, java.lang.Comparable&lt;<a href="../../../../..
<pre>public&nbsp;java.lang.String&nbsp;toString()</pre>
<div class="block">The default toString() method<br>
<br>
<b>new Version(new Version("1.0.0"), VersionType.PRE_ALPHA, "7")</b> would return:<br>
<b>1.0.0/pa7</b></div>
<b style="font-family: consolas">new Version(new Version("1.0.0"), VersionType.PRE_ALPHA, "7")</b> would return:<br>
<b style="font-family: consolas">1.0.0/pa7</b></div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>toString</code>&nbsp;in class&nbsp;<code>java.lang.Object</code></dd>
@ -492,8 +493,8 @@ implements java.io.Serializable, java.lang.Comparable&lt;<a href="../../../../..
<pre>public&nbsp;java.lang.String&nbsp;toFullString()</pre>
<div class="block">The full toString() method<br>
<br>
<b>new Version(new Version("1.0.0"), VersionType.PRE_ALPHA, "7")</b> would return:<br>
<b>r1.0.0/pa7</b></div>
<b style="font-family: consolas">new Version(new Version("1.0.0"), VersionType.PRE_ALPHA, "7")</b> would return:<br>
<b style="font-family: consolas">r1.0.0/pa7</b></div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Version as a String</dd>
@ -509,8 +510,8 @@ implements java.io.Serializable, java.lang.Comparable&lt;<a href="../../../../..
<pre>public&nbsp;java.lang.String&nbsp;toExtendedString()</pre>
<div class="block">The extended toString() method<br>
<br>
<b>new Version(new Version("1.0.0"), VersionType.PRE_ALPHA, "7")</b> would return:<br>
<b>1.0.0 pre-alpha 7</b></div>
<b style="font-family: consolas">new Version(new Version("1.0.0"), VersionType.PRE_ALPHA, "7")</b> would return:<br>
<b style="font-family: consolas">1.0.0 pre-alpha 7</b></div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Version as a String</dd>
@ -526,8 +527,8 @@ implements java.io.Serializable, java.lang.Comparable&lt;<a href="../../../../..
<pre>public&nbsp;java.lang.String&nbsp;toFullExtendedString()</pre>
<div class="block">The full extended toString() method<br>
<br>
<b>new Version(new Version("1.0.0"), VersionType.PRE_ALPHA, "7")</b> would return:<br>
<b>release 1.0.0 pre-alpha 7</b></div>
<b style="font-family: consolas">new Version(new Version("1.0.0"), VersionType.PRE_ALPHA, "7")</b> would return:<br>
<b style="font-family: consolas">release 1.0.0 pre-alpha 7</b></div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Version as a String</dd>
@ -557,7 +558,7 @@ implements java.io.Serializable, java.lang.Comparable&lt;<a href="../../../../..
<div class="block">See if Versions are Equal</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>version</code> - Version to Compare</dd>
<dd><code>version</code> - Version to Compare to</dd>
<dt><span class="returnLabel">Returns:</span></dt>
</dl>
</li>
@ -574,7 +575,7 @@ implements java.io.Serializable, java.lang.Comparable&lt;<a href="../../../../..
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>compareTo</code>&nbsp;in interface&nbsp;<code>java.lang.Comparable&lt;<a href="../../../../../../../net/ME1312/SubServers/Client/Bukkit/Library/Version/Version.html" title="class in net.ME1312.SubServers.Client.Bukkit.Library.Version">Version</a>&gt;</code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>version</code> - The version to compare to</dd>
<dd><code>version</code> - Version to Compare to</dd>
</dl>
</li>
</ul>

Binary file not shown.

View File

@ -2294,8 +2294,8 @@
<dd>
<div class="block">The extended toString() method<br>
<br>
<b>new Version(new Version("1.0.0"), VersionType.PRE_ALPHA, "7")</b> would return:<br>
<b>1.0.0 pre-alpha 7</b></div>
<b style="font-family: consolas">new Version(new Version("1.0.0"), VersionType.PRE_ALPHA, "7")</b> would return:<br>
<b style="font-family: consolas">1.0.0 pre-alpha 7</b></div>
</dd>
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Host/Executable/Executable.html#toFile--">toFile()</a></span> - Method in class net.ME1312.SubServers.Host.Executable.<a href="net/ME1312/SubServers/Host/Executable/Executable.html" title="class in net.ME1312.SubServers.Host.Executable">Executable</a></dt>
<dd>
@ -2305,15 +2305,15 @@
<dd>
<div class="block">The full extended toString() method<br>
<br>
<b>new Version(new Version("1.0.0"), VersionType.PRE_ALPHA, "7")</b> would return:<br>
<b>release 1.0.0 pre-alpha 7</b></div>
<b style="font-family: consolas">new Version(new Version("1.0.0"), VersionType.PRE_ALPHA, "7")</b> would return:<br>
<b style="font-family: consolas">release 1.0.0 pre-alpha 7</b></div>
</dd>
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Host/Library/Version/Version.html#toFullString--">toFullString()</a></span> - Method in class net.ME1312.SubServers.Host.Library.Version.<a href="net/ME1312/SubServers/Host/Library/Version/Version.html" title="class in net.ME1312.SubServers.Host.Library.Version">Version</a></dt>
<dd>
<div class="block">The full toString() method<br>
<br>
<b>new Version(new Version("1.0.0"), VersionType.PRE_ALPHA, "7")</b> would return:<br>
<b>r1.0.0/pa7</b></div>
<b style="font-family: consolas">new Version(new Version("1.0.0"), VersionType.PRE_ALPHA, "7")</b> would return:<br>
<b style="font-family: consolas">r1.0.0/pa7</b></div>
</dd>
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Host/Library/Config/YAMLConfig.html#toJSON--">toJSON()</a></span> - Method in class net.ME1312.SubServers.Host.Library.Config.<a href="net/ME1312/SubServers/Host/Library/Config/YAMLConfig.html" title="class in net.ME1312.SubServers.Host.Library.Config">YAMLConfig</a></dt>
<dd>
@ -2341,8 +2341,8 @@
<dd>
<div class="block">The default toString() method<br>
<br>
<b>new Version(new Version("1.0.0"), VersionType.PRE_ALPHA, "7")</b> would return:<br>
<b>1.0.0/pa7</b></div>
<b style="font-family: consolas">new Version(new Version("1.0.0"), VersionType.PRE_ALPHA, "7")</b> would return:<br>
<b style="font-family: consolas">1.0.0/pa7</b></div>
</dd>
</dl>
<a name="I:U">
@ -2462,11 +2462,11 @@ the order they are declared.</div>
</dd>
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Host/Library/Version/Version.html#Version-net.ME1312.SubServers.Host.Library.Version.Version-java.lang.String-">Version(Version, String)</a></span> - Constructor for class net.ME1312.SubServers.Host.Library.Version.<a href="net/ME1312/SubServers/Host/Library/Version/Version.html" title="class in net.ME1312.SubServers.Host.Library.Version">Version</a></dt>
<dd>
<div class="block">Creates a Version (Prepending the parent)</div>
<div class="block">Creates a Version (Appending the parent)</div>
</dd>
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Host/Library/Version/Version.html#Version-net.ME1312.SubServers.Host.Library.Version.Version-net.ME1312.SubServers.Host.Library.Version.Version.VersionType-java.lang.String-">Version(Version, Version.VersionType, String)</a></span> - Constructor for class net.ME1312.SubServers.Host.Library.Version.<a href="net/ME1312/SubServers/Host/Library/Version/Version.html" title="class in net.ME1312.SubServers.Host.Library.Version">Version</a></dt>
<dd>
<div class="block">Creates a Version (Prepending the parent)</div>
<div class="block">Creates a Version (Appending the parent)</div>
</dd>
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Host/Library/Version/Version.html#Version-int...-">Version(int...)</a></span> - Constructor for class net.ME1312.SubServers.Host.Library.Version.<a href="net/ME1312/SubServers/Host/Library/Version/Version.html" title="class in net.ME1312.SubServers.Host.Library.Version">Version</a></dt>
<dd>
@ -2478,11 +2478,11 @@ the order they are declared.</div>
</dd>
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Host/Library/Version/Version.html#Version-net.ME1312.SubServers.Host.Library.Version.Version-int...-">Version(Version, int...)</a></span> - Constructor for class net.ME1312.SubServers.Host.Library.Version.<a href="net/ME1312/SubServers/Host/Library/Version/Version.html" title="class in net.ME1312.SubServers.Host.Library.Version">Version</a></dt>
<dd>
<div class="block">Creates a Version (Prepending the parent)</div>
<div class="block">Creates a Version (Appending the parent)</div>
</dd>
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Host/Library/Version/Version.html#Version-net.ME1312.SubServers.Host.Library.Version.Version-net.ME1312.SubServers.Host.Library.Version.Version.VersionType-int...-">Version(Version, Version.VersionType, int...)</a></span> - Constructor for class net.ME1312.SubServers.Host.Library.Version.<a href="net/ME1312/SubServers/Host/Library/Version/Version.html" title="class in net.ME1312.SubServers.Host.Library.Version">Version</a></dt>
<dd>
<div class="block">Creates a Version (Prepending the parent)</div>
<div class="block">Creates a Version (Appending the parent)</div>
</dd>
<dt><a href="net/ME1312/SubServers/Host/Library/Version/Version.VersionType.html" title="enum in net.ME1312.SubServers.Host.Library.Version"><span class="typeNameLink">Version.VersionType</span></a> - Enum in <a href="net/ME1312/SubServers/Host/Library/Version/package-summary.html">net.ME1312.SubServers.Host.Library.Version</a></dt>
<dd>&nbsp;</dd>

View File

@ -146,20 +146,32 @@ extends java.lang.Enum&lt;<a href="../../../../../../net/ME1312/SubServers/Host/
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../net/ME1312/SubServers/Host/Library/Version/Version.VersionType.html#BETA">BETA</a></span></code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../net/ME1312/SubServers/Host/Library/Version/Version.VersionType.html#PATCH">PATCH</a></span></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../net/ME1312/SubServers/Host/Library/Version/Version.VersionType.html#PRE_ALPHA">PRE_ALPHA</a></span></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../net/ME1312/SubServers/Host/Library/Version/Version.VersionType.html#PRE_BETA">PRE_BETA</a></span></code>&nbsp;</td>
</tr>
<tr class="altColor">
<tr class="rowColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../net/ME1312/SubServers/Host/Library/Version/Version.VersionType.html#PRE_RELEASE">PRE_RELEASE</a></span></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../net/ME1312/SubServers/Host/Library/Version/Version.VersionType.html#PREVIEW">PREVIEW</a></span></code>&nbsp;</td>
</tr>
<tr class="altColor">
<tr class="rowColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../net/ME1312/SubServers/Host/Library/Version/Version.VersionType.html#RELEASE">RELEASE</a></span></code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../net/ME1312/SubServers/Host/Library/Version/Version.VersionType.html#REVISION">REVISION</a></span></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../net/ME1312/SubServers/Host/Library/Version/Version.VersionType.html#UPDATE">UPDATE</a></span></code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../net/ME1312/SubServers/Host/Library/Version/Version.VersionType.html#VERSION">VERSION</a></span></code>&nbsp;</td>
</tr>
</table>
</li>
</ul>
@ -274,12 +286,48 @@ the order they are declared.</div>
<a name="RELEASE">
<!-- -->
</a>
<ul class="blockListLast">
<ul class="blockList">
<li class="blockList">
<h4>RELEASE</h4>
<pre>public static final&nbsp;<a href="../../../../../../net/ME1312/SubServers/Host/Library/Version/Version.VersionType.html" title="enum in net.ME1312.SubServers.Host.Library.Version">Version.VersionType</a> RELEASE</pre>
</li>
</ul>
<a name="REVISION">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>REVISION</h4>
<pre>public static final&nbsp;<a href="../../../../../../net/ME1312/SubServers/Host/Library/Version/Version.VersionType.html" title="enum in net.ME1312.SubServers.Host.Library.Version">Version.VersionType</a> REVISION</pre>
</li>
</ul>
<a name="VERSION">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>VERSION</h4>
<pre>public static final&nbsp;<a href="../../../../../../net/ME1312/SubServers/Host/Library/Version/Version.VersionType.html" title="enum in net.ME1312.SubServers.Host.Library.Version">Version.VersionType</a> VERSION</pre>
</li>
</ul>
<a name="UPDATE">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>UPDATE</h4>
<pre>public static final&nbsp;<a href="../../../../../../net/ME1312/SubServers/Host/Library/Version/Version.VersionType.html" title="enum in net.ME1312.SubServers.Host.Library.Version">Version.VersionType</a> UPDATE</pre>
</li>
</ul>
<a name="PATCH">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>PATCH</h4>
<pre>public static final&nbsp;<a href="../../../../../../net/ME1312/SubServers/Host/Library/Version/Version.VersionType.html" title="enum in net.ME1312.SubServers.Host.Library.Version">Version.VersionType</a> PATCH</pre>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->

View File

@ -180,27 +180,27 @@ implements java.io.Serializable, java.lang.Comparable&lt;<a href="../../../../..
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../net/ME1312/SubServers/Host/Library/Version/Version.html#Version-net.ME1312.SubServers.Host.Library.Version.Version-int...-">Version</a></span>(<a href="../../../../../../net/ME1312/SubServers/Host/Library/Version/Version.html" title="class in net.ME1312.SubServers.Host.Library.Version">Version</a>&nbsp;parent,
int...&nbsp;ints)</code>
<div class="block">Creates a Version (Prepending the parent)</div>
<div class="block">Creates a Version (Appending the parent)</div>
</td>
</tr>
<tr class="rowColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../net/ME1312/SubServers/Host/Library/Version/Version.html#Version-net.ME1312.SubServers.Host.Library.Version.Version-java.lang.String-">Version</a></span>(<a href="../../../../../../net/ME1312/SubServers/Host/Library/Version/Version.html" title="class in net.ME1312.SubServers.Host.Library.Version">Version</a>&nbsp;parent,
java.lang.String&nbsp;string)</code>
<div class="block">Creates a Version (Prepending the parent)</div>
<div class="block">Creates a Version (Appending the parent)</div>
</td>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../net/ME1312/SubServers/Host/Library/Version/Version.html#Version-net.ME1312.SubServers.Host.Library.Version.Version-net.ME1312.SubServers.Host.Library.Version.Version.VersionType-int...-">Version</a></span>(<a href="../../../../../../net/ME1312/SubServers/Host/Library/Version/Version.html" title="class in net.ME1312.SubServers.Host.Library.Version">Version</a>&nbsp;parent,
<a href="../../../../../../net/ME1312/SubServers/Host/Library/Version/Version.VersionType.html" title="enum in net.ME1312.SubServers.Host.Library.Version">Version.VersionType</a>&nbsp;type,
int...&nbsp;ints)</code>
<div class="block">Creates a Version (Prepending the parent)</div>
<div class="block">Creates a Version (Appending the parent)</div>
</td>
</tr>
<tr class="rowColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../net/ME1312/SubServers/Host/Library/Version/Version.html#Version-net.ME1312.SubServers.Host.Library.Version.Version-net.ME1312.SubServers.Host.Library.Version.Version.VersionType-java.lang.String-">Version</a></span>(<a href="../../../../../../net/ME1312/SubServers/Host/Library/Version/Version.html" title="class in net.ME1312.SubServers.Host.Library.Version">Version</a>&nbsp;parent,
<a href="../../../../../../net/ME1312/SubServers/Host/Library/Version/Version.VersionType.html" title="enum in net.ME1312.SubServers.Host.Library.Version">Version.VersionType</a>&nbsp;type,
java.lang.String&nbsp;string)</code>
<div class="block">Creates a Version (Prepending the parent)</div>
<div class="block">Creates a Version (Appending the parent)</div>
</td>
</tr>
</table>
@ -259,8 +259,8 @@ implements java.io.Serializable, java.lang.Comparable&lt;<a href="../../../../..
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../net/ME1312/SubServers/Host/Library/Version/Version.html#toExtendedString--">toExtendedString</a></span>()</code>
<div class="block">The extended toString() method<br>
<br>
<b>new Version(new Version("1.0.0"), VersionType.PRE_ALPHA, "7")</b> would return:<br>
<b>1.0.0 pre-alpha 7</b></div>
<b style="font-family: consolas">new Version(new Version("1.0.0"), VersionType.PRE_ALPHA, "7")</b> would return:<br>
<b style="font-family: consolas">1.0.0 pre-alpha 7</b></div>
</td>
</tr>
<tr id="i7" class="rowColor">
@ -268,8 +268,8 @@ implements java.io.Serializable, java.lang.Comparable&lt;<a href="../../../../..
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../net/ME1312/SubServers/Host/Library/Version/Version.html#toFullExtendedString--">toFullExtendedString</a></span>()</code>
<div class="block">The full extended toString() method<br>
<br>
<b>new Version(new Version("1.0.0"), VersionType.PRE_ALPHA, "7")</b> would return:<br>
<b>release 1.0.0 pre-alpha 7</b></div>
<b style="font-family: consolas">new Version(new Version("1.0.0"), VersionType.PRE_ALPHA, "7")</b> would return:<br>
<b style="font-family: consolas">release 1.0.0 pre-alpha 7</b></div>
</td>
</tr>
<tr id="i8" class="altColor">
@ -277,8 +277,8 @@ implements java.io.Serializable, java.lang.Comparable&lt;<a href="../../../../..
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../net/ME1312/SubServers/Host/Library/Version/Version.html#toFullString--">toFullString</a></span>()</code>
<div class="block">The full toString() method<br>
<br>
<b>new Version(new Version("1.0.0"), VersionType.PRE_ALPHA, "7")</b> would return:<br>
<b>r1.0.0/pa7</b></div>
<b style="font-family: consolas">new Version(new Version("1.0.0"), VersionType.PRE_ALPHA, "7")</b> would return:<br>
<b style="font-family: consolas">r1.0.0/pa7</b></div>
</td>
</tr>
<tr id="i9" class="rowColor">
@ -286,8 +286,8 @@ implements java.io.Serializable, java.lang.Comparable&lt;<a href="../../../../..
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../net/ME1312/SubServers/Host/Library/Version/Version.html#toString--">toString</a></span>()</code>
<div class="block">The default toString() method<br>
<br>
<b>new Version(new Version("1.0.0"), VersionType.PRE_ALPHA, "7")</b> would return:<br>
<b>1.0.0/pa7</b></div>
<b style="font-family: consolas">new Version(new Version("1.0.0"), VersionType.PRE_ALPHA, "7")</b> would return:<br>
<b style="font-family: consolas">1.0.0/pa7</b></div>
</td>
</tr>
</table>
@ -350,7 +350,7 @@ implements java.io.Serializable, java.lang.Comparable&lt;<a href="../../../../..
<h4>Version</h4>
<pre>public&nbsp;Version(<a href="../../../../../../net/ME1312/SubServers/Host/Library/Version/Version.html" title="class in net.ME1312.SubServers.Host.Library.Version">Version</a>&nbsp;parent,
java.lang.String&nbsp;string)</pre>
<div class="block">Creates a Version (Prepending the parent)</div>
<div class="block">Creates a Version (Appending the parent)</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>parent</code> - Parent Version</dd>
@ -367,7 +367,7 @@ implements java.io.Serializable, java.lang.Comparable&lt;<a href="../../../../..
<pre>public&nbsp;Version(<a href="../../../../../../net/ME1312/SubServers/Host/Library/Version/Version.html" title="class in net.ME1312.SubServers.Host.Library.Version">Version</a>&nbsp;parent,
<a href="../../../../../../net/ME1312/SubServers/Host/Library/Version/Version.VersionType.html" title="enum in net.ME1312.SubServers.Host.Library.Version">Version.VersionType</a>&nbsp;type,
java.lang.String&nbsp;string)</pre>
<div class="block">Creates a Version (Prepending the parent)</div>
<div class="block">Creates a Version (Appending the parent)</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>parent</code> - Parent Version</dd>
@ -414,7 +414,7 @@ implements java.io.Serializable, java.lang.Comparable&lt;<a href="../../../../..
<h4>Version</h4>
<pre>public&nbsp;Version(<a href="../../../../../../net/ME1312/SubServers/Host/Library/Version/Version.html" title="class in net.ME1312.SubServers.Host.Library.Version">Version</a>&nbsp;parent,
int...&nbsp;ints)</pre>
<div class="block">Creates a Version (Prepending the parent)</div>
<div class="block">Creates a Version (Appending the parent)</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>parent</code> - Parent Version</dd>
@ -431,7 +431,7 @@ implements java.io.Serializable, java.lang.Comparable&lt;<a href="../../../../..
<pre>public&nbsp;Version(<a href="../../../../../../net/ME1312/SubServers/Host/Library/Version/Version.html" title="class in net.ME1312.SubServers.Host.Library.Version">Version</a>&nbsp;parent,
<a href="../../../../../../net/ME1312/SubServers/Host/Library/Version/Version.VersionType.html" title="enum in net.ME1312.SubServers.Host.Library.Version">Version.VersionType</a>&nbsp;type,
int...&nbsp;ints)</pre>
<div class="block">Creates a Version (Prepending the parent)</div>
<div class="block">Creates a Version (Appending the parent)</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>parent</code> - Parent Version</dd>
@ -460,7 +460,8 @@ implements java.io.Serializable, java.lang.Comparable&lt;<a href="../../../../..
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>string</code> - String to parse</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../../net/ME1312/SubServers/Host/Library/Version/Version.html#toFullString--"><code>for a valid string value</code></a></dd>
<dd><a href="../../../../../../net/ME1312/SubServers/Host/Library/Version/Version.html#toFullString--"><code><b>#toFullString()</b> returns a valid string</code></a>,
<a href="../../../../../../net/ME1312/SubServers/Host/Library/Version/Version.html#toFullString--"><code><b>#toString()</b> returns a valid string</code></a></dd>
</dl>
</li>
</ul>
@ -473,8 +474,8 @@ implements java.io.Serializable, java.lang.Comparable&lt;<a href="../../../../..
<pre>public&nbsp;java.lang.String&nbsp;toString()</pre>
<div class="block">The default toString() method<br>
<br>
<b>new Version(new Version("1.0.0"), VersionType.PRE_ALPHA, "7")</b> would return:<br>
<b>1.0.0/pa7</b></div>
<b style="font-family: consolas">new Version(new Version("1.0.0"), VersionType.PRE_ALPHA, "7")</b> would return:<br>
<b style="font-family: consolas">1.0.0/pa7</b></div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>toString</code>&nbsp;in class&nbsp;<code>java.lang.Object</code></dd>
@ -492,8 +493,8 @@ implements java.io.Serializable, java.lang.Comparable&lt;<a href="../../../../..
<pre>public&nbsp;java.lang.String&nbsp;toFullString()</pre>
<div class="block">The full toString() method<br>
<br>
<b>new Version(new Version("1.0.0"), VersionType.PRE_ALPHA, "7")</b> would return:<br>
<b>r1.0.0/pa7</b></div>
<b style="font-family: consolas">new Version(new Version("1.0.0"), VersionType.PRE_ALPHA, "7")</b> would return:<br>
<b style="font-family: consolas">r1.0.0/pa7</b></div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Version as a String</dd>
@ -509,8 +510,8 @@ implements java.io.Serializable, java.lang.Comparable&lt;<a href="../../../../..
<pre>public&nbsp;java.lang.String&nbsp;toExtendedString()</pre>
<div class="block">The extended toString() method<br>
<br>
<b>new Version(new Version("1.0.0"), VersionType.PRE_ALPHA, "7")</b> would return:<br>
<b>1.0.0 pre-alpha 7</b></div>
<b style="font-family: consolas">new Version(new Version("1.0.0"), VersionType.PRE_ALPHA, "7")</b> would return:<br>
<b style="font-family: consolas">1.0.0 pre-alpha 7</b></div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Version as a String</dd>
@ -526,8 +527,8 @@ implements java.io.Serializable, java.lang.Comparable&lt;<a href="../../../../..
<pre>public&nbsp;java.lang.String&nbsp;toFullExtendedString()</pre>
<div class="block">The full extended toString() method<br>
<br>
<b>new Version(new Version("1.0.0"), VersionType.PRE_ALPHA, "7")</b> would return:<br>
<b>release 1.0.0 pre-alpha 7</b></div>
<b style="font-family: consolas">new Version(new Version("1.0.0"), VersionType.PRE_ALPHA, "7")</b> would return:<br>
<b style="font-family: consolas">release 1.0.0 pre-alpha 7</b></div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Version as a String</dd>
@ -557,7 +558,7 @@ implements java.io.Serializable, java.lang.Comparable&lt;<a href="../../../../..
<div class="block">See if Versions are Equal</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>version</code> - Version to Compare</dd>
<dd><code>version</code> - Version to Compare to</dd>
<dt><span class="returnLabel">Returns:</span></dt>
</dl>
</li>
@ -574,7 +575,7 @@ implements java.io.Serializable, java.lang.Comparable&lt;<a href="../../../../..
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>compareTo</code>&nbsp;in interface&nbsp;<code>java.lang.Comparable&lt;<a href="../../../../../../net/ME1312/SubServers/Host/Library/Version/Version.html" title="class in net.ME1312.SubServers.Host.Library.Version">Version</a>&gt;</code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>version</code> - The version to compare to</dd>
<dd><code>version</code> - Version to Compare to</dd>
</dl>
</li>
</ul>

Binary file not shown.

View File

@ -1693,22 +1693,22 @@
<dd>
<div class="block">The extended toString() method<br>
<br>
<b>new Version(new Version("1.0.0"), VersionType.PRE_ALPHA, "7")</b> would return:<br>
<b>1.0.0 pre-alpha 7</b></div>
<b style="font-family: consolas">new Version(new Version("1.0.0"), VersionType.PRE_ALPHA, "7")</b> would return:<br>
<b style="font-family: consolas">1.0.0 pre-alpha 7</b></div>
</dd>
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Sync/Library/Version/Version.html#toFullExtendedString--">toFullExtendedString()</a></span> - Method in class net.ME1312.SubServers.Sync.Library.Version.<a href="net/ME1312/SubServers/Sync/Library/Version/Version.html" title="class in net.ME1312.SubServers.Sync.Library.Version">Version</a></dt>
<dd>
<div class="block">The full extended toString() method<br>
<br>
<b>new Version(new Version("1.0.0"), VersionType.PRE_ALPHA, "7")</b> would return:<br>
<b>release 1.0.0 pre-alpha 7</b></div>
<b style="font-family: consolas">new Version(new Version("1.0.0"), VersionType.PRE_ALPHA, "7")</b> would return:<br>
<b style="font-family: consolas">release 1.0.0 pre-alpha 7</b></div>
</dd>
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Sync/Library/Version/Version.html#toFullString--">toFullString()</a></span> - Method in class net.ME1312.SubServers.Sync.Library.Version.<a href="net/ME1312/SubServers/Sync/Library/Version/Version.html" title="class in net.ME1312.SubServers.Sync.Library.Version">Version</a></dt>
<dd>
<div class="block">The full toString() method<br>
<br>
<b>new Version(new Version("1.0.0"), VersionType.PRE_ALPHA, "7")</b> would return:<br>
<b>r1.0.0/pa7</b></div>
<b style="font-family: consolas">new Version(new Version("1.0.0"), VersionType.PRE_ALPHA, "7")</b> would return:<br>
<b style="font-family: consolas">r1.0.0/pa7</b></div>
</dd>
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Sync/Library/Config/YAMLConfig.html#toJSON--">toJSON()</a></span> - Method in class net.ME1312.SubServers.Sync.Library.Config.<a href="net/ME1312/SubServers/Sync/Library/Config/YAMLConfig.html" title="class in net.ME1312.SubServers.Sync.Library.Config">YAMLConfig</a></dt>
<dd>
@ -1728,8 +1728,8 @@
<dd>
<div class="block">The default toString() method<br>
<br>
<b>new Version(new Version("1.0.0"), VersionType.PRE_ALPHA, "7")</b> would return:<br>
<b>1.0.0/pa7</b></div>
<b style="font-family: consolas">new Version(new Version("1.0.0"), VersionType.PRE_ALPHA, "7")</b> would return:<br>
<b style="font-family: consolas">1.0.0/pa7</b></div>
</dd>
</dl>
<a name="I:U">
@ -1814,11 +1814,11 @@ the order they are declared.</div>
</dd>
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Sync/Library/Version/Version.html#Version-net.ME1312.SubServers.Sync.Library.Version.Version-java.lang.String-">Version(Version, String)</a></span> - Constructor for class net.ME1312.SubServers.Sync.Library.Version.<a href="net/ME1312/SubServers/Sync/Library/Version/Version.html" title="class in net.ME1312.SubServers.Sync.Library.Version">Version</a></dt>
<dd>
<div class="block">Creates a Version (Prepending the parent)</div>
<div class="block">Creates a Version (Appending the parent)</div>
</dd>
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Sync/Library/Version/Version.html#Version-net.ME1312.SubServers.Sync.Library.Version.Version-net.ME1312.SubServers.Sync.Library.Version.Version.VersionType-java.lang.String-">Version(Version, Version.VersionType, String)</a></span> - Constructor for class net.ME1312.SubServers.Sync.Library.Version.<a href="net/ME1312/SubServers/Sync/Library/Version/Version.html" title="class in net.ME1312.SubServers.Sync.Library.Version">Version</a></dt>
<dd>
<div class="block">Creates a Version (Prepending the parent)</div>
<div class="block">Creates a Version (Appending the parent)</div>
</dd>
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Sync/Library/Version/Version.html#Version-int...-">Version(int...)</a></span> - Constructor for class net.ME1312.SubServers.Sync.Library.Version.<a href="net/ME1312/SubServers/Sync/Library/Version/Version.html" title="class in net.ME1312.SubServers.Sync.Library.Version">Version</a></dt>
<dd>
@ -1830,11 +1830,11 @@ the order they are declared.</div>
</dd>
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Sync/Library/Version/Version.html#Version-net.ME1312.SubServers.Sync.Library.Version.Version-int...-">Version(Version, int...)</a></span> - Constructor for class net.ME1312.SubServers.Sync.Library.Version.<a href="net/ME1312/SubServers/Sync/Library/Version/Version.html" title="class in net.ME1312.SubServers.Sync.Library.Version">Version</a></dt>
<dd>
<div class="block">Creates a Version (Prepending the parent)</div>
<div class="block">Creates a Version (Appending the parent)</div>
</dd>
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Sync/Library/Version/Version.html#Version-net.ME1312.SubServers.Sync.Library.Version.Version-net.ME1312.SubServers.Sync.Library.Version.Version.VersionType-int...-">Version(Version, Version.VersionType, int...)</a></span> - Constructor for class net.ME1312.SubServers.Sync.Library.Version.<a href="net/ME1312/SubServers/Sync/Library/Version/Version.html" title="class in net.ME1312.SubServers.Sync.Library.Version">Version</a></dt>
<dd>
<div class="block">Creates a Version (Prepending the parent)</div>
<div class="block">Creates a Version (Appending the parent)</div>
</dd>
<dt><span class="memberNameLink"><a href="net/ME1312/SubServers/Sync/SubPlugin.html#version">version</a></span> - Static variable in class net.ME1312.SubServers.Sync.<a href="net/ME1312/SubServers/Sync/SubPlugin.html" title="class in net.ME1312.SubServers.Sync">SubPlugin</a></dt>
<dd>&nbsp;</dd>

View File

@ -146,20 +146,32 @@ extends java.lang.Enum&lt;<a href="../../../../../../net/ME1312/SubServers/Sync/
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../net/ME1312/SubServers/Sync/Library/Version/Version.VersionType.html#BETA">BETA</a></span></code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../net/ME1312/SubServers/Sync/Library/Version/Version.VersionType.html#PATCH">PATCH</a></span></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../net/ME1312/SubServers/Sync/Library/Version/Version.VersionType.html#PRE_ALPHA">PRE_ALPHA</a></span></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../net/ME1312/SubServers/Sync/Library/Version/Version.VersionType.html#PRE_BETA">PRE_BETA</a></span></code>&nbsp;</td>
</tr>
<tr class="altColor">
<tr class="rowColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../net/ME1312/SubServers/Sync/Library/Version/Version.VersionType.html#PRE_RELEASE">PRE_RELEASE</a></span></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../net/ME1312/SubServers/Sync/Library/Version/Version.VersionType.html#PREVIEW">PREVIEW</a></span></code>&nbsp;</td>
</tr>
<tr class="altColor">
<tr class="rowColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../net/ME1312/SubServers/Sync/Library/Version/Version.VersionType.html#RELEASE">RELEASE</a></span></code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../net/ME1312/SubServers/Sync/Library/Version/Version.VersionType.html#REVISION">REVISION</a></span></code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../net/ME1312/SubServers/Sync/Library/Version/Version.VersionType.html#UPDATE">UPDATE</a></span></code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../net/ME1312/SubServers/Sync/Library/Version/Version.VersionType.html#VERSION">VERSION</a></span></code>&nbsp;</td>
</tr>
</table>
</li>
</ul>
@ -274,12 +286,48 @@ the order they are declared.</div>
<a name="RELEASE">
<!-- -->
</a>
<ul class="blockListLast">
<ul class="blockList">
<li class="blockList">
<h4>RELEASE</h4>
<pre>public static final&nbsp;<a href="../../../../../../net/ME1312/SubServers/Sync/Library/Version/Version.VersionType.html" title="enum in net.ME1312.SubServers.Sync.Library.Version">Version.VersionType</a> RELEASE</pre>
</li>
</ul>
<a name="REVISION">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>REVISION</h4>
<pre>public static final&nbsp;<a href="../../../../../../net/ME1312/SubServers/Sync/Library/Version/Version.VersionType.html" title="enum in net.ME1312.SubServers.Sync.Library.Version">Version.VersionType</a> REVISION</pre>
</li>
</ul>
<a name="VERSION">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>VERSION</h4>
<pre>public static final&nbsp;<a href="../../../../../../net/ME1312/SubServers/Sync/Library/Version/Version.VersionType.html" title="enum in net.ME1312.SubServers.Sync.Library.Version">Version.VersionType</a> VERSION</pre>
</li>
</ul>
<a name="UPDATE">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>UPDATE</h4>
<pre>public static final&nbsp;<a href="../../../../../../net/ME1312/SubServers/Sync/Library/Version/Version.VersionType.html" title="enum in net.ME1312.SubServers.Sync.Library.Version">Version.VersionType</a> UPDATE</pre>
</li>
</ul>
<a name="PATCH">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>PATCH</h4>
<pre>public static final&nbsp;<a href="../../../../../../net/ME1312/SubServers/Sync/Library/Version/Version.VersionType.html" title="enum in net.ME1312.SubServers.Sync.Library.Version">Version.VersionType</a> PATCH</pre>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->

View File

@ -180,27 +180,27 @@ implements java.io.Serializable, java.lang.Comparable&lt;<a href="../../../../..
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../net/ME1312/SubServers/Sync/Library/Version/Version.html#Version-net.ME1312.SubServers.Sync.Library.Version.Version-int...-">Version</a></span>(<a href="../../../../../../net/ME1312/SubServers/Sync/Library/Version/Version.html" title="class in net.ME1312.SubServers.Sync.Library.Version">Version</a>&nbsp;parent,
int...&nbsp;ints)</code>
<div class="block">Creates a Version (Prepending the parent)</div>
<div class="block">Creates a Version (Appending the parent)</div>
</td>
</tr>
<tr class="rowColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../net/ME1312/SubServers/Sync/Library/Version/Version.html#Version-net.ME1312.SubServers.Sync.Library.Version.Version-java.lang.String-">Version</a></span>(<a href="../../../../../../net/ME1312/SubServers/Sync/Library/Version/Version.html" title="class in net.ME1312.SubServers.Sync.Library.Version">Version</a>&nbsp;parent,
java.lang.String&nbsp;string)</code>
<div class="block">Creates a Version (Prepending the parent)</div>
<div class="block">Creates a Version (Appending the parent)</div>
</td>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../net/ME1312/SubServers/Sync/Library/Version/Version.html#Version-net.ME1312.SubServers.Sync.Library.Version.Version-net.ME1312.SubServers.Sync.Library.Version.Version.VersionType-int...-">Version</a></span>(<a href="../../../../../../net/ME1312/SubServers/Sync/Library/Version/Version.html" title="class in net.ME1312.SubServers.Sync.Library.Version">Version</a>&nbsp;parent,
<a href="../../../../../../net/ME1312/SubServers/Sync/Library/Version/Version.VersionType.html" title="enum in net.ME1312.SubServers.Sync.Library.Version">Version.VersionType</a>&nbsp;type,
int...&nbsp;ints)</code>
<div class="block">Creates a Version (Prepending the parent)</div>
<div class="block">Creates a Version (Appending the parent)</div>
</td>
</tr>
<tr class="rowColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../net/ME1312/SubServers/Sync/Library/Version/Version.html#Version-net.ME1312.SubServers.Sync.Library.Version.Version-net.ME1312.SubServers.Sync.Library.Version.Version.VersionType-java.lang.String-">Version</a></span>(<a href="../../../../../../net/ME1312/SubServers/Sync/Library/Version/Version.html" title="class in net.ME1312.SubServers.Sync.Library.Version">Version</a>&nbsp;parent,
<a href="../../../../../../net/ME1312/SubServers/Sync/Library/Version/Version.VersionType.html" title="enum in net.ME1312.SubServers.Sync.Library.Version">Version.VersionType</a>&nbsp;type,
java.lang.String&nbsp;string)</code>
<div class="block">Creates a Version (Prepending the parent)</div>
<div class="block">Creates a Version (Appending the parent)</div>
</td>
</tr>
</table>
@ -259,8 +259,8 @@ implements java.io.Serializable, java.lang.Comparable&lt;<a href="../../../../..
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../net/ME1312/SubServers/Sync/Library/Version/Version.html#toExtendedString--">toExtendedString</a></span>()</code>
<div class="block">The extended toString() method<br>
<br>
<b>new Version(new Version("1.0.0"), VersionType.PRE_ALPHA, "7")</b> would return:<br>
<b>1.0.0 pre-alpha 7</b></div>
<b style="font-family: consolas">new Version(new Version("1.0.0"), VersionType.PRE_ALPHA, "7")</b> would return:<br>
<b style="font-family: consolas">1.0.0 pre-alpha 7</b></div>
</td>
</tr>
<tr id="i7" class="rowColor">
@ -268,8 +268,8 @@ implements java.io.Serializable, java.lang.Comparable&lt;<a href="../../../../..
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../net/ME1312/SubServers/Sync/Library/Version/Version.html#toFullExtendedString--">toFullExtendedString</a></span>()</code>
<div class="block">The full extended toString() method<br>
<br>
<b>new Version(new Version("1.0.0"), VersionType.PRE_ALPHA, "7")</b> would return:<br>
<b>release 1.0.0 pre-alpha 7</b></div>
<b style="font-family: consolas">new Version(new Version("1.0.0"), VersionType.PRE_ALPHA, "7")</b> would return:<br>
<b style="font-family: consolas">release 1.0.0 pre-alpha 7</b></div>
</td>
</tr>
<tr id="i8" class="altColor">
@ -277,8 +277,8 @@ implements java.io.Serializable, java.lang.Comparable&lt;<a href="../../../../..
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../net/ME1312/SubServers/Sync/Library/Version/Version.html#toFullString--">toFullString</a></span>()</code>
<div class="block">The full toString() method<br>
<br>
<b>new Version(new Version("1.0.0"), VersionType.PRE_ALPHA, "7")</b> would return:<br>
<b>r1.0.0/pa7</b></div>
<b style="font-family: consolas">new Version(new Version("1.0.0"), VersionType.PRE_ALPHA, "7")</b> would return:<br>
<b style="font-family: consolas">r1.0.0/pa7</b></div>
</td>
</tr>
<tr id="i9" class="rowColor">
@ -286,8 +286,8 @@ implements java.io.Serializable, java.lang.Comparable&lt;<a href="../../../../..
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../net/ME1312/SubServers/Sync/Library/Version/Version.html#toString--">toString</a></span>()</code>
<div class="block">The default toString() method<br>
<br>
<b>new Version(new Version("1.0.0"), VersionType.PRE_ALPHA, "7")</b> would return:<br>
<b>1.0.0/pa7</b></div>
<b style="font-family: consolas">new Version(new Version("1.0.0"), VersionType.PRE_ALPHA, "7")</b> would return:<br>
<b style="font-family: consolas">1.0.0/pa7</b></div>
</td>
</tr>
</table>
@ -350,7 +350,7 @@ implements java.io.Serializable, java.lang.Comparable&lt;<a href="../../../../..
<h4>Version</h4>
<pre>public&nbsp;Version(<a href="../../../../../../net/ME1312/SubServers/Sync/Library/Version/Version.html" title="class in net.ME1312.SubServers.Sync.Library.Version">Version</a>&nbsp;parent,
java.lang.String&nbsp;string)</pre>
<div class="block">Creates a Version (Prepending the parent)</div>
<div class="block">Creates a Version (Appending the parent)</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>parent</code> - Parent Version</dd>
@ -367,7 +367,7 @@ implements java.io.Serializable, java.lang.Comparable&lt;<a href="../../../../..
<pre>public&nbsp;Version(<a href="../../../../../../net/ME1312/SubServers/Sync/Library/Version/Version.html" title="class in net.ME1312.SubServers.Sync.Library.Version">Version</a>&nbsp;parent,
<a href="../../../../../../net/ME1312/SubServers/Sync/Library/Version/Version.VersionType.html" title="enum in net.ME1312.SubServers.Sync.Library.Version">Version.VersionType</a>&nbsp;type,
java.lang.String&nbsp;string)</pre>
<div class="block">Creates a Version (Prepending the parent)</div>
<div class="block">Creates a Version (Appending the parent)</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>parent</code> - Parent Version</dd>
@ -414,7 +414,7 @@ implements java.io.Serializable, java.lang.Comparable&lt;<a href="../../../../..
<h4>Version</h4>
<pre>public&nbsp;Version(<a href="../../../../../../net/ME1312/SubServers/Sync/Library/Version/Version.html" title="class in net.ME1312.SubServers.Sync.Library.Version">Version</a>&nbsp;parent,
int...&nbsp;ints)</pre>
<div class="block">Creates a Version (Prepending the parent)</div>
<div class="block">Creates a Version (Appending the parent)</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>parent</code> - Parent Version</dd>
@ -431,7 +431,7 @@ implements java.io.Serializable, java.lang.Comparable&lt;<a href="../../../../..
<pre>public&nbsp;Version(<a href="../../../../../../net/ME1312/SubServers/Sync/Library/Version/Version.html" title="class in net.ME1312.SubServers.Sync.Library.Version">Version</a>&nbsp;parent,
<a href="../../../../../../net/ME1312/SubServers/Sync/Library/Version/Version.VersionType.html" title="enum in net.ME1312.SubServers.Sync.Library.Version">Version.VersionType</a>&nbsp;type,
int...&nbsp;ints)</pre>
<div class="block">Creates a Version (Prepending the parent)</div>
<div class="block">Creates a Version (Appending the parent)</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>parent</code> - Parent Version</dd>
@ -460,7 +460,8 @@ implements java.io.Serializable, java.lang.Comparable&lt;<a href="../../../../..
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>string</code> - String to parse</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../../net/ME1312/SubServers/Sync/Library/Version/Version.html#toFullString--"><code>for a valid string value</code></a></dd>
<dd><a href="../../../../../../net/ME1312/SubServers/Sync/Library/Version/Version.html#toFullString--"><code><b>#toFullString()</b> returns a valid string</code></a>,
<a href="../../../../../../net/ME1312/SubServers/Sync/Library/Version/Version.html#toFullString--"><code><b>#toString()</b> returns a valid string</code></a></dd>
</dl>
</li>
</ul>
@ -473,8 +474,8 @@ implements java.io.Serializable, java.lang.Comparable&lt;<a href="../../../../..
<pre>public&nbsp;java.lang.String&nbsp;toString()</pre>
<div class="block">The default toString() method<br>
<br>
<b>new Version(new Version("1.0.0"), VersionType.PRE_ALPHA, "7")</b> would return:<br>
<b>1.0.0/pa7</b></div>
<b style="font-family: consolas">new Version(new Version("1.0.0"), VersionType.PRE_ALPHA, "7")</b> would return:<br>
<b style="font-family: consolas">1.0.0/pa7</b></div>
<dl>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>toString</code>&nbsp;in class&nbsp;<code>java.lang.Object</code></dd>
@ -492,8 +493,8 @@ implements java.io.Serializable, java.lang.Comparable&lt;<a href="../../../../..
<pre>public&nbsp;java.lang.String&nbsp;toFullString()</pre>
<div class="block">The full toString() method<br>
<br>
<b>new Version(new Version("1.0.0"), VersionType.PRE_ALPHA, "7")</b> would return:<br>
<b>r1.0.0/pa7</b></div>
<b style="font-family: consolas">new Version(new Version("1.0.0"), VersionType.PRE_ALPHA, "7")</b> would return:<br>
<b style="font-family: consolas">r1.0.0/pa7</b></div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Version as a String</dd>
@ -509,8 +510,8 @@ implements java.io.Serializable, java.lang.Comparable&lt;<a href="../../../../..
<pre>public&nbsp;java.lang.String&nbsp;toExtendedString()</pre>
<div class="block">The extended toString() method<br>
<br>
<b>new Version(new Version("1.0.0"), VersionType.PRE_ALPHA, "7")</b> would return:<br>
<b>1.0.0 pre-alpha 7</b></div>
<b style="font-family: consolas">new Version(new Version("1.0.0"), VersionType.PRE_ALPHA, "7")</b> would return:<br>
<b style="font-family: consolas">1.0.0 pre-alpha 7</b></div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Version as a String</dd>
@ -526,8 +527,8 @@ implements java.io.Serializable, java.lang.Comparable&lt;<a href="../../../../..
<pre>public&nbsp;java.lang.String&nbsp;toFullExtendedString()</pre>
<div class="block">The full extended toString() method<br>
<br>
<b>new Version(new Version("1.0.0"), VersionType.PRE_ALPHA, "7")</b> would return:<br>
<b>release 1.0.0 pre-alpha 7</b></div>
<b style="font-family: consolas">new Version(new Version("1.0.0"), VersionType.PRE_ALPHA, "7")</b> would return:<br>
<b style="font-family: consolas">release 1.0.0 pre-alpha 7</b></div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Version as a String</dd>
@ -557,7 +558,7 @@ implements java.io.Serializable, java.lang.Comparable&lt;<a href="../../../../..
<div class="block">See if Versions are Equal</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>version</code> - Version to Compare</dd>
<dd><code>version</code> - Version to Compare to</dd>
<dt><span class="returnLabel">Returns:</span></dt>
</dl>
</li>
@ -574,7 +575,7 @@ implements java.io.Serializable, java.lang.Comparable&lt;<a href="../../../../..
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code>compareTo</code>&nbsp;in interface&nbsp;<code>java.lang.Comparable&lt;<a href="../../../../../../net/ME1312/SubServers/Sync/Library/Version/Version.html" title="class in net.ME1312.SubServers.Sync.Library.Version">Version</a>&gt;</code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>version</code> - The version to compare to</dd>
<dd><code>version</code> - Version to Compare to</dd>
</dl>
</li>
</ul>

Binary file not shown.

View File

@ -18,14 +18,18 @@ public class Version implements Serializable, Comparable<Version> {
private final String string;
public enum VersionType {
PRE_ALPHA(0, "pa", "pre-alpha"),
ALPHA(1, "a", "alpha"),
PREVIEW(2, "pb", "preview"),
PRE_BETA(2, "pb", "pre-beta"),
BETA(3, "b", "beta"),
PRE_RELEASE(4, "pr", "pre-release"),
RELEASE(5, "r", "release");
PRE_ALPHA(-5, "pa", "pre-alpha"),
ALPHA(-4, "a", "alpha"),
PREVIEW(-3, "pv", "preview"),
PRE_BETA(-3, "pb", "pre-beta"),
BETA(-2, "b", "beta"),
PRE_RELEASE(-1, "pr", "pre-release"),
RELEASE(0, "r", "release"),
REVISION(0, "rv", "revision"),
VERSION(0, "v", "version"),
UPDATE(0, "u", "update"),
PATCH(0, "p", "patch"),
;
private final short stageid;
private final String shortname, longname;
VersionType(int stageid, String shortname, String longname) {
@ -55,7 +59,7 @@ public class Version implements Serializable, Comparable<Version> {
}
/**
* Creates a Version (Prepending the parent)
* Creates a Version (Appending the parent)
*
* @param parent Parent Version
* @param string Version String
@ -65,7 +69,7 @@ public class Version implements Serializable, Comparable<Version> {
}
/**
* Creates a Version (Prepending the parent)
* Creates a Version (Appending the parent)
*
* @param parent Parent Version
* @param type Version Type
@ -98,7 +102,7 @@ public class Version implements Serializable, Comparable<Version> {
}
/**
* Creates a Version (Prepending the parent)
* Creates a Version (Appending the parent)
*
* @param parent Parent Version
* @param ints Version Numbers (Will be separated with dots)
@ -108,7 +112,7 @@ public class Version implements Serializable, Comparable<Version> {
}
/**
* Creates a Version (Prepending the parent)
* Creates a Version (Appending the parent)
*
* @param parent Parent Version
* @param type Version Type
@ -133,10 +137,11 @@ public class Version implements Serializable, Comparable<Version> {
* Parse a Version from a string
*
* @param string String to parse
* @see #toFullString() for a valid string value
* @see #toFullString() <b>#toFullString()</b> returns a valid string
* @see #toFullString() <b>#toString()</b> returns a valid string
*/
public static Version fromString(String string) {
Matcher regex = Pattern.compile("(p?[abr])?([^/]+)").matcher(string);
Matcher regex = Pattern.compile("(rv|(?:p?[abrv])|[pu])?([^/]+)", Pattern.CASE_INSENSITIVE).matcher(string);
Version current = null;
while (regex.find()) {
try {
@ -148,6 +153,9 @@ public class Version implements Serializable, Comparable<Version> {
case "a":
type = VersionType.ALPHA;
break;
case "pv":
type = VersionType.PREVIEW;
break;
case "pb":
type = VersionType.PRE_BETA;
break;
@ -157,6 +165,18 @@ public class Version implements Serializable, Comparable<Version> {
case "pr":
type = VersionType.PRE_RELEASE;
break;
case "rv":
type = VersionType.REVISION;
break;
case "v":
type = VersionType.VERSION;
break;
case "u":
type = VersionType.UPDATE;
break;
case "p":
type = VersionType.PATCH;
break;
}
current = new Version(current, type, regex.group(2));
} catch (Throwable e) {}
@ -168,23 +188,25 @@ public class Version implements Serializable, Comparable<Version> {
/**
* The default toString() method<br>
* <br>
* <b>new Version(new Version("1.0.0"), VersionType.PRE_ALPHA, "7")</b> would return:<br>
* <b>1.0.0/pa7</b>
* <b style="font-family: consolas">new Version(new Version("1.0.0"), VersionType.PRE_ALPHA, "7")</b> would return:<br>
* <b style="font-family: consolas">1.0.0/pa7</b>
*
* @return Version as a String
*/
@Override
public String toString() {
String str = (parent == null)?"":parent.toString()+'/'+type.shortname;
if (parent != null || type == VersionType.RELEASE) {
String str = (parent == null)?"":parent.toString() + '/' + type.shortname;
str += string;
return str;
} else return toFullString();
}
/**
* The full toString() method<br>
* <br>
* <b>new Version(new Version("1.0.0"), VersionType.PRE_ALPHA, "7")</b> would return:<br>
* <b>r1.0.0/pa7</b>
* <b style="font-family: consolas">new Version(new Version("1.0.0"), VersionType.PRE_ALPHA, "7")</b> would return:<br>
* <b style="font-family: consolas">r1.0.0/pa7</b>
*
* @return Version as a String
*/
@ -197,22 +219,24 @@ public class Version implements Serializable, Comparable<Version> {
/**
* The extended toString() method<br>
* <br>
* <b>new Version(new Version("1.0.0"), VersionType.PRE_ALPHA, "7")</b> would return:<br>
* <b>1.0.0 pre-alpha 7</b>
* <b style="font-family: consolas">new Version(new Version("1.0.0"), VersionType.PRE_ALPHA, "7")</b> would return:<br>
* <b style="font-family: consolas">1.0.0 pre-alpha 7</b>
*
* @return Version as a String
*/
public String toExtendedString() {
String str = (parent == null)?"":parent.toExtendedString()+' '+type.longname+' ';
if (parent != null || type == VersionType.RELEASE) {
String str = (parent == null)?"":parent.toExtendedString() + ' ' + type.longname + ' ';
str += string;
return str;
} else return toFullExtendedString();
}
/**
* The full extended toString() method<br>
* <br>
* <b>new Version(new Version("1.0.0"), VersionType.PRE_ALPHA, "7")</b> would return:<br>
* <b>release 1.0.0 pre-alpha 7</b>
* <b style="font-family: consolas">new Version(new Version("1.0.0"), VersionType.PRE_ALPHA, "7")</b> would return:<br>
* <b style="font-family: consolas">release 1.0.0 pre-alpha 7</b>
*
* @return Version as a String
*/
@ -234,7 +258,7 @@ public class Version implements Serializable, Comparable<Version> {
/**
* See if Versions are Equal
*
* @param version Version to Compare
* @param version Version to Compare to
* @return
*/
public boolean equals(Version version) {
@ -249,7 +273,7 @@ public class Version implements Serializable, Comparable<Version> {
*
* Compare Versions
*
* @param version The version to compare to
* @param version Version to Compare to
*/
public int compareTo(Version version) {
return compare(this, version);
@ -277,29 +301,48 @@ public class Version implements Serializable, Comparable<Version> {
* @param ver2 Version to Compare
*/
public static int compare(Version ver1, Version ver2) {
LinkedList<Version> stack1 = new LinkedList<Version>(), stack2 = new LinkedList<Version>();
if (ver1 != null) {
if (ver1 == null && ver2 == null) {
// Both versions are null
return 0;
}
if (ver1 == null) {
// Version one is null
return -1;
}
if (ver2 == null) {
// Version two is null
return 1;
}
LinkedList<Version> stack1 = new LinkedList<Version>();
stack1.add(ver1);
while (ver1.parent != null) {
ver1 = ver1.parent;
stack1.add(ver1);
}
Collections.reverse(stack1);
}
if (ver2 != null) {
LinkedList<Version> stack2 = new LinkedList<Version>();
stack2.add(ver2);
while (ver2.parent != null) {
ver2 = ver2.parent;
stack2.add(ver2);
}
Collections.reverse(stack2);
}
int id;
for (id = 0; id < stack1.size(); id++) {
if (id >= stack2.size()) {
// Version one still has children when version two does not, making version two the official version
// Version one still has children when version two does not...
if (stack1.get(id).type.stageid < 0) {
// ...making version two the official version
return -1;
} else {
// ...however the direct child of version one has a stageid higher than or equal to a release
return 1;
}
}
int result = stack1.get(id).compare(stack2.get(id));
@ -309,8 +352,14 @@ public class Version implements Serializable, Comparable<Version> {
}
}
if (id < stack2.size()) {
// Version one does not children when version two still does, making version one the official version
// Version one does not children when version two still does...
if (stack2.get(id).type.stageid < 0) {
// ...making version one the official version
return 1;
} else {
// ...however the direct child of version two has a stageid higher than or equal to a release
return -1;
}
}
return 0;
}

View File

@ -59,7 +59,7 @@ public final class SubPlugin extends BungeeCord implements Listener {
public SubServer sudo = null;
//public static final Version version = new Version("2.13a");
//public static final Version version = new Version(new Version("2.13a"), Version.VersionType.BETA, 1); // TODO Beta Version Setting
public static final Version version = new Version(new Version(new Version("2.13a"), Version.VersionType.PRE_RELEASE, 2), Version.VersionType.BETA, 1); // TODO Beta Version Setting
public static final Version version = new Version(new Version(new Version("2.13a"), Version.VersionType.PRE_RELEASE, 2), Version.VersionType.BETA, 2); // TODO Beta Version Setting
public boolean redis = false;
public long resetDate = 0;

Binary file not shown.

View File

@ -18,14 +18,18 @@ public class Version implements Serializable, Comparable<Version> {
private final String string;
public enum VersionType {
PRE_ALPHA(0, "pa", "pre-alpha"),
ALPHA(1, "a", "alpha"),
PREVIEW(2, "pb", "preview"),
PRE_BETA(2, "pb", "pre-beta"),
BETA(3, "b", "beta"),
PRE_RELEASE(4, "pr", "pre-release"),
RELEASE(5, "r", "release");
PRE_ALPHA(-5, "pa", "pre-alpha"),
ALPHA(-4, "a", "alpha"),
PREVIEW(-3, "pv", "preview"),
PRE_BETA(-3, "pb", "pre-beta"),
BETA(-2, "b", "beta"),
PRE_RELEASE(-1, "pr", "pre-release"),
RELEASE(0, "r", "release"),
REVISION(0, "rv", "revision"),
VERSION(0, "v", "version"),
UPDATE(0, "u", "update"),
PATCH(0, "p", "patch"),
;
private final short stageid;
private final String shortname, longname;
VersionType(int stageid, String shortname, String longname) {
@ -55,7 +59,7 @@ public class Version implements Serializable, Comparable<Version> {
}
/**
* Creates a Version (Prepending the parent)
* Creates a Version (Appending the parent)
*
* @param parent Parent Version
* @param string Version String
@ -65,7 +69,7 @@ public class Version implements Serializable, Comparable<Version> {
}
/**
* Creates a Version (Prepending the parent)
* Creates a Version (Appending the parent)
*
* @param parent Parent Version
* @param type Version Type
@ -98,7 +102,7 @@ public class Version implements Serializable, Comparable<Version> {
}
/**
* Creates a Version (Prepending the parent)
* Creates a Version (Appending the parent)
*
* @param parent Parent Version
* @param ints Version Numbers (Will be separated with dots)
@ -108,7 +112,7 @@ public class Version implements Serializable, Comparable<Version> {
}
/**
* Creates a Version (Prepending the parent)
* Creates a Version (Appending the parent)
*
* @param parent Parent Version
* @param type Version Type
@ -133,10 +137,11 @@ public class Version implements Serializable, Comparable<Version> {
* Parse a Version from a string
*
* @param string String to parse
* @see #toFullString() for a valid string value
* @see #toFullString() <b>#toFullString()</b> returns a valid string
* @see #toFullString() <b>#toString()</b> returns a valid string
*/
public static Version fromString(String string) {
Matcher regex = Pattern.compile("(p?[abr])?([^/]+)").matcher(string);
Matcher regex = Pattern.compile("(rv|(?:p?[abrv])|[pu])?([^/]+)", Pattern.CASE_INSENSITIVE).matcher(string);
Version current = null;
while (regex.find()) {
try {
@ -148,6 +153,9 @@ public class Version implements Serializable, Comparable<Version> {
case "a":
type = VersionType.ALPHA;
break;
case "pv":
type = VersionType.PREVIEW;
break;
case "pb":
type = VersionType.PRE_BETA;
break;
@ -157,6 +165,18 @@ public class Version implements Serializable, Comparable<Version> {
case "pr":
type = VersionType.PRE_RELEASE;
break;
case "rv":
type = VersionType.REVISION;
break;
case "v":
type = VersionType.VERSION;
break;
case "u":
type = VersionType.UPDATE;
break;
case "p":
type = VersionType.PATCH;
break;
}
current = new Version(current, type, regex.group(2));
} catch (Throwable e) {}
@ -168,23 +188,25 @@ public class Version implements Serializable, Comparable<Version> {
/**
* The default toString() method<br>
* <br>
* <b>new Version(new Version("1.0.0"), VersionType.PRE_ALPHA, "7")</b> would return:<br>
* <b>1.0.0/pa7</b>
* <b style="font-family: consolas">new Version(new Version("1.0.0"), VersionType.PRE_ALPHA, "7")</b> would return:<br>
* <b style="font-family: consolas">1.0.0/pa7</b>
*
* @return Version as a String
*/
@Override
public String toString() {
String str = (parent == null)?"":parent.toString()+'/'+type.shortname;
if (parent != null || type == VersionType.RELEASE) {
String str = (parent == null)?"":parent.toString() + '/' + type.shortname;
str += string;
return str;
} else return toFullString();
}
/**
* The full toString() method<br>
* <br>
* <b>new Version(new Version("1.0.0"), VersionType.PRE_ALPHA, "7")</b> would return:<br>
* <b>r1.0.0/pa7</b>
* <b style="font-family: consolas">new Version(new Version("1.0.0"), VersionType.PRE_ALPHA, "7")</b> would return:<br>
* <b style="font-family: consolas">r1.0.0/pa7</b>
*
* @return Version as a String
*/
@ -197,22 +219,24 @@ public class Version implements Serializable, Comparable<Version> {
/**
* The extended toString() method<br>
* <br>
* <b>new Version(new Version("1.0.0"), VersionType.PRE_ALPHA, "7")</b> would return:<br>
* <b>1.0.0 pre-alpha 7</b>
* <b style="font-family: consolas">new Version(new Version("1.0.0"), VersionType.PRE_ALPHA, "7")</b> would return:<br>
* <b style="font-family: consolas">1.0.0 pre-alpha 7</b>
*
* @return Version as a String
*/
public String toExtendedString() {
String str = (parent == null)?"":parent.toExtendedString()+' '+type.longname+' ';
if (parent != null || type == VersionType.RELEASE) {
String str = (parent == null)?"":parent.toExtendedString() + ' ' + type.longname + ' ';
str += string;
return str;
} else return toFullExtendedString();
}
/**
* The full extended toString() method<br>
* <br>
* <b>new Version(new Version("1.0.0"), VersionType.PRE_ALPHA, "7")</b> would return:<br>
* <b>release 1.0.0 pre-alpha 7</b>
* <b style="font-family: consolas">new Version(new Version("1.0.0"), VersionType.PRE_ALPHA, "7")</b> would return:<br>
* <b style="font-family: consolas">release 1.0.0 pre-alpha 7</b>
*
* @return Version as a String
*/
@ -234,7 +258,7 @@ public class Version implements Serializable, Comparable<Version> {
/**
* See if Versions are Equal
*
* @param version Version to Compare
* @param version Version to Compare to
* @return
*/
public boolean equals(Version version) {
@ -249,7 +273,7 @@ public class Version implements Serializable, Comparable<Version> {
*
* Compare Versions
*
* @param version The version to compare to
* @param version Version to Compare to
*/
public int compareTo(Version version) {
return compare(this, version);
@ -277,29 +301,48 @@ public class Version implements Serializable, Comparable<Version> {
* @param ver2 Version to Compare
*/
public static int compare(Version ver1, Version ver2) {
LinkedList<Version> stack1 = new LinkedList<Version>(), stack2 = new LinkedList<Version>();
if (ver1 != null) {
if (ver1 == null && ver2 == null) {
// Both versions are null
return 0;
}
if (ver1 == null) {
// Version one is null
return -1;
}
if (ver2 == null) {
// Version two is null
return 1;
}
LinkedList<Version> stack1 = new LinkedList<Version>();
stack1.add(ver1);
while (ver1.parent != null) {
ver1 = ver1.parent;
stack1.add(ver1);
}
Collections.reverse(stack1);
}
if (ver2 != null) {
LinkedList<Version> stack2 = new LinkedList<Version>();
stack2.add(ver2);
while (ver2.parent != null) {
ver2 = ver2.parent;
stack2.add(ver2);
}
Collections.reverse(stack2);
}
int id;
for (id = 0; id < stack1.size(); id++) {
if (id >= stack2.size()) {
// Version one still has children when version two does not, making version two the official version
// Version one still has children when version two does not...
if (stack1.get(id).type.stageid < 0) {
// ...making version two the official version
return -1;
} else {
// ...however the direct child of version one has a stageid higher than or equal to a release
return 1;
}
}
int result = stack1.get(id).compare(stack2.get(id));
@ -309,8 +352,14 @@ public class Version implements Serializable, Comparable<Version> {
}
}
if (id < stack2.size()) {
// Version one does not children when version two still does, making version one the official version
// Version one does not children when version two still does...
if (stack2.get(id).type.stageid < 0) {
// ...making version one the official version
return 1;
} else {
// ...however the direct child of version two has a stageid higher than or equal to a release
return -1;
}
}
return 0;
}

View File

@ -46,7 +46,7 @@ public final class SubPlugin extends JavaPlugin {
super();
//version = new Version(getDescription().getVersion());
//version = new Version(new Version(getDescription().getVersion()), Version.VersionType.BETA, 1); // TODO Beta Version Setting
version = new Version(new Version(new Version(getDescription().getVersion()), Version.VersionType.PRE_RELEASE, 2), Version.VersionType.BETA, 1); // TODO Beta Version Setting
version = new Version(new Version(new Version(getDescription().getVersion()), Version.VersionType.PRE_RELEASE, 2), Version.VersionType.BETA, 2); // TODO Beta Version Setting
}
/**

Binary file not shown.

View File

@ -59,7 +59,7 @@ public final class ExHost {
//public final Version version = new Version("2.13a");
//public final Version version = new Version(new Version("2.13a"), Version.VersionType.BETA, 1); // TODO Beta Version Setting
public final Version version = new Version(new Version(new Version("2.13a"), Version.VersionType.PRE_RELEASE, 2), Version.VersionType.BETA, 1); // TODO Beta Version Setting
public final Version version = new Version(new Version(new Version("2.13a"), Version.VersionType.PRE_RELEASE, 2), Version.VersionType.BETA, 2); // TODO Beta Version Setting
public final SubAPI api = new SubAPI(this);
private ConsoleReader jline;

View File

@ -18,14 +18,18 @@ public class Version implements Serializable, Comparable<Version> {
private final String string;
public enum VersionType {
PRE_ALPHA(0, "pa", "pre-alpha"),
ALPHA(1, "a", "alpha"),
PREVIEW(2, "pb", "preview"),
PRE_BETA(2, "pb", "pre-beta"),
BETA(3, "b", "beta"),
PRE_RELEASE(4, "pr", "pre-release"),
RELEASE(5, "r", "release");
PRE_ALPHA(-5, "pa", "pre-alpha"),
ALPHA(-4, "a", "alpha"),
PREVIEW(-3, "pv", "preview"),
PRE_BETA(-3, "pb", "pre-beta"),
BETA(-2, "b", "beta"),
PRE_RELEASE(-1, "pr", "pre-release"),
RELEASE(0, "r", "release"),
REVISION(0, "rv", "revision"),
VERSION(0, "v", "version"),
UPDATE(0, "u", "update"),
PATCH(0, "p", "patch"),
;
private final short stageid;
private final String shortname, longname;
VersionType(int stageid, String shortname, String longname) {
@ -55,7 +59,7 @@ public class Version implements Serializable, Comparable<Version> {
}
/**
* Creates a Version (Prepending the parent)
* Creates a Version (Appending the parent)
*
* @param parent Parent Version
* @param string Version String
@ -65,7 +69,7 @@ public class Version implements Serializable, Comparable<Version> {
}
/**
* Creates a Version (Prepending the parent)
* Creates a Version (Appending the parent)
*
* @param parent Parent Version
* @param type Version Type
@ -98,7 +102,7 @@ public class Version implements Serializable, Comparable<Version> {
}
/**
* Creates a Version (Prepending the parent)
* Creates a Version (Appending the parent)
*
* @param parent Parent Version
* @param ints Version Numbers (Will be separated with dots)
@ -108,7 +112,7 @@ public class Version implements Serializable, Comparable<Version> {
}
/**
* Creates a Version (Prepending the parent)
* Creates a Version (Appending the parent)
*
* @param parent Parent Version
* @param type Version Type
@ -133,10 +137,11 @@ public class Version implements Serializable, Comparable<Version> {
* Parse a Version from a string
*
* @param string String to parse
* @see #toFullString() for a valid string value
* @see #toFullString() <b>#toFullString()</b> returns a valid string
* @see #toFullString() <b>#toString()</b> returns a valid string
*/
public static Version fromString(String string) {
Matcher regex = Pattern.compile("(p?[abr])?([^/]+)").matcher(string);
Matcher regex = Pattern.compile("(rv|(?:p?[abrv])|[pu])?([^/]+)", Pattern.CASE_INSENSITIVE).matcher(string);
Version current = null;
while (regex.find()) {
try {
@ -148,6 +153,9 @@ public class Version implements Serializable, Comparable<Version> {
case "a":
type = VersionType.ALPHA;
break;
case "pv":
type = VersionType.PREVIEW;
break;
case "pb":
type = VersionType.PRE_BETA;
break;
@ -157,6 +165,18 @@ public class Version implements Serializable, Comparable<Version> {
case "pr":
type = VersionType.PRE_RELEASE;
break;
case "rv":
type = VersionType.REVISION;
break;
case "v":
type = VersionType.VERSION;
break;
case "u":
type = VersionType.UPDATE;
break;
case "p":
type = VersionType.PATCH;
break;
}
current = new Version(current, type, regex.group(2));
} catch (Throwable e) {}
@ -168,23 +188,25 @@ public class Version implements Serializable, Comparable<Version> {
/**
* The default toString() method<br>
* <br>
* <b>new Version(new Version("1.0.0"), VersionType.PRE_ALPHA, "7")</b> would return:<br>
* <b>1.0.0/pa7</b>
* <b style="font-family: consolas">new Version(new Version("1.0.0"), VersionType.PRE_ALPHA, "7")</b> would return:<br>
* <b style="font-family: consolas">1.0.0/pa7</b>
*
* @return Version as a String
*/
@Override
public String toString() {
String str = (parent == null)?"":parent.toString()+'/'+type.shortname;
if (parent != null || type == VersionType.RELEASE) {
String str = (parent == null)?"":parent.toString() + '/' + type.shortname;
str += string;
return str;
} else return toFullString();
}
/**
* The full toString() method<br>
* <br>
* <b>new Version(new Version("1.0.0"), VersionType.PRE_ALPHA, "7")</b> would return:<br>
* <b>r1.0.0/pa7</b>
* <b style="font-family: consolas">new Version(new Version("1.0.0"), VersionType.PRE_ALPHA, "7")</b> would return:<br>
* <b style="font-family: consolas">r1.0.0/pa7</b>
*
* @return Version as a String
*/
@ -197,22 +219,24 @@ public class Version implements Serializable, Comparable<Version> {
/**
* The extended toString() method<br>
* <br>
* <b>new Version(new Version("1.0.0"), VersionType.PRE_ALPHA, "7")</b> would return:<br>
* <b>1.0.0 pre-alpha 7</b>
* <b style="font-family: consolas">new Version(new Version("1.0.0"), VersionType.PRE_ALPHA, "7")</b> would return:<br>
* <b style="font-family: consolas">1.0.0 pre-alpha 7</b>
*
* @return Version as a String
*/
public String toExtendedString() {
String str = (parent == null)?"":parent.toExtendedString()+' '+type.longname+' ';
if (parent != null || type == VersionType.RELEASE) {
String str = (parent == null)?"":parent.toExtendedString() + ' ' + type.longname + ' ';
str += string;
return str;
} else return toFullExtendedString();
}
/**
* The full extended toString() method<br>
* <br>
* <b>new Version(new Version("1.0.0"), VersionType.PRE_ALPHA, "7")</b> would return:<br>
* <b>release 1.0.0 pre-alpha 7</b>
* <b style="font-family: consolas">new Version(new Version("1.0.0"), VersionType.PRE_ALPHA, "7")</b> would return:<br>
* <b style="font-family: consolas">release 1.0.0 pre-alpha 7</b>
*
* @return Version as a String
*/
@ -234,7 +258,7 @@ public class Version implements Serializable, Comparable<Version> {
/**
* See if Versions are Equal
*
* @param version Version to Compare
* @param version Version to Compare to
* @return
*/
public boolean equals(Version version) {
@ -249,7 +273,7 @@ public class Version implements Serializable, Comparable<Version> {
*
* Compare Versions
*
* @param version The version to compare to
* @param version Version to Compare to
*/
public int compareTo(Version version) {
return compare(this, version);
@ -277,29 +301,48 @@ public class Version implements Serializable, Comparable<Version> {
* @param ver2 Version to Compare
*/
public static int compare(Version ver1, Version ver2) {
LinkedList<Version> stack1 = new LinkedList<Version>(), stack2 = new LinkedList<Version>();
if (ver1 != null) {
if (ver1 == null && ver2 == null) {
// Both versions are null
return 0;
}
if (ver1 == null) {
// Version one is null
return -1;
}
if (ver2 == null) {
// Version two is null
return 1;
}
LinkedList<Version> stack1 = new LinkedList<Version>();
stack1.add(ver1);
while (ver1.parent != null) {
ver1 = ver1.parent;
stack1.add(ver1);
}
Collections.reverse(stack1);
}
if (ver2 != null) {
LinkedList<Version> stack2 = new LinkedList<Version>();
stack2.add(ver2);
while (ver2.parent != null) {
ver2 = ver2.parent;
stack2.add(ver2);
}
Collections.reverse(stack2);
}
int id;
for (id = 0; id < stack1.size(); id++) {
if (id >= stack2.size()) {
// Version one still has children when version two does not, making version two the official version
// Version one still has children when version two does not...
if (stack1.get(id).type.stageid < 0) {
// ...making version two the official version
return -1;
} else {
// ...however the direct child of version one has a stageid higher than or equal to a release
return 1;
}
}
int result = stack1.get(id).compare(stack2.get(id));
@ -309,8 +352,14 @@ public class Version implements Serializable, Comparable<Version> {
}
}
if (id < stack2.size()) {
// Version one does not children when version two still does, making version one the official version
// Version one does not children when version two still does...
if (stack2.get(id).type.stageid < 0) {
// ...making version one the official version
return 1;
} else {
// ...however the direct child of version two has a stageid higher than or equal to a release
return -1;
}
}
return 0;
}

Binary file not shown.

View File

@ -18,14 +18,18 @@ public class Version implements Serializable, Comparable<Version> {
private final String string;
public enum VersionType {
PRE_ALPHA(0, "pa", "pre-alpha"),
ALPHA(1, "a", "alpha"),
PREVIEW(2, "pb", "preview"),
PRE_BETA(2, "pb", "pre-beta"),
BETA(3, "b", "beta"),
PRE_RELEASE(4, "pr", "pre-release"),
RELEASE(5, "r", "release");
PRE_ALPHA(-5, "pa", "pre-alpha"),
ALPHA(-4, "a", "alpha"),
PREVIEW(-3, "pv", "preview"),
PRE_BETA(-3, "pb", "pre-beta"),
BETA(-2, "b", "beta"),
PRE_RELEASE(-1, "pr", "pre-release"),
RELEASE(0, "r", "release"),
REVISION(0, "rv", "revision"),
VERSION(0, "v", "version"),
UPDATE(0, "u", "update"),
PATCH(0, "p", "patch"),
;
private final short stageid;
private final String shortname, longname;
VersionType(int stageid, String shortname, String longname) {
@ -55,7 +59,7 @@ public class Version implements Serializable, Comparable<Version> {
}
/**
* Creates a Version (Prepending the parent)
* Creates a Version (Appending the parent)
*
* @param parent Parent Version
* @param string Version String
@ -65,7 +69,7 @@ public class Version implements Serializable, Comparable<Version> {
}
/**
* Creates a Version (Prepending the parent)
* Creates a Version (Appending the parent)
*
* @param parent Parent Version
* @param type Version Type
@ -98,7 +102,7 @@ public class Version implements Serializable, Comparable<Version> {
}
/**
* Creates a Version (Prepending the parent)
* Creates a Version (Appending the parent)
*
* @param parent Parent Version
* @param ints Version Numbers (Will be separated with dots)
@ -108,7 +112,7 @@ public class Version implements Serializable, Comparable<Version> {
}
/**
* Creates a Version (Prepending the parent)
* Creates a Version (Appending the parent)
*
* @param parent Parent Version
* @param type Version Type
@ -133,10 +137,11 @@ public class Version implements Serializable, Comparable<Version> {
* Parse a Version from a string
*
* @param string String to parse
* @see #toFullString() for a valid string value
* @see #toFullString() <b>#toFullString()</b> returns a valid string
* @see #toFullString() <b>#toString()</b> returns a valid string
*/
public static Version fromString(String string) {
Matcher regex = Pattern.compile("(p?[abr])?([^/]+)").matcher(string);
Matcher regex = Pattern.compile("(rv|(?:p?[abrv])|[pu])?([^/]+)", Pattern.CASE_INSENSITIVE).matcher(string);
Version current = null;
while (regex.find()) {
try {
@ -148,6 +153,9 @@ public class Version implements Serializable, Comparable<Version> {
case "a":
type = VersionType.ALPHA;
break;
case "pv":
type = VersionType.PREVIEW;
break;
case "pb":
type = VersionType.PRE_BETA;
break;
@ -157,6 +165,18 @@ public class Version implements Serializable, Comparable<Version> {
case "pr":
type = VersionType.PRE_RELEASE;
break;
case "rv":
type = VersionType.REVISION;
break;
case "v":
type = VersionType.VERSION;
break;
case "u":
type = VersionType.UPDATE;
break;
case "p":
type = VersionType.PATCH;
break;
}
current = new Version(current, type, regex.group(2));
} catch (Throwable e) {}
@ -168,23 +188,25 @@ public class Version implements Serializable, Comparable<Version> {
/**
* The default toString() method<br>
* <br>
* <b>new Version(new Version("1.0.0"), VersionType.PRE_ALPHA, "7")</b> would return:<br>
* <b>1.0.0/pa7</b>
* <b style="font-family: consolas">new Version(new Version("1.0.0"), VersionType.PRE_ALPHA, "7")</b> would return:<br>
* <b style="font-family: consolas">1.0.0/pa7</b>
*
* @return Version as a String
*/
@Override
public String toString() {
String str = (parent == null)?"":parent.toString()+'/'+type.shortname;
if (parent != null || type == VersionType.RELEASE) {
String str = (parent == null)?"":parent.toString() + '/' + type.shortname;
str += string;
return str;
} else return toFullString();
}
/**
* The full toString() method<br>
* <br>
* <b>new Version(new Version("1.0.0"), VersionType.PRE_ALPHA, "7")</b> would return:<br>
* <b>r1.0.0/pa7</b>
* <b style="font-family: consolas">new Version(new Version("1.0.0"), VersionType.PRE_ALPHA, "7")</b> would return:<br>
* <b style="font-family: consolas">r1.0.0/pa7</b>
*
* @return Version as a String
*/
@ -197,22 +219,24 @@ public class Version implements Serializable, Comparable<Version> {
/**
* The extended toString() method<br>
* <br>
* <b>new Version(new Version("1.0.0"), VersionType.PRE_ALPHA, "7")</b> would return:<br>
* <b>1.0.0 pre-alpha 7</b>
* <b style="font-family: consolas">new Version(new Version("1.0.0"), VersionType.PRE_ALPHA, "7")</b> would return:<br>
* <b style="font-family: consolas">1.0.0 pre-alpha 7</b>
*
* @return Version as a String
*/
public String toExtendedString() {
String str = (parent == null)?"":parent.toExtendedString()+' '+type.longname+' ';
if (parent != null || type == VersionType.RELEASE) {
String str = (parent == null)?"":parent.toExtendedString() + ' ' + type.longname + ' ';
str += string;
return str;
} else return toFullExtendedString();
}
/**
* The full extended toString() method<br>
* <br>
* <b>new Version(new Version("1.0.0"), VersionType.PRE_ALPHA, "7")</b> would return:<br>
* <b>release 1.0.0 pre-alpha 7</b>
* <b style="font-family: consolas">new Version(new Version("1.0.0"), VersionType.PRE_ALPHA, "7")</b> would return:<br>
* <b style="font-family: consolas">release 1.0.0 pre-alpha 7</b>
*
* @return Version as a String
*/
@ -234,7 +258,7 @@ public class Version implements Serializable, Comparable<Version> {
/**
* See if Versions are Equal
*
* @param version Version to Compare
* @param version Version to Compare to
* @return
*/
public boolean equals(Version version) {
@ -249,7 +273,7 @@ public class Version implements Serializable, Comparable<Version> {
*
* Compare Versions
*
* @param version The version to compare to
* @param version Version to Compare to
*/
public int compareTo(Version version) {
return compare(this, version);
@ -277,29 +301,48 @@ public class Version implements Serializable, Comparable<Version> {
* @param ver2 Version to Compare
*/
public static int compare(Version ver1, Version ver2) {
LinkedList<Version> stack1 = new LinkedList<Version>(), stack2 = new LinkedList<Version>();
if (ver1 != null) {
if (ver1 == null && ver2 == null) {
// Both versions are null
return 0;
}
if (ver1 == null) {
// Version one is null
return -1;
}
if (ver2 == null) {
// Version two is null
return 1;
}
LinkedList<Version> stack1 = new LinkedList<Version>();
stack1.add(ver1);
while (ver1.parent != null) {
ver1 = ver1.parent;
stack1.add(ver1);
}
Collections.reverse(stack1);
}
if (ver2 != null) {
LinkedList<Version> stack2 = new LinkedList<Version>();
stack2.add(ver2);
while (ver2.parent != null) {
ver2 = ver2.parent;
stack2.add(ver2);
}
Collections.reverse(stack2);
}
int id;
for (id = 0; id < stack1.size(); id++) {
if (id >= stack2.size()) {
// Version one still has children when version two does not, making version two the official version
// Version one still has children when version two does not...
if (stack1.get(id).type.stageid < 0) {
// ...making version two the official version
return -1;
} else {
// ...however the direct child of version one has a stageid higher than or equal to a release
return 1;
}
}
int result = stack1.get(id).compare(stack2.get(id));
@ -309,8 +352,14 @@ public class Version implements Serializable, Comparable<Version> {
}
}
if (id < stack2.size()) {
// Version one does not children when version two still does, making version one the official version
// Version one does not children when version two still does...
if (stack2.get(id).type.stageid < 0) {
// ...making version one the official version
return 1;
} else {
// ...however the direct child of version two has a stageid higher than or equal to a release
return -1;
}
}
return 0;
}

View File

@ -50,7 +50,7 @@ public final class SubPlugin extends BungeeCord implements Listener {
public SubDataClient subdata = null;
//public static final Version version = new Version("2.13a");
//public static final Version version = new Version(new Version("2.13a"), Version.VersionType.BETA, 1); // TODO Beta Version Setting
public static final Version version = new Version(new Version(new Version("2.13a"), Version.VersionType.PRE_RELEASE, 2), Version.VersionType.BETA, 1); // TODO Beta Version Setting
public static final Version version = new Version(new Version(new Version("2.13a"), Version.VersionType.PRE_RELEASE, 2), Version.VersionType.BETA, 2); // TODO Beta Version Setting
public long lastReload = -1;