public abstract class AbstractLs extends Object implements org.apache.commons.chain.Command
| Modifier and Type | Field and Description | 
|---|---|
| protected int | longWidthlong width | 
| Constructor and Description | 
|---|
| AbstractLs() | 
| Modifier and Type | Method and Description | 
|---|---|
| int | getDefaultMaxItems() | 
| protected int | getMaxItems(org.apache.commons.chain.Context ctx) | 
| String | getMaxItemsKey() | 
| boolean | isPath() | 
| protected void | printFooter(org.apache.commons.chain.Context ctx,
           Iterator iter)Print the footer | 
| void | setDefaultMaxItems(int maxItems) | 
| void | setMaxItemsKey(String maxItemsKey) | 
| void | setPath(boolean path) | 
protected void printFooter(org.apache.commons.chain.Context ctx,
                           Iterator iter)
ctx - the Contextiter - the Iteratorpublic int getDefaultMaxItems()
Items s to showpublic void setDefaultMaxItems(int maxItems)
maxItems - the default max number of Items s to setpublic boolean isPath()
public void setPath(boolean path)
path - the path to setpublic String getMaxItemsKey()
public void setMaxItemsKey(String maxItemsKey)
maxItemsKey - the max number of items key to setprotected int getMaxItems(org.apache.commons.chain.Context ctx)
ctx - the ContextItem s to showCopyright © 2004–2022 The Apache Software Foundation. All rights reserved.