|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jacoco.core.internal.instr.SignatureRemover
public class SignatureRemover
Support class to filter entries from JARs related to signatures.
| Constructor Summary | |
|---|---|
SignatureRemover()
Creates a new remover which is active. |
|
| Method Summary | |
|---|---|
boolean |
filterEntry(String name,
InputStream in,
OutputStream out)
Filters the content of the entry with the provided name if necessary. |
boolean |
removeEntry(String name)
Checks whether a entry with the provided name should be ignored at all. |
void |
setActive(boolean active)
Defines whether this remover should be active. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SignatureRemover()
| Method Detail |
|---|
public void setActive(boolean active)
active - true if it should remove signature related
entries.public boolean removeEntry(String name)
name - path name of the entry in question
public boolean filterEntry(String name,
InputStream in,
OutputStream out)
throws IOException
name - path name of the entry in questionin - source for the element to filterout - output for the filtered contents
true if the content was filtered
IOException - if the content can't be read or written
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||