|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.benow.web.path.PathHandler
org.benow.web.path.FileBasedPathHandler
org.benow.web.theme.ThemedImagePathHandler
public class ThemedImagePathHandler
Returns the themed image for an image request. ie if /images/title.png is requested, /images/title.blue.ipod.png might be returned if the 'blue' theme is active for the user on an ipod.
| Field Summary |
|---|
| Fields inherited from class org.benow.web.path.FileBasedPathHandler |
|---|
base |
| Fields inherited from class org.benow.web.path.PathHandler |
|---|
CONTENT_LENGTH_UNKNOWN, LAST_MODIFIED_UNKNOWN, params, request, response |
| Constructor Summary | |
|---|---|
ThemedImagePathHandler()
|
|
| Method Summary | |
|---|---|
boolean |
canHandle(java.lang.String fileName)
Return true if the handler can handle the given path. |
protected java.lang.Object |
handle(java.io.OutputStream out)
|
| Methods inherited from class org.benow.web.path.FileBasedPathHandler |
|---|
deliverFile, deliverResource |
| Methods inherited from class org.benow.web.path.PathHandler |
|---|
deliverHTML, deliverStream, deliverStream, deliverStream, handle, handle, handle |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ThemedImagePathHandler()
| Method Detail |
|---|
public boolean canHandle(java.lang.String fileName)
throws WebException
PathHandler
canHandle in class PathHandlerWebException
protected java.lang.Object handle(java.io.OutputStream out)
throws java.lang.Exception
handle in class PathHandlerjava.lang.Exception
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||