public abstract class AbstractLineAggregatingHandler extends Object implements ContainerDescriptorHandler
DEFAULT_ROLE_HINT, ROLE
Constructor and Description |
---|
AbstractLineAggregatingHandler() |
Modifier and Type | Method and Description |
---|---|
protected void |
addToArchive(Archiver archiver) |
protected abstract boolean |
fileMatches(FileInfo fileInfo) |
void |
finalizeArchiveCreation(Archiver archiver) |
void |
finalizeArchiveExtraction(UnArchiver unArchiver) |
protected Map<String,List<String>> |
getCatalog() |
protected String |
getEncoding() |
protected abstract String |
getOutputPathPrefix(FileInfo fileInfo) |
List<String> |
getVirtualFiles() |
boolean |
isSelected(FileInfo fileInfo) |
protected void |
readLines(FileInfo fileInfo,
List<String> lines) |
protected void |
setCatalog(Map<String,List<String>> catalog) |
protected abstract boolean fileMatches(FileInfo fileInfo)
protected String getEncoding()
public void finalizeArchiveCreation(Archiver archiver) throws ArchiverException
finalizeArchiveCreation
in interface ArchiveFinalizer
ArchiverException
protected void addToArchive(Archiver archiver) throws ArchiverException
ArchiverException
public void finalizeArchiveExtraction(UnArchiver unArchiver) throws ArchiverException
finalizeArchiveExtraction
in interface ArchiveFinalizer
ArchiverException
public List<String> getVirtualFiles()
getVirtualFiles
in interface ArchiveFinalizer
public boolean isSelected(FileInfo fileInfo) throws IOException
isSelected
in interface FileSelector
IOException
protected void readLines(FileInfo fileInfo, List<String> lines) throws IOException
IOException
Copyright © 2002–2014 The Apache Software Foundation. All rights reserved.