public class CaRoWebutils extends Object
| Modifier and Type | Field and Description |
|---|---|
static long |
CACHE_TIME
The Constant CACHE_TIME.
|
static int |
DEFAULT_BUFFER_SIZE
The Constant DEFAULT_BUFFER_SIZE.
|
static SimpleDateFormat |
downloadDateFormater
The Constant downloadDateFormater.
|
static SimpleDateFormat |
formatter
The formatter.
|
static Path |
STORAGE
The storage.
|
| Constructor and Description |
|---|
CaRoWebutils() |
| Modifier and Type | Method and Description |
|---|---|
static void |
cleanStorage(javax.servlet.ServletContext context)
Clean up our storage.
|
static Path |
getStorage(javax.servlet.ServletContext context)
Gets the storage location.
|
static String |
getTimeStamp()
Gets the current time stamp.
|
public static final int DEFAULT_BUFFER_SIZE
public static final long CACHE_TIME
public static final SimpleDateFormat downloadDateFormater
public static Path STORAGE
public static SimpleDateFormat formatter
public static String getTimeStamp()
public static Path getStorage(javax.servlet.ServletContext context) throws IOException
context - the servlet contextIOException - Signals that an I/O exception has occurred.public static void cleanStorage(javax.servlet.ServletContext context)
throws IOException
context - the contextIOException - Signals that an I/O exception has occurred.Copyright © 2019. All rights reserved.