test_class.file: collect_app/src/test/java/org/odk/collect/android/utilities/FileUtilsTest.java
test_class.identifier: FileUtilsTest
test_case.body: @Test
      public void mediaDirNameIsCorrect() {
          String expected = "sample-file-media";
  
          assertEquals(expected, FileUtils.constructMediaPath("sample-file.xml"));
          assertEquals(expected, FileUtils.constructMediaPath("sample-file.extension"));
          assertEquals(expected, FileUtils.constructMediaPath("sample-file.123"));
          assertEquals(expected, FileUtils.constructMediaPath("sample-file.docx"));
      }
test_case.class_method_signature: FileUtilsTest.mediaDirNameIsCorrect()
test_case.full_signature: @Test public void mediaDirNameIsCorrect()
test_case.identifier: mediaDirNameIsCorrect
test_case.invocations: assertEquals constructMediaPath assertEquals constructMediaPath assertEquals constructMediaPath assertEquals constructMediaPath
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void mediaDirNameIsCorrect()
focal_class.declarator: VALID_FILENAME = "[ _\\-A-Za-z0-9]*.x[ht]*ml"
focal_class.modifier: public static final
focal_class.original_string: public static final String VALID_FILENAME = "[ _\\-A-Za-z0-9]*.x[ht]*ml";
focal_class.type: String
focal_class.var_name: VALID_FILENAME
focal_class.declarator: FORMID = "formid"
focal_class.modifier: public static final
focal_class.original_string: public static final String FORMID = "formid";
focal_class.type: String
focal_class.var_name: FORMID
focal_class.declarator: VERSION = "version"
focal_class.modifier: public static final
focal_class.original_string: public static final String VERSION = "version";
focal_class.type: String
focal_class.var_name: VERSION
focal_class.declarator: TITLE = "title"
focal_class.modifier: public static final
focal_class.original_string: public static final String TITLE = "title";
focal_class.type: String
focal_class.var_name: TITLE
focal_class.declarator: SUBMISSIONURI = "submission"
focal_class.modifier: public static final
focal_class.original_string: public static final String SUBMISSIONURI = "submission";
focal_class.type: String
focal_class.var_name: SUBMISSIONURI
focal_class.declarator: BASE64_RSA_PUBLIC_KEY = "base64RsaPublicKey"
focal_class.modifier: public static final
focal_class.original_string: public static final String BASE64_RSA_PUBLIC_KEY = "base64RsaPublicKey";
focal_class.type: String
focal_class.var_name: BASE64_RSA_PUBLIC_KEY
focal_class.declarator: AUTO_DELETE = "autoDelete"
focal_class.modifier: public static final
focal_class.original_string: public static final String AUTO_DELETE = "autoDelete";
focal_class.type: String
focal_class.var_name: AUTO_DELETE
focal_class.declarator: AUTO_SEND = "autoSend"
focal_class.modifier: public static final
focal_class.original_string: public static final String AUTO_SEND = "autoSend";
focal_class.type: String
focal_class.var_name: AUTO_SEND
focal_class.declarator: MEDIA_SUFFIX = "-media"
focal_class.modifier: public static final
focal_class.original_string: public static final String MEDIA_SUFFIX = "-media";
focal_class.type: String
focal_class.var_name: MEDIA_SUFFIX
focal_class.declarator: LAST_SAVED_FILENAME = "last-saved.xml"
focal_class.modifier: public static final
focal_class.original_string: public static final String LAST_SAVED_FILENAME = "last-saved.xml";
focal_class.type: String
focal_class.var_name: LAST_SAVED_FILENAME
focal_class.declarator: STUB_XML = "<?xml version='1.0' ?><stub />"
focal_class.modifier: private static final
focal_class.original_string: private static final String STUB_XML = "<?xml version='1.0' ?><stub />";
focal_class.type: String
focal_class.var_name: STUB_XML
focal_class.declarator: isSdcardSymlinkChecked
focal_class.modifier: private static
focal_class.original_string: private static boolean isSdcardSymlinkChecked;
focal_class.type: boolean
focal_class.var_name: isSdcardSymlinkChecked
focal_class.declarator: isSdcardSymlinkSameAsExternalStorageDirectory
focal_class.modifier: private static
focal_class.original_string: private static boolean isSdcardSymlinkSameAsExternalStorageDirectory;
focal_class.type: boolean
focal_class.var_name: isSdcardSymlinkSameAsExternalStorageDirectory
focal_class.declarator: bufSize = 16 * 1024
focal_class.modifier: static
focal_class.original_string: static int bufSize = 16 * 1024;
focal_class.type: int
focal_class.var_name: bufSize
focal_class.file: collect_app/src/main/java/org/odk/collect/android/utilities/FileUtils.java
focal_class.identifier: FileUtils
focal_class.class_method_signature: FileUtils.FileUtils()
focal_class.full_signature: private  FileUtils()
focal_class.identifier: FileUtils
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.signature:  FileUtils()
focal_class.class_method_signature: FileUtils.getMimeType(String fileUrl)
focal_class.full_signature: public static String getMimeType(String fileUrl)
focal_class.identifier: getMimeType
focal_class.modifiers: public static
focal_class.parameters: (String fileUrl)
focal_class.return: String
focal_class.signature: String getMimeType(String fileUrl)
focal_class.class_method_signature: FileUtils.createFolder(String path)
focal_class.full_signature: public static boolean createFolder(String path)
focal_class.identifier: createFolder
focal_class.modifiers: public static
focal_class.parameters: (String path)
focal_class.return: boolean
focal_class.signature: boolean createFolder(String path)
focal_class.class_method_signature: FileUtils.getMd5Hash(File file)
focal_class.full_signature: public static String getMd5Hash(File file)
focal_class.identifier: getMd5Hash
focal_class.modifiers: public static
focal_class.parameters: (File file)
focal_class.return: String
focal_class.signature: String getMd5Hash(File file)
focal_class.class_method_signature: FileUtils.getMd5Hash(InputStream is)
focal_class.full_signature: public static String getMd5Hash(InputStream is)
focal_class.identifier: getMd5Hash
focal_class.modifiers: public static
focal_class.parameters: (InputStream is)
focal_class.return: String
focal_class.signature: String getMd5Hash(InputStream is)
focal_class.class_method_signature: FileUtils.getBitmapScaledToDisplay(File file, int screenHeight, int screenWidth)
focal_class.full_signature: public static Bitmap getBitmapScaledToDisplay(File file, int screenHeight, int screenWidth)
focal_class.identifier: getBitmapScaledToDisplay
focal_class.modifiers: public static
focal_class.parameters: (File file, int screenHeight, int screenWidth)
focal_class.return: Bitmap
focal_class.signature: Bitmap getBitmapScaledToDisplay(File file, int screenHeight, int screenWidth)
focal_class.class_method_signature: FileUtils.getBitmapScaledToDisplay(File file, int screenHeight, int screenWidth, boolean upscaleEnabled)
focal_class.full_signature: public static Bitmap getBitmapScaledToDisplay(File file, int screenHeight, int screenWidth, boolean upscaleEnabled)
focal_class.identifier: getBitmapScaledToDisplay
focal_class.modifiers: public static
focal_class.parameters: (File file, int screenHeight, int screenWidth, boolean upscaleEnabled)
focal_class.return: Bitmap
focal_class.signature: Bitmap getBitmapScaledToDisplay(File file, int screenHeight, int screenWidth, boolean upscaleEnabled)
focal_class.class_method_signature: FileUtils.copyFile(File sourceFile, File destFile)
focal_class.full_signature: public static String copyFile(File sourceFile, File destFile)
focal_class.identifier: copyFile
focal_class.modifiers: public static
focal_class.parameters: (File sourceFile, File destFile)
focal_class.return: String
focal_class.signature: String copyFile(File sourceFile, File destFile)
focal_class.class_method_signature: FileUtils.actualCopy(File sourceFile, File destFile)
focal_class.full_signature: private static String actualCopy(File sourceFile, File destFile)
focal_class.identifier: actualCopy
focal_class.modifiers: private static
focal_class.parameters: (File sourceFile, File destFile)
focal_class.return: String
focal_class.signature: String actualCopy(File sourceFile, File destFile)
focal_class.class_method_signature: FileUtils.parseXML(File xmlFile)
focal_class.full_signature: public static HashMap<String, String> parseXML(File xmlFile)
focal_class.identifier: parseXML
focal_class.modifiers: public static
focal_class.parameters: (File xmlFile)
focal_class.return: HashMap<String, String>
focal_class.signature: HashMap<String, String> parseXML(File xmlFile)
focal_class.class_method_signature: FileUtils.getChildElement(Element parent, String childName)
focal_class.full_signature: private static Element getChildElement(Element parent, String childName)
focal_class.identifier: getChildElement
focal_class.modifiers: private static
focal_class.parameters: (Element parent, String childName)
focal_class.return: Element
focal_class.signature: Element getChildElement(Element parent, String childName)
focal_class.class_method_signature: FileUtils.deleteAndReport(File file)
focal_class.full_signature: public static void deleteAndReport(File file)
focal_class.identifier: deleteAndReport
focal_class.modifiers: public static
focal_class.parameters: (File file)
focal_class.return: void
focal_class.signature: void deleteAndReport(File file)
focal_class.class_method_signature: FileUtils.getFormBasename(File formXml)
focal_class.full_signature: public static String getFormBasename(File formXml)
focal_class.identifier: getFormBasename
focal_class.modifiers: public static
focal_class.parameters: (File formXml)
focal_class.return: String
focal_class.signature: String getFormBasename(File formXml)
focal_class.class_method_signature: FileUtils.getFormBasename(String formFilePath)
focal_class.full_signature: public static String getFormBasename(String formFilePath)
focal_class.identifier: getFormBasename
focal_class.modifiers: public static
focal_class.parameters: (String formFilePath)
focal_class.return: String
focal_class.signature: String getFormBasename(String formFilePath)
focal_class.class_method_signature: FileUtils.constructMediaPath(String formFilePath)
focal_class.full_signature: public static String constructMediaPath(String formFilePath)
focal_class.identifier: constructMediaPath
focal_class.modifiers: public static
focal_class.parameters: (String formFilePath)
focal_class.return: String
focal_class.signature: String constructMediaPath(String formFilePath)
focal_class.class_method_signature: FileUtils.getFormMediaDir(File formXml)
focal_class.full_signature: public static File getFormMediaDir(File formXml)
focal_class.identifier: getFormMediaDir
focal_class.modifiers: public static
focal_class.parameters: (File formXml)
focal_class.return: File
focal_class.signature: File getFormMediaDir(File formXml)
focal_class.class_method_signature: FileUtils.getFormBasenameFromMediaFolder(File mediaFolder)
focal_class.full_signature: public static String getFormBasenameFromMediaFolder(File mediaFolder)
focal_class.identifier: getFormBasenameFromMediaFolder
focal_class.modifiers: public static
focal_class.parameters: (File mediaFolder)
focal_class.return: String
focal_class.signature: String getFormBasenameFromMediaFolder(File mediaFolder)
focal_class.class_method_signature: FileUtils.getLastSavedFile(File formXml)
focal_class.full_signature: public static File getLastSavedFile(File formXml)
focal_class.identifier: getLastSavedFile
focal_class.modifiers: public static
focal_class.parameters: (File formXml)
focal_class.return: File
focal_class.signature: File getLastSavedFile(File formXml)
focal_class.class_method_signature: FileUtils.getLastSavedPath(File mediaFolder)
focal_class.full_signature: public static String getLastSavedPath(File mediaFolder)
focal_class.identifier: getLastSavedPath
focal_class.modifiers: public static
focal_class.parameters: (File mediaFolder)
focal_class.return: String
focal_class.signature: String getLastSavedPath(File mediaFolder)
focal_class.class_method_signature: FileUtils.getOrCreateLastSavedSrc(File formXml)
focal_class.full_signature: public static String getOrCreateLastSavedSrc(File formXml)
focal_class.identifier: getOrCreateLastSavedSrc
focal_class.modifiers: public static
focal_class.parameters: (File formXml)
focal_class.return: String
focal_class.signature: String getOrCreateLastSavedSrc(File formXml)
focal_class.class_method_signature: FileUtils.checkMediaPath(File mediaDir)
focal_class.full_signature: public static void checkMediaPath(File mediaDir)
focal_class.identifier: checkMediaPath
focal_class.modifiers: public static
focal_class.parameters: (File mediaDir)
focal_class.return: void
focal_class.signature: void checkMediaPath(File mediaDir)
focal_class.class_method_signature: FileUtils.purgeMediaPath(String mediaPath)
focal_class.full_signature: public static void purgeMediaPath(String mediaPath)
focal_class.identifier: purgeMediaPath
focal_class.modifiers: public static
focal_class.parameters: (String mediaPath)
focal_class.return: void
focal_class.signature: void purgeMediaPath(String mediaPath)
focal_class.class_method_signature: FileUtils.moveMediaFiles(String tempMediaPath, File formMediaPath)
focal_class.full_signature: public static void moveMediaFiles(String tempMediaPath, File formMediaPath)
focal_class.identifier: moveMediaFiles
focal_class.modifiers: public static
focal_class.parameters: (String tempMediaPath, File formMediaPath)
focal_class.return: void
focal_class.signature: void moveMediaFiles(String tempMediaPath, File formMediaPath)
focal_class.class_method_signature: FileUtils.saveBitmapToFile(Bitmap bitmap, String path)
focal_class.full_signature: public static void saveBitmapToFile(Bitmap bitmap, String path)
focal_class.identifier: saveBitmapToFile
focal_class.modifiers: public static
focal_class.parameters: (Bitmap bitmap, String path)
focal_class.return: void
focal_class.signature: void saveBitmapToFile(Bitmap bitmap, String path)
focal_class.class_method_signature: FileUtils.getBitmap(String path, BitmapFactory.Options originalOptions)
focal_class.full_signature: public static Bitmap getBitmap(String path, BitmapFactory.Options originalOptions)
focal_class.identifier: getBitmap
focal_class.modifiers: public static
focal_class.parameters: (String path, BitmapFactory.Options originalOptions)
focal_class.return: Bitmap
focal_class.signature: Bitmap getBitmap(String path, BitmapFactory.Options originalOptions)
focal_class.class_method_signature: FileUtils.read(File file)
focal_class.full_signature: public static byte[] read(File file)
focal_class.identifier: read
focal_class.modifiers: public static
focal_class.parameters: (File file)
focal_class.return: byte[]
focal_class.signature: byte[] read(File file)
focal_class.class_method_signature: FileUtils.write(File file, byte[] data)
focal_class.full_signature: public static void write(File file, byte[] data)
focal_class.identifier: write
focal_class.modifiers: public static
focal_class.parameters: (File file, byte[] data)
focal_class.return: void
focal_class.signature: void write(File file, byte[] data)
focal_class.class_method_signature: FileUtils.comparePaths(String a, String b)
focal_class.full_signature: public static int comparePaths(String a, String b)
focal_class.identifier: comparePaths
focal_class.modifiers: public static
focal_class.parameters: (String a, String b)
focal_class.return: int
focal_class.signature: int comparePaths(String a, String b)
focal_class.class_method_signature: FileUtils.getFileExtension(String fileName)
focal_class.full_signature: public static String getFileExtension(String fileName)
focal_class.identifier: getFileExtension
focal_class.modifiers: public static
focal_class.parameters: (String fileName)
focal_class.return: String
focal_class.signature: String getFileExtension(String fileName)
focal_class.class_method_signature: FileUtils.grantFilePermissions(Intent intent, Uri uri, Context context)
focal_class.full_signature: public static void grantFilePermissions(Intent intent, Uri uri, Context context)
focal_class.identifier: grantFilePermissions
focal_class.modifiers: public static
focal_class.parameters: (Intent intent, Uri uri, Context context)
focal_class.return: void
focal_class.signature: void grantFilePermissions(Intent intent, Uri uri, Context context)
focal_class.class_method_signature: FileUtils.grantFileReadPermissions(Intent intent, Uri uri, Context context)
focal_class.full_signature: public static void grantFileReadPermissions(Intent intent, Uri uri, Context context)
focal_class.identifier: grantFileReadPermissions
focal_class.modifiers: public static
focal_class.parameters: (Intent intent, Uri uri, Context context)
focal_class.return: void
focal_class.signature: void grantFileReadPermissions(Intent intent, Uri uri, Context context)
focal_class.class_method_signature: FileUtils.simplifyPath(File file)
focal_class.full_signature: @SuppressWarnings("PMD.DoNotHardCodeSDCard") public static File simplifyPath(File file)
focal_class.identifier: simplifyPath
focal_class.modifiers: @SuppressWarnings("PMD.DoNotHardCodeSDCard") public static
focal_class.parameters: (File file)
focal_class.return: File
focal_class.signature: File simplifyPath(File file)
focal_class.class_method_signature: FileUtils.checkIfSdcardSymlinkSameAsExternalStorageDirectory()
focal_class.full_signature: @SuppressWarnings("PMD.DoNotHardCodeSDCard") @SuppressFBWarnings( value = "DMI_HARDCODED_ABSOLUTE_FILENAME", justification = "The purpose of this function is to test this specific path." ) private static void checkIfSdcardSymlinkSameAsExternalStorageDirectory()
focal_class.identifier: checkIfSdcardSymlinkSameAsExternalStorageDirectory
focal_class.modifiers: @SuppressWarnings("PMD.DoNotHardCodeSDCard") @SuppressFBWarnings( value = "DMI_HARDCODED_ABSOLUTE_FILENAME", justification = "The purpose of this function is to test this specific path." ) private static
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void checkIfSdcardSymlinkSameAsExternalStorageDirectory()
focal_class.class_method_signature: FileUtils.walk(File root)
focal_class.full_signature: public static Iterable<File> walk(File root)
focal_class.identifier: walk
focal_class.modifiers: public static
focal_class.parameters: (File root)
focal_class.return: Iterable<File>
focal_class.signature: Iterable<File> walk(File root)
focal_class.class_method_signature: FileUtils.walkBreadthFirst(File root)
focal_class.full_signature: public static Iterable<File> walkBreadthFirst(File root)
focal_class.identifier: walkBreadthFirst
focal_class.modifiers: public static
focal_class.parameters: (File root)
focal_class.return: Iterable<File>
focal_class.signature: Iterable<File> walkBreadthFirst(File root)
focal_class.class_method_signature: FileUtils.isFileExists(File file)
focal_class.full_signature: public static boolean isFileExists(File file)
focal_class.identifier: isFileExists
focal_class.modifiers: public static
focal_class.parameters: (File file)
focal_class.return: boolean
focal_class.signature: boolean isFileExists(File file)
focal_class.class_method_signature: FileUtils.isFileExists(String filePath)
focal_class.full_signature: public static boolean isFileExists(String filePath)
focal_class.identifier: isFileExists
focal_class.modifiers: public static
focal_class.parameters: (String filePath)
focal_class.return: boolean
focal_class.signature: boolean isFileExists(String filePath)
focal_class.class_method_signature: FileUtils.copyDir(final File srcDir,
                                     final File destDir)
focal_class.full_signature: private static boolean copyDir(final File srcDir,
                                     final File destDir)
focal_class.identifier: copyDir
focal_class.modifiers: private static
focal_class.parameters: (final File srcDir,
                                     final File destDir)
focal_class.return: boolean
focal_class.signature: boolean copyDir(final File srcDir,
                                     final File destDir)
focal_class.class_method_signature: FileUtils.copyOrMoveDir(final File srcDir,
                                           final File destDir,
                                           final OnReplaceListener listener,
                                           final boolean isMove)
focal_class.full_signature: private static boolean copyOrMoveDir(final File srcDir,
                                           final File destDir,
                                           final OnReplaceListener listener,
                                           final boolean isMove)
focal_class.identifier: copyOrMoveDir
focal_class.modifiers: private static
focal_class.parameters: (final File srcDir,
                                           final File destDir,
                                           final OnReplaceListener listener,
                                           final boolean isMove)
focal_class.return: boolean
focal_class.signature: boolean copyOrMoveDir(final File srcDir,
                                           final File destDir,
                                           final OnReplaceListener listener,
                                           final boolean isMove)
focal_class.class_method_signature: FileUtils.getFileByPath(String filePath)
focal_class.full_signature: public static File getFileByPath(String filePath)
focal_class.identifier: getFileByPath
focal_class.modifiers: public static
focal_class.parameters: (String filePath)
focal_class.return: File
focal_class.signature: File getFileByPath(String filePath)
focal_class.class_method_signature: FileUtils.isSpace(String s)
focal_class.full_signature: private static boolean isSpace(String s)
focal_class.identifier: isSpace
focal_class.modifiers: private static
focal_class.parameters: (String s)
focal_class.return: boolean
focal_class.signature: boolean isSpace(String s)
focal_class.class_method_signature: FileUtils.copyOrMoveFile(final File srcFile,
                                            final File destFile,
                                            final OnReplaceListener listener,
                                            final boolean isMove)
focal_class.full_signature: private static boolean copyOrMoveFile(final File srcFile,
                                            final File destFile,
                                            final OnReplaceListener listener,
                                            final boolean isMove)
focal_class.identifier: copyOrMoveFile
focal_class.modifiers: private static
focal_class.parameters: (final File srcFile,
                                            final File destFile,
                                            final OnReplaceListener listener,
                                            final boolean isMove)
focal_class.return: boolean
focal_class.signature: boolean copyOrMoveFile(final File srcFile,
                                            final File destFile,
                                            final OnReplaceListener listener,
                                            final boolean isMove)
focal_class.class_method_signature: FileUtils.deleteFile(final File file)
focal_class.full_signature: public static boolean deleteFile(final File file)
focal_class.identifier: deleteFile
focal_class.modifiers: public static
focal_class.parameters: (final File file)
focal_class.return: boolean
focal_class.signature: boolean deleteFile(final File file)
focal_class.class_method_signature: FileUtils.writeFileFromIS(final File file,
                                             final InputStream is)
focal_class.full_signature: private static boolean writeFileFromIS(final File file,
                                             final InputStream is)
focal_class.identifier: writeFileFromIS
focal_class.modifiers: private static
focal_class.parameters: (final File file,
                                             final InputStream is)
focal_class.return: boolean
focal_class.signature: boolean writeFileFromIS(final File file,
                                             final InputStream is)
focal_class.class_method_signature: FileUtils.deleteAllInDir(final File dir)
focal_class.full_signature: public static boolean deleteAllInDir(final File dir)
focal_class.identifier: deleteAllInDir
focal_class.modifiers: public static
focal_class.parameters: (final File dir)
focal_class.return: boolean
focal_class.signature: boolean deleteAllInDir(final File dir)
focal_class.class_method_signature: FileUtils.deleteFilesInDirWithFilter(final File dir, final FileFilter filter)
focal_class.full_signature: public static boolean deleteFilesInDirWithFilter(final File dir, final FileFilter filter)
focal_class.identifier: deleteFilesInDirWithFilter
focal_class.modifiers: public static
focal_class.parameters: (final File dir, final FileFilter filter)
focal_class.return: boolean
focal_class.signature: boolean deleteFilesInDirWithFilter(final File dir, final FileFilter filter)
focal_class.class_method_signature: FileUtils.deleteDir(final File dir)
focal_class.full_signature: public static boolean deleteDir(final File dir)
focal_class.identifier: deleteDir
focal_class.modifiers: public static
focal_class.parameters: (final File dir)
focal_class.return: boolean
focal_class.signature: boolean deleteDir(final File dir)
focal_class.class_method_signature: FileUtils.createOrExistsDir(final File file)
focal_class.full_signature: public static boolean createOrExistsDir(final File file)
focal_class.identifier: createOrExistsDir
focal_class.modifiers: public static
focal_class.parameters: (final File file)
focal_class.return: boolean
focal_class.signature: boolean createOrExistsDir(final File file)
focal_class.class_method_signature: FileUtils.copyDir(final String srcDirPath,
                                    final String destDirPath)
focal_class.full_signature: public static boolean copyDir(final String srcDirPath,
                                    final String destDirPath)
focal_class.identifier: copyDir
focal_class.modifiers: public static
focal_class.parameters: (final String srcDirPath,
                                    final String destDirPath)
focal_class.return: boolean
focal_class.signature: boolean copyDir(final String srcDirPath,
                                    final String destDirPath)
focal_method.body: public static String constructMediaPath(String formFilePath) {
          return getFormBasename(formFilePath) + MEDIA_SUFFIX;
      }
focal_method.class_method_signature: FileUtils.constructMediaPath(String formFilePath)
focal_method.full_signature: public static String constructMediaPath(String formFilePath)
focal_method.identifier: constructMediaPath
focal_method.invocations: getFormBasename
focal_method.modifiers: public static
focal_method.parameters: (String formFilePath)
focal_method.return: String
focal_method.signature: String constructMediaPath(String formFilePath)