de.grogra.pf.io
Class FileTypeItem.Map

java.lang.Object
  extended by de.grogra.pf.io.FileTypeItem.Map
All Implemented Interfaces:
ItemCriterion, java.net.FileNameMap
Enclosing class:
FileTypeItem

public static class FileTypeItem.Map
extends java.lang.Object
implements java.net.FileNameMap, ItemCriterion


Field Summary
 
Fields inherited from interface de.grogra.pf.registry.ItemCriterion
INSTANCE_OF
 
Constructor Summary
FileTypeItem.Map(Registry registry)
           
 
Method Summary
 java.lang.String getContentTypeFor(java.lang.String fileName)
           
 java.lang.String getRootDirectory()
           
 boolean isFulfilled(Item item, java.lang.Object info)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileTypeItem.Map

public FileTypeItem.Map(Registry registry)
Method Detail

getContentTypeFor

public java.lang.String getContentTypeFor(java.lang.String fileName)
Specified by:
getContentTypeFor in interface java.net.FileNameMap

getRootDirectory

public java.lang.String getRootDirectory()
Specified by:
getRootDirectory in interface ItemCriterion

isFulfilled

public boolean isFulfilled(Item item,
                           java.lang.Object info)
Specified by:
isFulfilled in interface ItemCriterion