public static ParameterTool fromPropertiesFile(InputStream inputStream) throws IOException {
        Properties props = new Properties();
        props.load(inputStream);
        return fromMap((Map) props);
    }
Returns {@link ParameterTool} for the given InputStream from {@link Properties} file.

@param inputStream InputStream from the properties file
@return A {@link ParameterTool}
@throws IOException If the file does not exist
@see Properties
inlong-sort/sort-common/src/main/java/org/apache/inlong/sort/util/ParameterTool.java