Package edu.uiuc.ncsa.security.util.cli
Class FormatUtil
- java.lang.Object
-
- edu.uiuc.ncsa.security.util.cli.FormatUtil
-
public class FormatUtil extends Object
Created by Jeff Gaynor
on 1/25/21 at 5:32 PM
-
-
Constructor Summary
Constructors Constructor Description FormatUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidformatList(InputLine inputLine, List<String> listOf)This allows for setting the formattingstatic voidformatList(InputLine inputLine, TreeSet<String> list)static IOInterfacegetIoInterface()static voidprintFormatListHelp(IOInterface io, InputLine inputLine)static voidprintFormatListHelp(IOInterface io, String indent, InputLine inputLine)static voidsay(String x)static voidsetIoInterface(IOInterface ioInterface)Allows to set the format utility to use theIOInterface.
-
-
-
Method Detail
-
getIoInterface
public static IOInterface getIoInterface()
-
setIoInterface
public static void setIoInterface(IOInterface ioInterface)
Allows to set the format utility to use theIOInterface. This is pretty specialized, but it can be done.- Parameters:
ioInterface-
-
say
public static void say(String x)
-
printFormatListHelp
public static void printFormatListHelp(IOInterface io, InputLine inputLine)
-
printFormatListHelp
public static void printFormatListHelp(IOInterface io, String indent, InputLine inputLine)
-
formatList
public static void formatList(InputLine inputLine, List<String> listOf)
This allows for setting the formatting- Parameters:
inputLine-listOf-
-
-