org.apache.jackrabbit.standalone.cli.info
Class AbstractLs
java.lang.Object
org.apache.jackrabbit.standalone.cli.info.AbstractLs
- All Implemented Interfaces:
- org.apache.commons.chain.Command
- Direct Known Subclasses:
- AbstractLsItems, AbstractLsNodes, AbstractLsProperties
public abstract class AbstractLs
- extends Object
- implements org.apache.commons.chain.Command
Ls superclass
Field Summary |
protected int |
longWidth
long width |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.commons.chain.Command |
execute |
longWidth
protected int longWidth
- long width
AbstractLs
public AbstractLs()
printFooter
protected void printFooter(org.apache.commons.chain.Context ctx,
Iterator iter)
- Print the footer
- Parameters:
ctx
- the Context
iter
- the Iterator
getDefaultMaxItems
public int getDefaultMaxItems()
- Returns:
- the default max number of
Items
s to show
setDefaultMaxItems
public void setDefaultMaxItems(int maxItems)
- Parameters:
maxItems
- the default max number of Items
s to set
isPath
public boolean isPath()
- Returns:
- the path
setPath
public void setPath(boolean path)
- Parameters:
path
- the path to set
getMaxItemsKey
public String getMaxItemsKey()
- Returns:
- the max number of items key
setMaxItemsKey
public void setMaxItemsKey(String maxItemsKey)
- Parameters:
maxItemsKey
- the max number of items key to set
getMaxItems
protected int getMaxItems(org.apache.commons.chain.Context ctx)
- Parameters:
ctx
- the Context
- Returns:
- the max number of
Item
s to show
Copyright © 2004-2010 The Apache Software Foundation. All Rights Reserved.