dhis2-devs team mailing list archive
-
dhis2-devs team
-
Mailing list archive
-
Message #02077
[Branch ~dhis2-devs-core/dhis2/trunk] Rev 695: Codestyle fix.
------------------------------------------------------------
revno: 695
committer: Lars Helge Oeverland larshelge@xxxxxxxxx
branch nick: trunk
timestamp: Mon 2009-09-14 15:30:38 +0200
message:
Codestyle fix.
modified:
dhis-2/dhis-api/src/main/java/org/hisp/dhis/external/location/LocationManager.java
--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk
Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription.
=== modified file 'dhis-2/dhis-api/src/main/java/org/hisp/dhis/external/location/LocationManager.java'
--- dhis-2/dhis-api/src/main/java/org/hisp/dhis/external/location/LocationManager.java 2009-09-02 10:16:58 +0000
+++ dhis-2/dhis-api/src/main/java/org/hisp/dhis/external/location/LocationManager.java 2009-09-14 13:30:38 +0000
@@ -115,6 +115,17 @@
File getFileForWriting( String fileName, String... directories )
throws LocationManagerException;
+ /**
+ * Builds the directory structure defined by the given array of directories
+ * relative to external configuration directory location. For instance calling
+ * this method with "reporting", "excel", "temp" will create the directory
+ * <external_config_dir>/reporting/excel/temp.
+ *
+ * @param directories The directories to create.
+ * @return a File representing the created directory.
+ */
+ File buildDirectory( String... directories )
+ throws LocationManagerException;
/**
* Gets an outputstream from a file relative to the external configuration directory