private String readPacFileContent(String scriptUrl) throws IOException {
    """
	***********************************************************************
	Reads a PAC script from a local file.
	
	@param scriptUrl
	@return the content of the script file.
	@throws IOException
	@throws URISyntaxException
	**********************************************************************
    """
    try (InputStream in = new URL(scriptUrl).openConnection(Proxy.NO_PROXY).getInputStream();
        BufferedReader r = new BufferedReader(new InputStreamReader(in, StandardCharsets.UTF_8))) {
      StringBuilder result = new StringBuilder();
      try {
        String line;
        while ((line = r.readLine()) != null) {
          result.append(line).append("\n");
        }
      } finally {
        r.close();
      }
      return result.toString();
    }
  }
private String readPacFileContent(String scriptUrl) throws IOException {
    try (InputStream in = new URL(scriptUrl).openConnection(Proxy.NO_PROXY).getInputStream();
        BufferedReader r = new BufferedReader(new InputStreamReader(in, StandardCharsets.UTF_8))) {
      StringBuilder result = new StringBuilder();
      try {
        String line;
        while ((line = r.readLine()) != null) {
          result.append(line).append("\n");
        }
      } finally {
        r.close();
      }
      return result.toString();
    }
  }
private String readPacFileContent ( String scriptUrl ) throws IOException { try ( InputStream in = new URL ( scriptUrl ) . openConnection ( Proxy . NO_PROXY ) . getInputStream ( ) ; BufferedReader r = new BufferedReader ( new InputStreamReader ( in , StandardCharsets . UTF_8 ) ) ) { StringBuilder result = new StringBuilder ( ) ; try { String line ; while ( ( line = r . readLine ( ) ) != null ) { result . append ( line ) . append ( "\n" ) ; } } finally { r . close ( ) ; } return result . toString ( ) ; } }
***********************************************************************
Reads a PAC script from a local file.

@param scriptUrl
@return the content of the script file.
@throws IOException
@throws URISyntaxException
**********************************************************************
*********************************************************************** Reads a PAC script from a local file .