X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Fjalview%2Fio%2FEmblFlatFile.java;h=33701f6934c991f3918174c268523b544d9073bf;hb=40892424a98ce7583cfb2f56c18840aa891c1304;hp=19496ef83b1e3806e6db7d2ff673e5a945550ada;hpb=da62703518a88707b9144bc51e50d6af7093a7c7;p=jalview.git diff --git a/src/jalview/io/EmblFlatFile.java b/src/jalview/io/EmblFlatFile.java index 19496ef..33701f6 100644 --- a/src/jalview/io/EmblFlatFile.java +++ b/src/jalview/io/EmblFlatFile.java @@ -1,8 +1,28 @@ +/* + * Jalview - A Sequence Alignment Editor and Viewer ($$Version-Rel$$) + * Copyright (C) $$Year-Rel$$ The Jalview Authors + * + * This file is part of Jalview. + * + * Jalview is free software: you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation, either version 3 + * of the License, or (at your option) any later version. + * + * Jalview is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty + * of MERCHANTABILITY or FITNESS FOR A PARTICULAR + * PURPOSE. See the GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Jalview. If not, see . + * The Jalview Authors are detailed in the 'AUTHORS' file. + */ package jalview.io; import java.io.IOException; -import jalview.bin.Cache; +import jalview.bin.Console; import jalview.datamodel.DBRefEntry; import jalview.util.DBRefUtils; @@ -25,7 +45,7 @@ import jalview.util.DBRefUtils; * @see ftp://ftp.ebi.ac.uk/pub/databases/ena/sequence/release/doc/usrman.txt * @see ftp://ftp.ebi.ac.uk/pub/databases/embl/doc/FT_current.html */ -public class EmblFlatFile extends FlatFile +public class EmblFlatFile extends EMBLLikeFlatFile { /** * Constructor given a data source and the id of the source database @@ -124,7 +144,7 @@ public class EmblFlatFile extends FlatFile this.length = Integer.valueOf(bits[0]); } catch (NumberFormatException e) { - Cache.log.error("bad length read in flatfile, line: " + line); + Console.error("bad length read in flatfile, line: " + line); } }