LocalFile tFile = (file == null) ?
null : new LocalFile(file);
serializer.write(tFile, elem);
}
public File readFile(Element elem) throws IOException {
TransferableFile tFile = (TransferableFile)serializer.read(elem);
if (tFile == null)
return null;
if (tFile.isLocalFile())
return tFile.getLocalFile();
try {
return (File)saveFileConverter.convert(tFile);
}
catch(ConversionException e) {