bt747.j2se_view.helpers
Class TaggedFilePathFactory
java.lang.Object
bt747.j2se_view.helpers.TaggedFilePathFactory
public class TaggedFilePathFactory
- extends java.lang.Object
- Author:
- Mario De Weerd
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TaggedFilePathFactory
public TaggedFilePathFactory()
getTaggedFilePath
public java.lang.String getTaggedFilePath(java.lang.String currentPath,
java.lang.Object refObject)
- Parameters:
currentPath
- Current path for the object.refObject
- Can be used in the future to use the object info (like a
factory) to determine a better output path. For example, in
the case of an image, use the description.
- Returns:
- Path to use for the tagged object.
getOrgFilePath
public java.lang.String getOrgFilePath(java.lang.String currentPath,
java.lang.Object refObject)
- Parameters:
currentPath
- Current path for the object.refObject
- Can be used in the future to use the object info (like a
factory) to determine a better output path. For example, in
the case of an image, use the description.
- Returns:
- The path poiting to the original location of the refObject.
getFilePath
public static final java.lang.String getFilePath(java.lang.String template,
java.lang.String currentPath,
java.lang.Object refObject)
- Parameters:
template
- The template used to determine the filename.currentPath
- Current path for the object.refObject
- Can be used in the future to use the object info (like a
factory) to determine a better output path. For example, in
the case of an image, use the description.
- Returns:
- A path built using the template and the object information.
getDestTemplate
public final java.lang.String getDestTemplate()
setDestTemplate
public final void setDestTemplate(java.lang.String destTemplate)
getOrgTemplate
public final java.lang.String getOrgTemplate()
setOrgTemplate
public final void setOrgTemplate(java.lang.String orgTemplate)