public abstract class AbstractLs extends Object implements org.apache.commons.chain.Command
Modifier and Type | Field and Description |
---|---|
protected int |
longWidth
long 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 Context
iter
- the Iterator
public 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 Context
Item
s to showCopyright © 2004–2024 The Apache Software Foundation. All rights reserved.