public interface PrinterConfig
This class was designed to support various PrettyPrint backend.
Example usage:
public class HtmlPrinterConfig implements PrinterConfig {}
For a more practical example, see StringPrinterConfig
-
嵌套类概要
嵌套类修饰符和类型接口说明static classBasic configure for other configs to easily extend config flags. -
字段概要
字段 -
方法概要
修饰符和类型方法说明default intThe line count that a page can hold.default intThe character count that a line can hold.default @NotNull Stylist
-
字段详细资料
-
INFINITE_SIZE
static final int INFINITE_SIZEIndicate that the width or height has infinite size.- 另请参阅:
-
-
方法详细资料
-
getPageWidth
default int getPageWidth()The character count that a line can hold.- 返回:
- page width or -1 for infinity page width.
-
getPageHeight
default int getPageHeight()The line count that a page can hold.- 返回:
- page height or -1 for infinity page height.
-
getStylist
-