From 61d387550029f68cfd7f6799370c6eeed7d1ce34 Mon Sep 17 00:00:00 2001 From: Robert Greene Date: Mon, 17 Feb 2003 04:42:39 +0000 Subject: [PATCH] Added new constructure that additionally allows the filetype to be specified. --- .../applecommander/ui/ImportSpecification.java | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/com/webcodepro/applecommander/ui/ImportSpecification.java b/src/com/webcodepro/applecommander/ui/ImportSpecification.java index d4a0406..2f933b5 100644 --- a/src/com/webcodepro/applecommander/ui/ImportSpecification.java +++ b/src/com/webcodepro/applecommander/ui/ImportSpecification.java @@ -39,6 +39,15 @@ public class ImportSpecification { this.sourceFilename = sourceFilename; this.targetFilename = targetFilename; } + /** + * Create the ImportSpecification with default values. + */ + public ImportSpecification(String sourceFilename, String targetFilename, + String filetype) { + this.sourceFilename = sourceFilename; + this.targetFilename = targetFilename; + this.filetype = filetype; + } /** * Returns the address. * @return int