Why does the following code give me a File Not Found exception when i try to create an InputStream? My inputdirectory is defined as a File and has a value of "D:\General\Images\small_images" (without quotes) that my user has full write permissions to. I'm using Windows 7 and running through the eclipse IDE as administrator.
File outputDirectory = new File(inputDirectory + "/" + imageSize.name());
if (!outputDirectory.exists()) {
outputDirectory.mkdir();
}
**InputStream input = new FileInputStream(outputDirectory);**
Any help would be appreciated.