Skip to content

Commit

Permalink
Update new method docstrings
Browse files Browse the repository at this point in the history
  • Loading branch information
Isira-Seneviratne committed Dec 28, 2023
1 parent e9f4b19 commit 8258175
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/main/java/org/jsoup/Jsoup.java
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ public static Document parse(File file, @Nullable String charsetName, String bas
@return sane HTML
@throws IOException if the file could not be found, or read, or if the charsetName is invalid.
@since 1.17.1
@since 1.17.2
*/
public static Document parse(Path path, @Nullable String charsetName, String baseUri) throws IOException {
return DataUtil.load(path, charsetName, baseUri);
Expand All @@ -210,7 +210,7 @@ public static Document parse(Path path, @Nullable String charsetName, String bas
@throws IOException if the file could not be found, or read, or if the charsetName is invalid.
@see #parse(File, String, String) parse(file, charset, baseUri)
@since 1.17.1
@since 1.17.2
*/
public static Document parse(Path path, @Nullable String charsetName) throws IOException {
return DataUtil.load(path, charsetName, path.toAbsolutePath().toString());
Expand All @@ -227,7 +227,7 @@ public static Document parse(Path path, @Nullable String charsetName) throws IOE
@return sane HTML
@throws IOException if the file could not be found or read.
@see #parse(Path, String, String) parse(file, charset, baseUri)
@since 1.17.1
@since 1.17.2
*/
public static Document parse(Path path) throws IOException {
return DataUtil.load(path, null, path.toAbsolutePath().toString());
Expand All @@ -244,7 +244,7 @@ public static Document parse(Path path) throws IOException {
@return sane HTML
@throws IOException if the file could not be found, or read, or if the charsetName is invalid.
@since 1.17.1
@since 1.17.2
*/
public static Document parse(Path path, @Nullable String charsetName, String baseUri, Parser parser) throws IOException {
return DataUtil.load(path, charsetName, baseUri, parser);
Expand Down

0 comments on commit 8258175

Please sign in to comment.