public static final class IndentingWriterFactory.Builder extends Object
IndentingWriterFactory.| Modifier and Type | Method and Description |
|---|---|
IndentingWriterFactory.Builder |
indentingStrategy(String contentId,
Function<Integer,String> indentingStrategy)
Register an indenting strategy for the specified content.
|
public IndentingWriterFactory.Builder indentingStrategy(String contentId, Function<Integer,String> indentingStrategy)
contentId - the identifier of the content to configureindentingStrategy - the indent strategy for that particular contentIndentingWriterFactory.createIndentingWriter(String, Writer)Copyright © 2022 Pivotal Software, Inc.. All rights reserved.