/** * Makes a {@link OrderDTO} from a InputStream. * * Uses the ProjectReader of the class. It must be created before. * * @param filename * String with the name of the original file of the InputStream. * @return OrderDTO with the data that we want to import. */ @Override public OrderDTO getOrderDTO(String filename) { try { return MPXJProjectFileConverter.convert(projectFile, filename); } catch (Exception e) { throw new RuntimeException(e); } }