net.datacrow.filerenamer
Class FilePatternPart
java.lang.Object
net.datacrow.filerenamer.FilePatternPart
public class FilePatternPart
- extends java.lang.Object
A file pattern part is part of a file pattern. It represents a field,
a suffix and a prefix. Based on this information a part of the filename is formed.
- Author:
- Robert Jan van der Waals
- See Also:
FilePattern
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FilePatternPart
protected FilePatternPart(DcField field)
- Creates a new instance.
- Parameters:
field
- The field from which the value will be used to create this
part of the filename.
get
public java.lang.String get(DcObject dco)
- Create this part of the filename.
- Parameters:
dco
-
setField
public void setField(DcField field)
setPrefix
public void setPrefix(java.lang.String prefix)
setSuffix
public void setSuffix(java.lang.String suffix)
getField
public DcField getField()
getPrefix
public java.lang.String getPrefix()
getSuffix
public java.lang.String getSuffix()