Java tutorial
//package com.java2s; import java.io.File; public class Main { private static String getPath(File mediaStorageDir) { return mediaStorageDir.getPath() + File.separator; } }