org.weborganic.bastille.psml
Class GetContentFolderInfo

java.lang.Object
  extended by org.weborganic.bastille.psml.GetContentFolderInfo
All Implemented Interfaces:
Cacheable, ContentGenerator

public final class GetContentFolderInfo
extends Object
implements ContentGenerator, Cacheable

Returns information about a file in the WEB-INF/psml based on the specified by the path info.

If the file is a directory, lists the files corresponding to the specified directory.

Since:
0.7.0

Constructor Summary
GetContentFolderInfo()
           
 
Method Summary
 String getETag(ContentRequest req)
           
 void process(ContentRequest req, XMLWriter xml)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GetContentFolderInfo

public GetContentFolderInfo()
Method Detail

getETag

public String getETag(ContentRequest req)
Specified by:
getETag in interface Cacheable

process

public void process(ContentRequest req,
                    XMLWriter xml)
             throws BerliozException,
                    IOException
Specified by:
process in interface ContentGenerator
Throws:
BerliozException
IOException