private boolean getModinfoStringFromJAR(File jarfile) 
	{
		StringBuilder builder = new StringBuilder();
		
		String inputFile = "jar:file:/" + jarfile.getAbsolutePath() + "!/mcmod.info";	
		InputStream in = null;
		try 
		{
			URL inputURL = new URL(inputFile);

			JarURLConnection conn = (JarURLConnection) inputURL.openConnection();
			in = conn.getInputStream();

			int ch;
			while ((ch = in.read()) != -1) {
				builder.append((char) ch);
			}
		} 
		catch (Exception e) 
		{
		}
		finally
		{
			if(in!=null)
			{
				try {
					in.close();
				} catch (IOException e) {
					e.printStackTrace();
				}
			}
		}
		String jsontext = builder.toString();
		if (!jsontext.equals(""))
		{					
			return readModinfo(jsontext);
		}
		return false;
	}