org.icefaces.ace.component.fileentry
Class FileEntryResourceHandler
java.lang.Object
javax.faces.application.ResourceHandler
javax.faces.application.ResourceHandlerWrapper
org.icefaces.ace.component.fileentry.FileEntryResourceHandler
- All Implemented Interfaces:
- javax.faces.FacesWrapper<javax.faces.application.ResourceHandler>
public class FileEntryResourceHandler
- extends javax.faces.application.ResourceHandlerWrapper
Fields inherited from class javax.faces.application.ResourceHandler |
LOCALE_PREFIX, RESOURCE_EXCLUDES_DEFAULT_VALUE, RESOURCE_EXCLUDES_PARAM_NAME, RESOURCE_IDENTIFIER |
Methods inherited from class javax.faces.application.ResourceHandlerWrapper |
createResource, createResource, createResource, getRendererTypeForResourceName, handleResourceRequest, libraryExists |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FileEntryResourceHandler
public FileEntryResourceHandler(javax.faces.application.ResourceHandler wrapped)
getWrapped
public javax.faces.application.ResourceHandler getWrapped()
- Specified by:
getWrapped
in interface javax.faces.FacesWrapper<javax.faces.application.ResourceHandler>
- Overrides:
getWrapped
in class javax.faces.application.ResourceHandlerWrapper
isResourceRequest
public boolean isResourceRequest(javax.faces.context.FacesContext facesContext)
- Overrides:
isResourceRequest
in class javax.faces.application.ResourceHandlerWrapper
evaluateCallback
protected static FileEntryCallback evaluateCallback(javax.faces.context.FacesContext facesContext,
FileEntryConfig config)
handleCallbackException
protected static void handleCallbackException(javax.faces.context.FacesContext facesContext,
java.lang.String clientId,
java.lang.RuntimeException e)
calculateFolder
protected static java.lang.String calculateFolder(javax.faces.context.FacesContext facesContext,
FileEntryConfig config)
makeFile
protected static java.io.File makeFile(FileEntryConfig config,
java.lang.String folder,
java.lang.String fileName)
throws java.io.IOException
- Throws:
java.io.IOException
trimInternetExplorerPath
protected static java.lang.String trimInternetExplorerPath(java.lang.String path)
afterLast
protected static java.lang.String afterLast(java.lang.String str,
java.lang.String seek)
Copyright 2013 ICEsoft Technologies Canada Corp., All Rights Reserved.