javazoom.transfer.client.http
Class CustomFileNameMap

java.lang.Object
  extended byjavazoom.transfer.client.http.CustomFileNameMap
All Implemented Interfaces:
java.net.FileNameMap

public class CustomFileNameMap
extends java.lang.Object
implements java.net.FileNameMap

This class allows to add/overwrite JRE content-types for HTTP upload.


Constructor Summary
CustomFileNameMap()
          Constructor.
 
Method Summary
 java.lang.String getContentTypeFor(java.lang.String filename)
           
 void updateMap(java.lang.String flat)
          Update custom content-types.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CustomFileNameMap

public CustomFileNameMap()
Constructor.

Method Detail

updateMap

public void updateMap(java.lang.String flat)
Update custom content-types.

Parameters:
flat -

getContentTypeFor

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


Copyright © 1999-2005 JavaZOOM.