wt.util
Class ObjectFileSerializer
java.lang.Object
wt.util.ObjectFileSerializer
- public class ObjectFileSerializer
- extends Object
Method Summary |
private static String |
fileName(String classname,
String rootDir,
Locale locale,
String fileExtension)
|
private static ObjectOutputStream |
open(String fileName)
|
static void |
write(Object target,
String classname,
String rootDir)
|
static void |
write(Object target,
String classname,
String rootDir,
Locale locale)
|
static void |
write(Object target,
String classname,
String rootDir,
Locale locale,
String fileExtension)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ObjectFileSerializer
protected ObjectFileSerializer()
fileName
private static String fileName(String classname,
String rootDir,
Locale locale,
String fileExtension)
open
private static ObjectOutputStream open(String fileName)
throws IOException
- Throws:
IOException
write
public static void write(Object target,
String classname,
String rootDir)
throws FileNotFoundException,
IOException
- Throws:
FileNotFoundException
IOException
write
public static void write(Object target,
String classname,
String rootDir,
Locale locale)
throws FileNotFoundException,
IOException
- Throws:
FileNotFoundException
IOException
write
public static void write(Object target,
String classname,
String rootDir,
Locale locale,
String fileExtension)
throws FileNotFoundException,
IOException
- Throws:
FileNotFoundException
IOException