クラス Differ
java.lang.Object
com.kazurayam.difflib.text.Differ
Compare 2 texts to create a report which shows the diff of the 2 inputs.
The input text can be an instance of various types:
java.nio.file.Path, java.io.File, java.lang.String, java.net.URL,
java.io.Reader and java.io.InputStream.
The output report is compiled in Markdown formats.
To view a report in Markdown, you would require an appropriate viewer,
for example, VSCode with Markdown extension
https://code.visualstudio.com/Docs/languages/markdown
date: Feb 2024
-
メソッドの詳細
-
diffFiles
Generates a @see com.kazurayam.difflib.text.DiffInfo object that contains the diff of 2 File objects- 例外:
IOException
-
diffFiles
Generates a D- パラメータ:
file1
-file2
-- 戻り値:
- 例外:
IOException
-
diffStrings
-
diffURLs
- 例外:
IOException
-