public static List<String> getAllFolderName(String path){
List<String> fileNameList=new ArrayList<String>();
File file=new File(path);
Filep[] tempList=file.listFiles();
for(int i=0;i<tempList.length;i++){
if(tempList[i].isDirectory()){
fileNameList.add(tempList[i].getName());
}
}
return fileNameList;
}