Package org.javlo.io
Class SessionFolder
- java.lang.Object
-
- org.javlo.io.SessionFolder
-
public class SessionFolder extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static String
SESSION_FOLDER
static String
SESSION_PATH_KEY
static String
SESSION_PATH_PREFIX
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addImage(String name, InputStream in)
static void
clearAllSessionFolder(GlobalContext globalContext)
String
correctAndcheckUrl(String pathInfo)
File
getImage()
String
getImageFileId()
static SessionFolder
getInstance(javax.servlet.http.HttpSession session, GlobalContext globalContext)
static SessionFolder
getInstance(ContentContext ctx)
File
getSessionFolder()
String
getSessionId()
static String
getSessionMainFolder(GlobalContext globalContext)
void
resetImage()
-
-
-
Field Detail
-
SESSION_PATH_KEY
public static final String SESSION_PATH_KEY
- See Also:
- Constant Field Values
-
SESSION_PATH_PREFIX
public static final String SESSION_PATH_PREFIX
- See Also:
- Constant Field Values
-
SESSION_FOLDER
public static final String SESSION_FOLDER
- See Also:
- Constant Field Values
-
-
Method Detail
-
clearAllSessionFolder
public static void clearAllSessionFolder(GlobalContext globalContext)
-
getSessionMainFolder
public static String getSessionMainFolder(GlobalContext globalContext)
-
getInstance
public static final SessionFolder getInstance(javax.servlet.http.HttpSession session, GlobalContext globalContext)
-
getInstance
public static final SessionFolder getInstance(ContentContext ctx)
-
getSessionFolder
public File getSessionFolder()
-
addImage
public void addImage(String name, InputStream in) throws IOException
- Throws:
IOException
-
getImage
public File getImage()
-
getSessionId
public String getSessionId()
-
getImageFileId
public String getImageFileId()
-
resetImage
public void resetImage()
-
-