final ApplicationSettings applicationSettings) {
ResourceBundle custom = ResourceBundle.getBundle("som",
applicationSettings.getCurrentLocale());
- File export = represented.getTo().asFile();
- String path = export.getPath();
+ org.splat.dal.bo.som.File export = represented.getTo();
+ String path = export.getRelativePath();
String[] table = path.split("\\x2E");
DecimalFormat tostring = new DecimalFormat(custom
.getString("size.format")); // Locale size display format
_surl = applicationSettings.getRepositoryURL() + path;
_surl = _surl.replaceAll("'", "\\\\'");
_format = table[table.length - 1].toUpperCase();
- _size = tostring.format(export.length() / 1000);
+ _size = tostring.format(export.asFile().length() / 1000);
_date = convert.format(represented.getTo().getDate());
_comment = represented.getDescription();
if (_comment == null) {