public class ListPrinter extends Object implements Closeable
Constructor and Description |
---|
ListPrinter(TokenWriter printerHelper,
boolean startPrefixSpace,
String start,
boolean startSuffixSpace,
boolean nextPrefixSpace,
String next,
boolean nextSuffixSpace,
boolean endPrefixSpace,
String end) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
printSeparatorIfAppropriate()
Call that before printing of list item starts
|
public ListPrinter(TokenWriter printerHelper, boolean startPrefixSpace, String start, boolean startSuffixSpace, boolean nextPrefixSpace, String next, boolean nextSuffixSpace, boolean endPrefixSpace, String end)
public void printSeparatorIfAppropriate()
public void close()
close
in interface Closeable
close
in interface AutoCloseable
Copyright © 2007–2019 Inria. All rights reserved.