org.apache.jackrabbit.standalone.cli.info
Class Cat

java.lang.Object
  extended by org.apache.jackrabbit.standalone.cli.info.Cat
All Implemented Interfaces:
org.apache.commons.chain.Command

public class Cat
extends Object
implements org.apache.commons.chain.Command

Display the content of a Property or a Node of type nt:file or nt:resource.


Constructor Summary
Cat()
           
 
Method Summary
 boolean execute(org.apache.commons.chain.Context ctx)
          
 String getIndexKey()
           
 String getPathKey()
           
 void setIndexKey(String indexKey)
           
 void setPathKey(String path)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Cat

public Cat()
Method Detail

execute

public boolean execute(org.apache.commons.chain.Context ctx)
                throws Exception

Specified by:
execute in interface org.apache.commons.chain.Command
Throws:
Exception

getPathKey

public String getPathKey()
Returns:
the path key

setPathKey

public void setPathKey(String path)
Parameters:
path - the path key to set

getIndexKey

public String getIndexKey()
Returns:
the index key

setIndexKey

public void setIndexKey(String indexKey)
Parameters:
indexKey - the index key to set


Copyright © 2004-2010 The Apache Software Foundation. All Rights Reserved.