Mercurial > lada > lada-server
diff src/main/java/de/intevation/lada/rest/importer/LafImportService.java @ 629:3bbfdef05ee1
Code documentation.
author | Raimund Renkert <rrenkert@intevation.de> |
---|---|
date | Thu, 23 Apr 2015 08:45:25 +0200 |
parents | 8086664d1629 |
children | 98d79aa9d996 |
line wrap: on
line diff
--- a/src/main/java/de/intevation/lada/rest/importer/LafImportService.java Wed Apr 22 14:03:53 2015 +0200 +++ b/src/main/java/de/intevation/lada/rest/importer/LafImportService.java Thu Apr 23 08:45:25 2015 +0200 @@ -1,9 +1,9 @@ /* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz * Software engineering by Intevation GmbH * - * This file is Free Software under the GNU GPL (v>=3) - * and comes with ABSOLUTELY NO WARRANTY! Check out - * the documentation coming with IMIS-Labordaten-Application for details. + * This file is Free Software under the GNU GPL (v>=3) + * and comes with ABSOLUTELY NO WARRANTY! Check out + * the documentation coming with IMIS-Labordaten-Application for details. */ package de.intevation.lada.rest.importer; @@ -40,22 +40,30 @@ @RequestScoped public class LafImportService { - /* The logger used in this class.*/ + /** + * The logger used in this class. + */ @Inject private Logger logger; + /** + * The importer + */ @Inject @ImportConfig(format=ImportFormat.LAF) private Importer importer; + /** + * The authorization module. + */ @Inject @AuthorizationConfig(type=AuthorizationType.OPEN_ID) private Authorization authorization; /** - * Import a file in the LAF format. + * Import a LAF formatted file. * - * @param input MulitpartFormDataInput containing the file to upload. + * @param input String containing file content. * @param header The HTTP header containing authorization information. * @return Response object. */