org.apache.geronimo.deployment.cli
Class DeployUtils
java.lang.Object
org.apache.geronimo.deployment.plugin.ConfigIDExtractor
org.apache.geronimo.deployment.cli.DeployUtils
public class DeployUtils
- extends org.apache.geronimo.deployment.plugin.ConfigIDExtractor
Various helpers for deployment.
Method Summary |
static String |
reformat(String source,
int indent,
int endCol)
Split up an output line so it indents at beginning and end (to fit in a
typical terminal) and doesn't break in the middle of a word. |
Methods inherited from class org.apache.geronimo.deployment.plugin.ConfigIDExtractor |
extractModuleIdFromArchive, extractModuleIdFromPlan, identifyTargetModuleIDs, isJarFile |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DeployUtils
public DeployUtils()
reformat
public static String reformat(String source,
int indent,
int endCol)
- Split up an output line so it indents at beginning and end (to fit in a
typical terminal) and doesn't break in the middle of a word.
- Parameters:
source
- The unformatted Stringindent
- The number of characters to indent on the leftendCol
- The maximum width of the entire line in characters,
including indent (indent 10 with endCol 70 results
in 60 "usable" characters).
Copyright © 2006 Apache Software Foundation. All Rights Reserved.