juju.reattore.server.intercept.impl
Class ExtMap

java.lang.Object
  |
  +--juju.reattore.util.NameValue
        |
        +--juju.reattore.server.intercept.impl.ExtMap

public class ExtMap
extends NameValue

Extension to mime type mapping.


Constructor Summary
ExtMap()
           
 
Method Summary
 void setExt(java.lang.String val)
          Sets the extension to map from.
 void setType(java.lang.String val)
          Sets the mime type to map to
 
Methods inherited from class juju.reattore.util.NameValue
getName, getValue, setName, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExtMap

public ExtMap()
Method Detail

setExt

public void setExt(java.lang.String val)
Sets the extension to map from.

Parameters:
val - The ext such as 'html'

setType

public void setType(java.lang.String val)
Sets the mime type to map to

Parameters:
val - The type such as 'text/html'


Copyright © 2002-2003 Michael Hope. All Rights Reserved.