Public Member Functions | |
FileUtil () | |
int | execute () throws Exception |
Public Member Functions inherited from org.turro.elephant.impl.abstracts.AbstractAction | |
AbstractAction () | |
void | setConstructor (IConstructor constructor) |
IConstructor | getConstructor () |
String | getContextParameter () |
String | getIdelParameter () |
String | getActionParameter () |
String | getParameter (String param) |
String | getParameter (String param, boolean encode) |
String | getStringParameter (String param) |
String | getValueParameter (String param) |
boolean | getBooleanParameter (String param) |
int | getIntParameter (String param, int defaultValue) |
double | getDoubleParameter (String param, double defaultValue) |
Date | getDateParameter (String param, Date defaultValue) |
Static Public Member Functions | |
static CharSequence | getCharSequenceFile (String filename) throws IOException |
static BufferedReader | getBufferedFile (String folder, String file) throws java.io.IOException |
static BufferedReader | getBufferedFile (String file) throws java.io.IOException |
static BufferedReader | getBufferedFile (File file) throws java.io.IOException |
static OutputStreamWriter | getFileWriter (String folder, String file) throws java.io.IOException |
static OutputStreamWriter | getFileWriter (String file) throws java.io.IOException |
static OutputStreamWriter | getFileWriter (File file) throws java.io.IOException |
static OutputStreamWriter | getFileWriter (File file, boolean append) throws java.io.IOException |
static Properties | getProperties (File file) throws java.io.IOException |
static Properties | getOrderedProperties (File file) throws java.io.IOException |
static String | substituteLang (String file, String lang) |
static String | baseName (String file) |
static String | extension (String name) |
static String | crudeName (String file) |
static Locale | getLocale (String file) |
static String | getLang (String file) |
static String | getRealContext (String context) |
static String | getContent (File file) throws IOException |
static String | getContentWithLineBreaks (File file) throws IOException |
static void | setContent (File file, String value) throws IOException |
static void | appendContent (File file, String value) throws IOException |
static File | getFolderFile (File file) |
static String | checkFileName (File folder, String name) |
static String | checkFileName (String path, String name) |
static boolean | existsFile (String requestURI) |
Static Public Member Functions inherited from org.turro.elephant.impl.abstracts.AbstractAction | |
static String | makeDateParameter (Date date) |
static String | makeDateParameter (Timestamp date) |
static String | getValuePortion (String key, String value) |
Static Public Attributes | |
static final String | VALID_EXT_REGEXP = "\\.(jsp|html|htm|txt|zul|zhtml)" |
Static Public Attributes inherited from org.turro.elephant.context.IAction | |
static final int | DONE = 0 |
static final int | NO_DATA = 1 |
static final int | ERROR = 2 |
Additional Inherited Members | |
Protected Attributes inherited from org.turro.elephant.impl.abstracts.AbstractAction | |
IConstructor | constructor |
Definition at line 49 of file FileUtil.java.
org.turro.elephant.impl.util.FileUtil.FileUtil | ( | ) |
|
static |
Definition at line 282 of file FileUtil.java.
|
static |
Definition at line 191 of file FileUtil.java.
|
static |
Definition at line 295 of file FileUtil.java.
|
static |
Definition at line 299 of file FileUtil.java.
|
static |
int org.turro.elephant.impl.util.FileUtil.execute | ( | ) | throws Exception |
Called by constructor in request for one action.
java.lang.Exception |
Implements org.turro.elephant.context.IAction.
Definition at line 60 of file FileUtil.java.
|
static |
Definition at line 306 of file FileUtil.java.
|
static |
|
static |
Definition at line 154 of file FileUtil.java.
|
static |
Definition at line 150 of file FileUtil.java.
|
static |
|
static |
|
static |
Definition at line 245 of file FileUtil.java.
|
static |
Definition at line 259 of file FileUtil.java.
|
static |
|
static |
Definition at line 170 of file FileUtil.java.
|
static |
|
static |
|
static |
|
static |
|
static |
Definition at line 214 of file FileUtil.java.
|
static |
Definition at line 180 of file FileUtil.java.
|
static |
Definition at line 174 of file FileUtil.java.
|
static |
|
static |
Definition at line 274 of file FileUtil.java.
|
static |
Definition at line 186 of file FileUtil.java.
|
static |
Definition at line 52 of file FileUtil.java.