Class TSCopySet
java.lang.Object
java.util.AbstractMap<K,V>
java.util.HashMap<java.lang.String,java.lang.String>
TSNameSet
TSCopySet
- All Implemented Interfaces:
- java.io.FilenameFilter, java.io.Serializable, java.lang.Cloneable, java.util.Map<java.lang.String,java.lang.String>
class TSCopySet
- extends TSNameSet
.
======================================================================
Class TSCopySet -- controls copy-actions for files
This class is used to store a copy-misson for files. The source-
directory and the files are part of this class while the destination
is specified when the action takes place.
This class extends 'TSNameSet' to asure, that all files are copied
only once.
##TSCopySet (Eyecatcher)
======================================================================
Field Summary |
protected static java.lang.String |
IdStr
|
private java.io.File |
src
|
Method Summary |
protected java.util.Iterator<java.lang.String> |
cpyFle(java.io.File dst,
java.lang.String s,
java.util.ArrayList<java.lang.String> LneT)
. |
protected java.lang.String |
toStr()
. |
Methods inherited from class java.util.HashMap |
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values |
Methods inherited from class java.util.AbstractMap |
equals, hashCode, toString |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.Map |
equals, hashCode |
IdStr
protected static final java.lang.String IdStr
- See Also:
- Constant Field Values
src
private java.io.File src
TSCopySet
protected TSCopySet()
- .
=====================================================================
Constructor: (1) create Default-Entry
=====================================================================
TSCopySet
protected TSCopySet(java.io.File s)
- .
=====================================================================
Constructor: (2) create Standard-Entry
=====================================================================
cpyFle
protected final java.util.Iterator<java.lang.String> cpyFle(java.io.File dst,
java.lang.String s,
java.util.ArrayList<java.lang.String> LneT)
- .
=====================================================================
Method "cpyFle"
Copies all files included in this Set from source-directory, which
is also specified by this Set, to a 'Destination-directory' which
is specified as a file-definition.
If argument 's' is not null, this string is added to ALL filenames,
which are selected.
This method returns a list of (error-)messages which is an iterator
to the specified ArrayList of strings.
Attention: Copy of a file is suppressed, if the target-file
already exits.
##cpyFle.TSCopySet (Eyecatcher)
=====================================================================
toStr
protected final java.lang.String toStr()
- .
=====================================================================
Method "toStr"
Build a string-representation of all values of this class
##toStr.TSCopySet (Eyecatcher)
=====================================================================