public class ComponentInfo
Class ComponentInfo. Provides componentinfo functionality for the Hytale server.
java.lang.Object > ComponentInfo
Field Summary
sb
final
StringBuilder
sb
Field sb.
fieldIndent
final
String
fieldIndent
Field fieldIndent.
Method Detail
ComponentInfo
public
public
ComponentInfo
(final String name, final int index, final int nestingDepth)
Method ComponentInfo.
- Parameters:
final Stringnamefinal intindexfinal intnestingDepth
addField
public
void
addField
(final String field)
Method addField.
- Parameters:
final Stringfield
toString
public
String
toString
()
Method toString.
StringBuilder
public
new
StringBuilder
(" ".repeat(this.nestingDepth)
Method StringBuilder.
- Parameters:
"".repeat(this.nestingDepth
getName
public
String
getName
()
Method getName.
getIndex
public
int
getIndex
()
Method getIndex.
getFields
public
List
getFields
()
Method getFields.