public class FileEntryUpload
extends java.lang.Object
implements javax.faces.event.PhaseListener
| Modifier and Type | Class and Description |
|---|---|
static class |
FileEntryUpload.CallbackException |
| Constructor and Description |
|---|
FileEntryUpload() |
| Modifier and Type | Method and Description |
|---|---|
protected static java.lang.String |
afterLast(java.lang.String str,
java.lang.String seek) |
void |
afterPhase(javax.faces.event.PhaseEvent event) |
void |
beforePhase(javax.faces.event.PhaseEvent event) |
protected static java.lang.String |
calculateFolder(javax.faces.context.FacesContext facesContext,
FileEntry fileEntry) |
protected static FileEntryCallback |
evaluateCallback(javax.faces.context.FacesContext facesContext,
FileEntry fileEntry) |
javax.faces.event.PhaseId |
getPhaseId() |
protected static void |
handleCallbackException(javax.faces.context.FacesContext facesContext,
java.lang.String clientId,
java.lang.Throwable e) |
protected static java.io.File |
makeFile(FileEntry fileEntry,
java.lang.String folder,
java.lang.String fileName) |
protected static java.lang.String |
trimInternetExplorerPath(java.lang.String path) |
public void beforePhase(javax.faces.event.PhaseEvent event)
beforePhase in interface javax.faces.event.PhaseListenerpublic javax.faces.event.PhaseId getPhaseId()
getPhaseId in interface javax.faces.event.PhaseListenerpublic void afterPhase(javax.faces.event.PhaseEvent event)
afterPhase in interface javax.faces.event.PhaseListenerprotected static FileEntryCallback evaluateCallback(javax.faces.context.FacesContext facesContext, FileEntry fileEntry)
protected static void handleCallbackException(javax.faces.context.FacesContext facesContext,
java.lang.String clientId,
java.lang.Throwable e)
protected static java.lang.String calculateFolder(javax.faces.context.FacesContext facesContext,
FileEntry fileEntry)
protected static java.io.File makeFile(FileEntry fileEntry, java.lang.String folder, java.lang.String fileName) throws java.io.IOException
java.io.IOExceptionprotected static java.lang.String trimInternetExplorerPath(java.lang.String path)
protected static java.lang.String afterLast(java.lang.String str,
java.lang.String seek)
Copyright 2017 ICEsoft Technologies Canada Corp., All Rights Reserved.