public class CleanFilter extends FilterCommand
| Modifier and Type | Field and Description |
|---|---|
static FilterCommandFactory |
FACTORY
The factory is responsible for creating instances of
CleanFilter |
in, out| Constructor and Description |
|---|
CleanFilter(Repository db,
InputStream in,
OutputStream out) |
| Modifier and Type | Method and Description |
|---|---|
static void |
register()
Registers this filter by calling
FilterCommandRegistry.register(String, FilterCommandFactory) |
int |
run() |
public static final FilterCommandFactory FACTORY
CleanFilterpublic CleanFilter(Repository db, InputStream in, OutputStream out) throws IOException
db - the repositoryin - an InputStream providing the original contentout - the OutputStream into which the content of the pointer
file should be written. That's the content which will be added
to the git repositoryIOException - when the creation of the temporary file fails or when no
OutputStream for this file can be createdpublic static final void register()
FilterCommandRegistry.register(String, FilterCommandFactory)public int run()
throws IOException
run in class FilterCommandIOExceptionCopyright © 2019 Eclipse JGit Project. All rights reserved.