Examples of printWrapped()


Examples of org.apache.commons.cli.HelpFormatter.printWrapped()

        for (final Entry<String, IngestTypePluginProviderSpi<?, ?>> pluginProviderEntry : pluginProviderRegistry.entrySet()) {
          final IngestTypePluginProviderSpi<?, ?> pluginProvider = pluginProviderEntry.getValue();
          final String desc = pluginProvider.getIngestTypeDescription() == null ? "no description" : pluginProvider.getIngestTypeDescription();
          final String text = pluginProviderEntry.getKey() + ":\n" + desc;

          formatter.printWrapped(
              pw,
              formatter.getWidth(),
              5,
              text);
          pw.println();
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.