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 ArchiveFinalizerArchiverExceptionprotected void addToArchive(Archiver archiver) throws ArchiverException
ArchiverExceptionpublic void finalizeArchiveExtraction(UnArchiver unArchiver) throws ArchiverException
finalizeArchiveExtraction in interface ArchiveFinalizerArchiverExceptionpublic List<String> getVirtualFiles()
getVirtualFiles in interface ArchiveFinalizerpublic boolean isSelected(FileInfo fileInfo) throws IOException
isSelected in interface FileSelectorIOExceptionprotected void readLines(FileInfo fileInfo, List<String> lines) throws IOException
IOExceptionCopyright © 2002–2014 The Apache Software Foundation. All rights reserved.