html.resources
Class EditorResource

java.lang.Object
  extended by html.resources.EditorResource
Direct Known Subclasses:
EditorBinaryResource, EditorTextResource

public abstract class EditorResource
extends java.lang.Object

Date: 2005-12-17 Time: 12:41:13

Author:
Krzysztof Madyniak (kmadyniak@torn.com.pl)

Constructor Summary
EditorResource(java.lang.String resourceName, java.lang.String contentType)
           
 
Method Summary
 java.lang.String getContentType()
           
 java.lang.String getResourceName()
           
abstract  void write(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EditorResource

public EditorResource(java.lang.String resourceName,
                      java.lang.String contentType)
Method Detail

write

public abstract void write(javax.servlet.http.HttpServletRequest request,
                           javax.servlet.http.HttpServletResponse response)
                    throws java.io.IOException
Throws:
java.io.IOException

getResourceName

public java.lang.String getResourceName()

getContentType

public java.lang.String getContentType()