Class ToStringStyle
- java.lang.Object
-
- org.hibernate.search.util.common.impl.ToStringStyle
-
public class ToStringStyle extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ToStringStyleinlineDelimiterStructure()static ToStringStylemultilineDelimiterStructure()static ToStringStylemultilineIndentStructure()static ToStringStylemultilineIndentStructure(String nameValueSeparator, String indentInObject, String indentInListBulletPoint, String indentInListNoBulletPoint)
-
-
-
Method Detail
-
inlineDelimiterStructure
public static ToStringStyle inlineDelimiterStructure()
- Returns:
- A single-line format relying on delimiters to display the structure (JSON-style).
-
multilineDelimiterStructure
public static ToStringStyle multilineDelimiterStructure()
- Returns:
- A multi-line format relying on delimiters to display the structure (JSON-style).
-
multilineIndentStructure
public static ToStringStyle multilineIndentStructure()
- Returns:
- A multi-line format relying on indenting and bullet points to display the structure (YAML-style). Object and array delimiters are not shown.
-
multilineIndentStructure
public static ToStringStyle multilineIndentStructure(String nameValueSeparator, String indentInObject, String indentInListBulletPoint, String indentInListNoBulletPoint)
- Returns:
- A multi-line format relying on indenting and bullet points to display the structure (YAML-style). Object and array delimiters are not shown.
-
-