java.lang.Object
edu.hm.hafner.analysis.FullTextFingerprint
Creates a fingerprint of the specified issue using the source code at the affected line. The fingerprint is computed
using the 1:1 content of a small number of lines before and after the affected line (see
LINES_LOOK_AHEAD).- Autor:
- Ullrich Hafner
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
-
Konstruktordetails
-
FullTextFingerprint
public FullTextFingerprint()Creates a new instance ofFullTextFingerprint.
-
-
Methodendetails
-
compute
Creates a fingerprint of the specified issue using the source code at the affected line. The fingerprint is computed using the 1:1 content of a small number of lines before and after the affected line (seeLINES_LOOK_AHEAD).- Parameter:
fileName- the absolute path of the affected fileline- the line of the issuecharset- the encoding to be used when reading the affected file- Gibt zurück:
- a fingerprint of the selected range of source code lines (if the file could not be read then the fingerprint actually is the hashcode of the filename)
- Löst aus:
IOException- if the file could not be read
-