// Path: Android_v5/src/com/newppt/android/entity/MyPath.java
// public class MyPath {
// 	
// 	public  static String rootPath = Environment.getExternalStorageDirectory() + "/"
// 			+ "AndroidPPT/";
// 	public static String savePptFilePath = Environment.getExternalStorageDirectory() + "/"
// 			+ "AndroidPPTFile/";
// 	public static String jpgPath = rootPath + "ppt.jpg";
// 	
// 	public static String pptJpg = "/ppt";
// 	public static String noteJpg = "/note";
// 	
// 	String fileName ="ppt.jpg";
// 
// 	public MyPath() {
// 		// TODO Auto-generated constructor stub
// 	}
// 	
// 	public String returnRootPath() {
// 		return rootPath;
// 	}
// 	
// 	public String returnJpgPath() {
// 		return jpgPath;
// 	}
// 	
// 	public String returnFileName() {
// 		return fileName;
// 	}
// 
// }


import java.io.File;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Date;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import com.newppt.android.entity.MyPath;
package com.newppt.android.logical;



public class FileInfo {

	/**
	 * ´´½¨ÎÄ¼þ¼Ð
	 * 
	 * @param savePath
	 */
	public static void CreateFile(String savePath) {
		File file = new File(savePath);

		if (!file.exists() && !file.isDirectory()) {
			file.mkdir();
		}
	}
	
	public static boolean fileExist(String savePath) {
		File file = new File(savePath);
		return file.exists();
	}

	/**
	 * »ñÈ¡Â·¾¶ÏÂËùÓÐJPGµÄÐÅÏ¢
	 * 
	 * @param path
	 * @return
	 */
	public static List<JpgPathInfo> getJpgPathInfos(String path) {
// Path: Android_v5/src/com/newppt/android/entity/MyPath.java
// public class MyPath {
// 	
// 	public  static String rootPath = Environment.getExternalStorageDirectory() + "/"
// 			+ "AndroidPPT/";
// 	public static String savePptFilePath = Environment.getExternalStorageDirectory() + "/"
// 			+ "AndroidPPTFile/";
// 	public static String jpgPath = rootPath + "ppt.jpg";
// 	
// 	public static String pptJpg = "/ppt";
// 	public static String noteJpg = "/note";
// 	
// 	String fileName ="ppt.jpg";
// 
// 	public MyPath() {
// 		// TODO Auto-generated constructor stub
// 	}
// 	
// 	public String returnRootPath() {
// 		return rootPath;
// 	}
// 	
// 	public String returnJpgPath() {
// 		return jpgPath;
// 	}
// 	
// 	public String returnFileName() {
// 		return fileName;
// 	}
// 
// }


// Path: Android_v5/src/com/newppt/android/logical/FileInfo.java
import java.io.File;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Date;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import com.newppt.android.entity.MyPath;

package com.newppt.android.logical;



public class FileInfo {

	/**
	 * ´´½¨ÎÄ¼þ¼Ð
	 * 
	 * @param savePath
	 */
	public static void CreateFile(String savePath) {
		File file = new File(savePath);

		if (!file.exists() && !file.isDirectory()) {
			file.mkdir();
		}
	}
	
	public static boolean fileExist(String savePath) {
		File file = new File(savePath);
		return file.exists();
	}

	/**
	 * »ñÈ¡Â·¾¶ÏÂËùÓÐJPGµÄÐÅÏ¢
	 * 
	 * @param path
	 * @return
	 */
	public static List<JpgPathInfo> getJpgPathInfos(String path) {
		File pptFile = new File(path + MyPath.pptJpg);