org.weborganic.bastille.psml
Class GetFile

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

public final class GetFile
extends Object
implements ContentGenerator, Cacheable

Returns a file from the path.

Since:
0.7.0

Constructor Summary
GetFile()
           
 
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

GetFile

public GetFile()
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