diff options
author | Murali-P <murali.p@huawei.com> | 2017-03-03 17:14:10 +0530 |
---|---|---|
committer | Murali-P <murali.p@huawei.com> | 2017-03-03 17:14:10 +0530 |
commit | aec01e48dcd9e9205bcee8c68a788eb075fcfa9a (patch) | |
tree | 72748024c3ac22bc9d524a2fe9223e73647f4dc4 /vnf-sdk-function-test/src | |
parent | ebcfdec446e7e55d057c57b653fb2b1bfe8150af (diff) |
Add file header
Resolved:VNFSDK-21
VNF SDK Function tests
Change-Id: Ibf8a03ae0799e00eacd1af755011acc879a130a7
Signed-off-by: Murali-P <murali.p@huawei.com>
Diffstat (limited to 'vnf-sdk-function-test/src')
-rw-r--r-- | vnf-sdk-function-test/src/main/java/org/openo/vnfsdk/functest/resource/CommonManager.java | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/vnf-sdk-function-test/src/main/java/org/openo/vnfsdk/functest/resource/CommonManager.java b/vnf-sdk-function-test/src/main/java/org/openo/vnfsdk/functest/resource/CommonManager.java index 5d36aa4..ee8ced0 100644 --- a/vnf-sdk-function-test/src/main/java/org/openo/vnfsdk/functest/resource/CommonManager.java +++ b/vnf-sdk-function-test/src/main/java/org/openo/vnfsdk/functest/resource/CommonManager.java @@ -124,6 +124,16 @@ public class CommonManager { return VnfFuncTestResponseHandler.getInstance().getResponseByFuncTestId(instanceId); } + /** + * Convert the stream to File Name<br/> + * + * @param dirName - Directory name + * @param fileName - FileName + * @param uploadedInputStream - Input Stream + * @return - File Path + * @throws IOException - Exception while writing file + * @since VNFSDK + */ public String storeChunkFileInLocal(String dirName, String fileName, InputStream uploadedInputStream) throws IOException { File tmpDir = new File(dirName); |