ICEfaces 3.1.0
Java API Documentation

org.icefaces.ace.component.fileentry
Class FileEntryPhaseListener

java.lang.Object
  extended by org.icefaces.ace.component.fileentry.FileEntryPhaseListener
All Implemented Interfaces:
java.io.Serializable, java.util.EventListener, javax.faces.event.PhaseListener

public class FileEntryPhaseListener
extends java.lang.Object
implements javax.faces.event.PhaseListener

See Also:
Serialized Form

Constructor Summary
FileEntryPhaseListener()
           
 
Method Summary
protected static java.lang.String afterLast(java.lang.String str, java.lang.String seek)
           
 void afterPhase(javax.faces.event.PhaseEvent phaseEvent)
           
 void beforePhase(javax.faces.event.PhaseEvent phaseEvent)
           
protected static java.lang.String calculateFolder(javax.faces.context.FacesContext facesContext, FileEntryConfig config)
           
protected static FileEntryCallback evaluateCallback(javax.faces.context.FacesContext facesContext, FileEntryConfig config)
           
 javax.faces.event.PhaseId getPhaseId()
           
protected static void handleCallbackException(javax.faces.context.FacesContext facesContext, java.lang.String clientId, java.lang.RuntimeException e)
           
protected static java.io.File makeFile(FileEntryConfig config, java.lang.String folder, java.lang.String fileName)
           
protected static java.lang.String trimInternetExplorerPath(java.lang.String path)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileEntryPhaseListener

public FileEntryPhaseListener()
Method Detail

afterPhase

public void afterPhase(javax.faces.event.PhaseEvent phaseEvent)
Specified by:
afterPhase in interface javax.faces.event.PhaseListener

beforePhase

public void beforePhase(javax.faces.event.PhaseEvent phaseEvent)
Specified by:
beforePhase in interface javax.faces.event.PhaseListener

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)

getPhaseId

public javax.faces.event.PhaseId getPhaseId()
Specified by:
getPhaseId in interface javax.faces.event.PhaseListener

ICEfaces 3.1.0
Java API Documentation

Copyright 2012 ICEsoft Technologies Canada Corp., All Rights Reserved.