Package com.piketec.tpt.api.properties
Interface Property
-
- All Known Implementing Classes:
PropertyBool
,PropertyDecimal
,PropertyInt
,PropertyList
,PropertyLong
,PropertyMap
,PropertyString
public interface Property
Represents an arbitrary property value. The structure of the value can be arbitrary, too.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
toString(java.lang.StringBuffer buffer, java.lang.String indentation)
Fills the givenStringBuffer
with a clear String-representation of all (possibly nested) property values of thisProperty
object.
-
-
-
Method Detail
-
toString
void toString(java.lang.StringBuffer buffer, java.lang.String indentation)
Fills the givenStringBuffer
with a clear String-representation of all (possibly nested) property values of thisProperty
object.For that, the given String
indentation
is used initially and each additional element is shifted by additional whitespaces.- Parameters:
buffer
- buffer to append the property toindentation
- String representing the current indentation.
-
-