anvil.server
Class DirContentHandler

java.lang.Object
  |
  +--anvil.server.DirContentHandler
All Implemented Interfaces:
ContentHandler

public class DirContentHandler
extends java.lang.Object
implements ContentHandler


Field Summary
static ContentHandler INSTANCE
           
static java.util.Comparator SORT_BY_DATE
           
static java.util.Comparator SORT_BY_NAME
           
static java.util.Comparator SORT_BY_SIZE
           
 
Constructor Summary
DirContentHandler()
           
 
Method Summary
 boolean isSessionRequired()
           
 void service(Context context, Resource resource)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INSTANCE

public static final ContentHandler INSTANCE

SORT_BY_NAME

public static final java.util.Comparator SORT_BY_NAME

SORT_BY_SIZE

public static final java.util.Comparator SORT_BY_SIZE

SORT_BY_DATE

public static final java.util.Comparator SORT_BY_DATE
Constructor Detail

DirContentHandler

public DirContentHandler()
Method Detail

isSessionRequired

public boolean isSessionRequired()
Specified by:
isSessionRequired in interface ContentHandler

service

public void service(Context context,
                    Resource resource)
             throws java.lang.Exception
Specified by:
service in interface ContentHandler
java.lang.Exception