public class ArchiveInputList extends DumpableObject implements java.lang.Iterable<ArchiveInputEntry>
ArchiveInputEntry
objects to be archived.
Furthermore it knows the total size of all input files (for driving a progress bar).Constructor and Description |
---|
ArchiveInputList() |
ArchiveInputList(java.io.File rootDir) |
Modifier and Type | Method and Description |
---|---|
void |
addDirectory(java.io.File dir,
java.io.FileFilter filter) |
void |
addFile(java.io.File file) |
java.util.List<ArchiveInputEntry> |
getEntries() |
java.io.File |
getRootDir() |
long |
getTotalSize() |
boolean |
isEmpty() |
java.util.Iterator<ArchiveInputEntry> |
iterator() |
void |
removeInputFiles() |
void |
setRootDir(java.io.File rootDir)
Sets the root-directory for all entries in this list.
|
int |
size() |
DumpString |
toDumpString(DumpString s)
This method allows subclasses to add values to the existing DumpString of the superclass.
|
ToString |
toString(ToString s)
This method allows subclasses to add values to the existing ToString of the superclass.
|
configureDumpHeadlineLength, configureDumpMaxElementsPrinted, copyDumpStringValues, copyToStringValues, createDumpHeader, toDumpString, toString
public ArchiveInputList()
public ArchiveInputList(java.io.File rootDir)
public java.util.Iterator<ArchiveInputEntry> iterator()
iterator
in interface java.lang.Iterable<ArchiveInputEntry>
public long getTotalSize()
public void setRootDir(java.io.File rootDir)
public java.io.File getRootDir()
public void addDirectory(java.io.File dir, java.io.FileFilter filter)
public void addFile(java.io.File file)
public java.util.List<ArchiveInputEntry> getEntries()
public boolean isEmpty()
public int size()
public void removeInputFiles()
public ToString toString(ToString s)
Dumpable
toString
in interface Dumpable
toString
in class DumpableObject
public DumpString toDumpString(DumpString s)
Dumpable
toDumpString
in interface Dumpable
toDumpString
in class DumpableObject
Copyright © 2014 EsprIT-Systems. All Rights Reserved.