Package com.saperion.ngc.util
Class SessionTempFileUtil
- java.lang.Object
- 
- com.saperion.ngc.util.SessionTempFileUtil
 
- 
 public final class SessionTempFileUtil extends java.lang.ObjectThe class SessionTempFileUtil.- Author:
- sts
 
- 
- 
Field SummaryFields Modifier and Type Field Description static java.lang.StringJAVA_IO_TMPDIR
 - 
Method SummaryAll Methods Static Methods Concrete Methods Modifier and Type Method Description static voiddeleteDir()Deletes the temporary directory for the current session.static voiddeleteDir(java.lang.String sessionId)Deletes the temporary directory for the current session.static voiddeleteFile(java.lang.String fileName)static java.lang.StringsaveToFile(java.lang.String s, java.lang.String fileName)
 
- 
- 
- 
Field Detail- 
JAVA_IO_TMPDIRpublic static final java.lang.String JAVA_IO_TMPDIR - See Also:
- Constant Field Values
 
 
- 
 - 
Method Detail- 
deleteDirpublic static void deleteDir() throws NgcUiExceptionDeletes the temporary directory for the current session.- Throws:
- NgcUiException
 
 - 
deleteDirpublic static void deleteDir(java.lang.String sessionId) throws NgcUiExceptionDeletes the temporary directory for the current session.- Parameters:
- sessionId- the ID of the session to delete the directory for
- Throws:
- NgcUiException
 
 - 
saveToFilepublic static java.lang.String saveToFile(java.lang.String s, java.lang.String fileName) throws NgcUiException- Throws:
- NgcUiException
 
 - 
deleteFilepublic static void deleteFile(java.lang.String fileName) 
 
- 
 
-