private boolean isDirectory( String path )
	{
		File f = new File( path );
		if ( f.exists() )
		{
			return f.isDirectory();
		}
		else
		{
			char flag = path.charAt( path.length() - 1 );
			if ( flag == '/' || flag == '\\' )
			{
				return true;
			}
			else
			{
				return false;
			}
		}
	}