X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fio%2FAlignFile.java;fp=src%2Fjalview%2Fio%2FAlignFile.java;h=5760fbe385781550f72b6bace208a6f9da3f2ab5;hb=0bec4854366c4bc4608ed0d7dc1506fc6afe2285;hp=984eff6df91ddad22704c8c328a3aaa28d0d66da;hpb=44cbaf5e4c094d90ef1294dd47c75a652e5f2509;p=jalview.git diff --git a/src/jalview/io/AlignFile.java b/src/jalview/io/AlignFile.java index 984eff6..5760fbe 100755 --- a/src/jalview/io/AlignFile.java +++ b/src/jalview/io/AlignFile.java @@ -89,14 +89,14 @@ public abstract class AlignFile extends FileParse /** * Constructor which parses the data from a file of some specified type. * - * @param inFile - * Filename to read from. + * @param dataObject + * Filename, URL or Pasted String to read from. * @param type - * What type of file to read from (File, URL) + * What type of file to read from (File, URL, Pasted String) */ - public AlignFile(String inFile, String type) throws IOException + public AlignFile(String dataObject, String type) throws IOException { - this(true, inFile, type); + this(true, dataObject, type); } /** @@ -105,16 +105,16 @@ public abstract class AlignFile extends FileParse * * @param parseImmediately * if false, need to call 'doParse()' to begin parsing data - * @param inFile - * Filename to read from. + * @param dataObject + * Filename, URL or Pasted String to read from. * @param type * What type of file to read from (File, URL) * @throws IOException */ - public AlignFile(boolean parseImmediately, String inFile, String type) + public AlignFile(boolean parseImmediately, String dataObject, String type) throws IOException { - super(inFile, type); + super(dataObject, type); initData(); if (parseImmediately) {