public class SignatureRemover
extends java.lang.Object
| Constructor | Description |
|---|---|
SignatureRemover() |
Creates a new remover which is active.
|
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
filterEntry(java.lang.String name,
java.io.InputStream in,
java.io.OutputStream out) |
Filters the content of the entry with the provided name if necessary.
|
boolean |
removeEntry(java.lang.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.
|
public SignatureRemover()
public void setActive(boolean active)
active - true if it should remove signature related
entries.public boolean removeEntry(java.lang.String name)
name - path name of the entry in questionpublic boolean filterEntry(java.lang.String name,
java.io.InputStream in,
java.io.OutputStream out)
throws java.io.IOException
name - path name of the entry in questionin - source for the element to filterout - output for the filtered contentstrue if the content was filteredjava.io.IOException - if the content can't be read or writtenCopyright © 2018. All rights reserved.