hirondelle.web4jtools.metrics.tabs
Class TabsRemoveAction
Object
ActionImpl
hirondelle.web4jtools.metrics.base.MetricsAction
hirondelle.web4jtools.metrics.tabs.TabsRemoveAction
- All Implemented Interfaces:
- Action
public class TabsRemoveAction
- extends MetricsAction
Replace all tab characters in source code with spaces.
The number of spaces used is controlled by the
NumSpacesForTabs setting in web.xml.
Since this action can potentially make a large number of irreversible
edits to your source code, it is prudent to make a back up copy of your source before
executing.
Methods inherited from class ActionImpl |
addError, addError, addError, addMessage, addMessage, addToRequest, addToSession, copyFromSessionToRequest, createSessionAndCsrfToken, endSession, getErrors, getExistingSession, getFromSession, getIdParam, getIdParams, getLocale, getLoggedInUserName, getMessages, getOperation, getOrderBy, getParam, getParamUnsafe, getRequestParser, getResponsePage, getTimeZone, getUserId, hasErrors, removeFromSession, setResponsePage |
Methods inherited from class Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TabsRemoveAction
public TabsRemoveAction(RequestParser aRequestParser)
- Full constructor.
readConfig
public static void readConfig(ServletConfig aConfig)
- Read in config from web.xml. Called only upon startup.
calculateMetric
protected void calculateMetric()
- For all source code files, replace tab characters with spaces.
- Specified by:
calculateMetric
in class MetricsAction
Copyright Hirondelle Systems - Generated 2013Oct19.12.26