PlotSquared/doc/com/intellectualcrafters/jnbt/NBTConstants.html

548 lines
26 KiB
HTML
Raw Normal View History

2014-11-16 11:14:40 +01:00
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="sv">
<head>
<!-- Generated by javadoc (version 1.7.0_67) on Sun Nov 16 11:09:55 CET 2014 -->
<title>NBTConstants</title>
<meta name="date" content="2014-11-16">
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
</head>
<body>
<script type="text/javascript"><!--
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title = "NBTConstants";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar_top">
<!-- -->
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-files/index-1.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../com/intellectualcrafters/jnbt/LongTag.html"
title="class in com.intellectualcrafters.jnbt"><span class="strong">Prev Class</span></a></li>
<li><a href="../../../com/intellectualcrafters/jnbt/NBTInputStream.html"
title="class in com.intellectualcrafters.jnbt"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?com/intellectualcrafters/jnbt/NBTConstants.html" target="_top">Frames</a></li>
<li><a href="NBTConstants.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if (window == top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field_summary">Field</a>&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field_detail">Field</a>&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">com.intellectualcrafters.jnbt</div>
<h2 title="Class NBTConstants" class="title">Class NBTConstants</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li>com.intellectualcrafters.jnbt.NBTConstants</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<hr>
<br>
<pre>public final class <span class="strong">NBTConstants</span>
extends java.lang.Object</pre>
<div class="block">A class which holds constant values.</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- =========== FIELD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="field_summary">
<!-- -->
</a>
<h3>Field Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0"
summary="Field Summary table, listing fields, and an explanation">
<caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Field and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static java.nio.charset.Charset</code></td>
<td class="colLast"><code><strong><a
href="../../../com/intellectualcrafters/jnbt/NBTConstants.html#CHARSET">CHARSET</a></strong></code>&nbsp;
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a
href="../../../com/intellectualcrafters/jnbt/NBTConstants.html#TYPE_BYTE">TYPE_BYTE</a></strong></code>&nbsp;
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a
href="../../../com/intellectualcrafters/jnbt/NBTConstants.html#TYPE_BYTE_ARRAY">TYPE_BYTE_ARRAY</a></strong></code>&nbsp;
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a
href="../../../com/intellectualcrafters/jnbt/NBTConstants.html#TYPE_COMPOUND">TYPE_COMPOUND</a></strong></code>&nbsp;
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a
href="../../../com/intellectualcrafters/jnbt/NBTConstants.html#TYPE_DOUBLE">TYPE_DOUBLE</a></strong></code>&nbsp;
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a
href="../../../com/intellectualcrafters/jnbt/NBTConstants.html#TYPE_END">TYPE_END</a></strong></code>&nbsp;
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a
href="../../../com/intellectualcrafters/jnbt/NBTConstants.html#TYPE_FLOAT">TYPE_FLOAT</a></strong></code>&nbsp;
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a
href="../../../com/intellectualcrafters/jnbt/NBTConstants.html#TYPE_INT">TYPE_INT</a></strong></code>&nbsp;
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a
href="../../../com/intellectualcrafters/jnbt/NBTConstants.html#TYPE_INT_ARRAY">TYPE_INT_ARRAY</a></strong></code>&nbsp;
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a
href="../../../com/intellectualcrafters/jnbt/NBTConstants.html#TYPE_LIST">TYPE_LIST</a></strong></code>&nbsp;
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a
href="../../../com/intellectualcrafters/jnbt/NBTConstants.html#TYPE_LONG">TYPE_LONG</a></strong></code>&nbsp;
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a
href="../../../com/intellectualcrafters/jnbt/NBTConstants.html#TYPE_SHORT">TYPE_SHORT</a></strong></code>&nbsp;
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><strong><a
href="../../../com/intellectualcrafters/jnbt/NBTConstants.html#TYPE_STRING">TYPE_STRING</a></strong></code>&nbsp;
</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method_summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0"
summary="Method Summary table, listing methods, and an explanation">
<caption><span>Methods</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static java.lang.Class&lt;? extends <a
href="../../../com/intellectualcrafters/jnbt/Tag.html"
title="class in com.intellectualcrafters.jnbt">Tag</a>&gt;</code></td>
<td class="colLast"><code><strong><a
href="../../../com/intellectualcrafters/jnbt/NBTConstants.html#getClassFromType(int)">getClassFromType</a></strong>(int&nbsp;id)</code>
<div class="block">Convert a type ID to its corresponding <a
href="../../../com/intellectualcrafters/jnbt/Tag.html"
title="class in com.intellectualcrafters.jnbt"><code>Tag</code></a> class.
</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait,
wait</code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ FIELD DETAIL =========== -->
<ul class="blockList">
<li class="blockList"><a name="field_detail">
<!-- -->
</a>
<h3>Field Detail</h3>
<a name="CHARSET">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>CHARSET</h4>
<pre>public static final&nbsp;java.nio.charset.Charset CHARSET</pre>
</li>
</ul>
<a name="TYPE_END">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>TYPE_END</h4>
<pre>public static final&nbsp;int TYPE_END</pre>
<dl>
<dt><span class="strong">See Also:</span></dt>
<dd>
<a href="../../../constant-values.html#com.intellectualcrafters.jnbt.NBTConstants.TYPE_END">Constant
Field Values</a></dd>
</dl>
</li>
</ul>
<a name="TYPE_BYTE">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>TYPE_BYTE</h4>
<pre>public static final&nbsp;int TYPE_BYTE</pre>
<dl>
<dt><span class="strong">See Also:</span></dt>
<dd>
<a href="../../../constant-values.html#com.intellectualcrafters.jnbt.NBTConstants.TYPE_BYTE">Constant
Field Values</a></dd>
</dl>
</li>
</ul>
<a name="TYPE_SHORT">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>TYPE_SHORT</h4>
<pre>public static final&nbsp;int TYPE_SHORT</pre>
<dl>
<dt><span class="strong">See Also:</span></dt>
<dd>
<a href="../../../constant-values.html#com.intellectualcrafters.jnbt.NBTConstants.TYPE_SHORT">Constant
Field Values</a></dd>
</dl>
</li>
</ul>
<a name="TYPE_INT">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>TYPE_INT</h4>
<pre>public static final&nbsp;int TYPE_INT</pre>
<dl>
<dt><span class="strong">See Also:</span></dt>
<dd>
<a href="../../../constant-values.html#com.intellectualcrafters.jnbt.NBTConstants.TYPE_INT">Constant
Field Values</a></dd>
</dl>
</li>
</ul>
<a name="TYPE_LONG">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>TYPE_LONG</h4>
<pre>public static final&nbsp;int TYPE_LONG</pre>
<dl>
<dt><span class="strong">See Also:</span></dt>
<dd>
<a href="../../../constant-values.html#com.intellectualcrafters.jnbt.NBTConstants.TYPE_LONG">Constant
Field Values</a></dd>
</dl>
</li>
</ul>
<a name="TYPE_FLOAT">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>TYPE_FLOAT</h4>
<pre>public static final&nbsp;int TYPE_FLOAT</pre>
<dl>
<dt><span class="strong">See Also:</span></dt>
<dd>
<a href="../../../constant-values.html#com.intellectualcrafters.jnbt.NBTConstants.TYPE_FLOAT">Constant
Field Values</a></dd>
</dl>
</li>
</ul>
<a name="TYPE_DOUBLE">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>TYPE_DOUBLE</h4>
<pre>public static final&nbsp;int TYPE_DOUBLE</pre>
<dl>
<dt><span class="strong">See Also:</span></dt>
<dd>
<a href="../../../constant-values.html#com.intellectualcrafters.jnbt.NBTConstants.TYPE_DOUBLE">Constant
Field Values</a></dd>
</dl>
</li>
</ul>
<a name="TYPE_BYTE_ARRAY">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>TYPE_BYTE_ARRAY</h4>
<pre>public static final&nbsp;int TYPE_BYTE_ARRAY</pre>
<dl>
<dt><span class="strong">See Also:</span></dt>
<dd>
<a href="../../../constant-values.html#com.intellectualcrafters.jnbt.NBTConstants.TYPE_BYTE_ARRAY">Constant
Field Values</a></dd>
</dl>
</li>
</ul>
<a name="TYPE_STRING">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>TYPE_STRING</h4>
<pre>public static final&nbsp;int TYPE_STRING</pre>
<dl>
<dt><span class="strong">See Also:</span></dt>
<dd>
<a href="../../../constant-values.html#com.intellectualcrafters.jnbt.NBTConstants.TYPE_STRING">Constant
Field Values</a></dd>
</dl>
</li>
</ul>
<a name="TYPE_LIST">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>TYPE_LIST</h4>
<pre>public static final&nbsp;int TYPE_LIST</pre>
<dl>
<dt><span class="strong">See Also:</span></dt>
<dd>
<a href="../../../constant-values.html#com.intellectualcrafters.jnbt.NBTConstants.TYPE_LIST">Constant
Field Values</a></dd>
</dl>
</li>
</ul>
<a name="TYPE_COMPOUND">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>TYPE_COMPOUND</h4>
<pre>public static final&nbsp;int TYPE_COMPOUND</pre>
<dl>
<dt><span class="strong">See Also:</span></dt>
<dd>
<a href="../../../constant-values.html#com.intellectualcrafters.jnbt.NBTConstants.TYPE_COMPOUND">Constant
Field Values</a></dd>
</dl>
</li>
</ul>
<a name="TYPE_INT_ARRAY">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>TYPE_INT_ARRAY</h4>
<pre>public static final&nbsp;int TYPE_INT_ARRAY</pre>
<dl>
<dt><span class="strong">See Also:</span></dt>
<dd>
<a href="../../../constant-values.html#com.intellectualcrafters.jnbt.NBTConstants.TYPE_INT_ARRAY">Constant
Field Values</a></dd>
</dl>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method_detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="getClassFromType(int)">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>getClassFromType</h4>
<pre>public static&nbsp;java.lang.Class&lt;? extends <a
href="../../../com/intellectualcrafters/jnbt/Tag.html"
title="class in com.intellectualcrafters.jnbt">Tag</a>&gt;&nbsp;getClassFromType(int&nbsp;id)</pre>
<div class="block">Convert a type ID to its corresponding <a
href="../../../com/intellectualcrafters/jnbt/Tag.html"
title="class in com.intellectualcrafters.jnbt"><code>Tag</code></a> class.
</div>
<dl>
<dt><span class="strong">Parameters:</span></dt>
<dd><code>id</code> - type ID</dd>
<dt><span class="strong">Returns:</span></dt>
<dd>tag class</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code>java.lang.IllegalArgumentException</code> - thrown if the tag ID is not valid
</dd>
</dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar_bottom">
<!-- -->
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-files/index-1.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../com/intellectualcrafters/jnbt/LongTag.html"
title="class in com.intellectualcrafters.jnbt"><span class="strong">Prev Class</span></a></li>
<li><a href="../../../com/intellectualcrafters/jnbt/NBTInputStream.html"
title="class in com.intellectualcrafters.jnbt"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?com/intellectualcrafters/jnbt/NBTConstants.html" target="_top">Frames</a></li>
<li><a href="NBTConstants.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if (window == top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field_summary">Field</a>&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field_detail">Field</a>&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>