package djmania.sandbox.old;

import java.io.FileInputStream;

/**
 * FileTools helper class.
 * <p>
 * Small collection of methods used by various classes for file handling.
 * <p>
 * Licensed under <A HREF="http://www.gnu.org/licenses/gpl.txt">GNU GPL (Version 3)</A>. 
 * <p>
 * Uses <A HREF="http://www.javazoom.net/javalayer/sources.html">
 * JLayer MP3 library</A> for playback.
 * <p>
 * @author	Philip Peng
 * @version	1.0 Oct 25, 2007
 * @deprecated
 * 
 */

public class FileTools {

	/**
	 * Helper method. Converts String object to FileInputStream object.
	 * @param	file	String of file location.
	 * @return	stream	File location as a FileInputStream.
	 */
	public static FileInputStream convertStringToStream (String file)
	throws java.io.FileNotFoundException {
		FileInputStream stream = new FileInputStream(file);
		return stream;
	} // End convertToStream method
	
}
