101102103104105106107108109110111112113114115
} catch (ParseException e) { // couldn't parse date, use current date-time } } File file = new File(name, fileSize); file.setHash(hash); file.setDate(fileDate); file.setDesc(desc); file.setRanged(isRanged); initiation.setFile(file); } } }
888990919293949596979899100101102103
} catch (NumberFormatException e) { e.printStackTrace(); } } File file = new File(name, fileSize); file.setHash(hash); if (date != null) file.setDate(DelayInformation.UTC_FORMAT.parse(date)); file.setDesc(desc); file.setRanged(isRanged); initiation.setFile(file); } } }