public class SignatureRemover extends Object
| Constructor and Description |
|---|
SignatureRemover()
Creates a new remover which is active.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
public SignatureRemover()
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 questionpublic 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 contentstrue if the content was filteredIOException - if the content can't be read or writtenCopyright © 2024. All rights reserved.