NetKernel APIs


com.ten60.netkernel.util
Class ExtraMimeTypes

java.lang.Object
  extended bycom.ten60.netkernel.util.ExtraMimeTypes
All Implemented Interfaces:
FileNameMap

public class ExtraMimeTypes
extends Object
implements FileNameMap

Provides additional filename extention lookups to the JDK URLConnection classes


Constructor Summary
ExtraMimeTypes(FileNameMap aFNM)
           
 
Method Summary
 String getContentTypeFor(String fileName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExtraMimeTypes

public ExtraMimeTypes(FileNameMap aFNM)
Method Detail

getContentTypeFor

public String getContentTypeFor(String fileName)
Specified by:
getContentTypeFor in interface FileNameMap

NetKernel APIs


Copyright © 2002-2004 1060 Research Ltd. All Rights Reserved.