- Author
- Lluis TurrĂ³ Cutiller lluis.nosp@m.@tur.nosp@m.ro.or.nosp@m.g
Definition at line 28 of file Serializer.java.
◆ deserialize() [1/2]
static Object org.turro.elephant.impl.util.Serializer.deserialize |
( |
File |
file | ) |
|
|
static |
Definition at line 65 of file Serializer.java.
66 return org.turro.reflection.Serializer.deserialize(file);
◆ deserialize() [2/2]
static Object org.turro.elephant.impl.util.Serializer.deserialize |
( |
String |
fileName | ) |
|
|
static |
Definition at line 60 of file Serializer.java.
61 File file =
new File(ElephantContext.getRealPath(
"/WEB-INF/serializer" + fileName));
static Object deserialize(String fileName)
◆ getFile()
static File org.turro.elephant.impl.util.Serializer.getFile |
( |
String |
fileName | ) |
|
|
static |
Definition at line 30 of file Serializer.java.
31 return new File(ElephantContext.getRealPath(
"/WEB-INF/serializer" + fileName));
◆ getFiles() [1/2]
static File [] org.turro.elephant.impl.util.Serializer.getFiles |
( |
File |
root | ) |
|
|
static |
Definition at line 40 of file Serializer.java.
41 return root.listFiles(
new FileFilter() {
43 public boolean accept(File pathname) {
44 return pathname.isFile() || !pathname.isHidden();
◆ getFiles() [2/2]
static File [] org.turro.elephant.impl.util.Serializer.getFiles |
( |
String |
rootName | ) |
|
|
static |
Definition at line 34 of file Serializer.java.
35 File root =
new File(ElephantContext.getRealPath(
"/WEB-INF/serializer" + rootName));
36 if(!root.exists()) root.mkdirs();
static File[] getFiles(String rootName)
◆ remove() [1/2]
static void org.turro.elephant.impl.util.Serializer.remove |
( |
File |
file | ) |
|
|
static |
◆ remove() [2/2]
static void org.turro.elephant.impl.util.Serializer.remove |
( |
String |
fileName | ) |
|
|
static |
Definition at line 69 of file Serializer.java.
70 File file =
new File(ElephantContext.getRealPath(
"/WEB-INF/serializer" + fileName));
◆ serialize() [1/2]
static void org.turro.elephant.impl.util.Serializer.serialize |
( |
File |
file, |
|
|
Object |
instance |
|
) |
| |
|
static |
Definition at line 54 of file Serializer.java.
55 File root =
new File(org.amic.util.file.FileUtil.getParentPath(file));
56 if(!root.exists()) root.mkdirs();
57 org.turro.reflection.Serializer.serialize(file, instance);
◆ serialize() [2/2]
static void org.turro.elephant.impl.util.Serializer.serialize |
( |
String |
fileName, |
|
|
Object |
instance |
|
) |
| |
|
static |
Definition at line 49 of file Serializer.java.
50 File file =
new File(ElephantContext.getRealPath(
"/WEB-INF/serializer" + fileName));
static void serialize(String fileName, Object instance)
The documentation for this class was generated from the following file: