类 TreePrinterHelper
- java.lang.Object
-
- org.hibernate.loader.plan.build.spi.TreePrinterHelper
-
public class TreePrinterHelper extends Object
A singleton helper class for printing tree structures using indentation.- 作者:
- Steve Ebersole
-
-
字段概要
字段 修饰符和类型 字段 说明 static intINDENTATIONThe number of characters to indent.static TreePrinterHelperINSTANCESingleton access
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 StringgenerateNodePrefix(int nIndentations)Returns a string containing the specified number of indentations, where each indentation containsINDENTATIONblank characters.
-
-
-
字段详细资料
-
INDENTATION
public static final int INDENTATION
The number of characters to indent.- 另请参阅:
- 常量字段值
-
INSTANCE
public static final TreePrinterHelper INSTANCE
Singleton access
-
-
方法详细资料
-
generateNodePrefix
public String generateNodePrefix(int nIndentations)
Returns a string containing the specified number of indentations, where each indentation containsINDENTATIONblank characters.- 参数:
nIndentations- the number of indentations in the returned String.- 返回:
- the String containing the specified number of indentations.
-
-