|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecthudson.plugins.pmd.util.ContextHashCode
public class ContextHashCode
Creates a hash code from the source code of the warning line and the surrounding context.
| Constructor Summary | |
|---|---|
ContextHashCode()
|
|
| Method Summary | |
|---|---|
int |
create(java.lang.String fileName,
int line,
java.lang.String encoding)
Creates a hash code from the source code of the warning line and the surrounding context. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ContextHashCode()
| Method Detail |
|---|
public int create(java.lang.String fileName,
int line,
java.lang.String encoding)
throws java.io.IOException
fileName - the absolute path of the file to readline - the line of the warningencoding - the encoding of the file, if null or empty then
the default encoding of the platform is used
java.io.IOException - if the contents of the file could not be read
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||