X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fdatamodel%2FUniprotSequence.java;h=4566da7824eb61ff68c375f2eee3111a74a9c715;hb=a8f483d04205bb8273ee311c12968b7e86d205fa;hp=d5262e3d24327c3b1be14f110fac692fb4108983;hpb=7bc226b58110fa26d9dbd3f0c78095d06909ffc3;p=jalview.git diff --git a/src/jalview/datamodel/UniprotSequence.java b/src/jalview/datamodel/UniprotSequence.java index d5262e3..4566da7 100755 --- a/src/jalview/datamodel/UniprotSequence.java +++ b/src/jalview/datamodel/UniprotSequence.java @@ -1,46 +1,46 @@ -/* - * Jalview - A Sequence Alignment Editor and Viewer - * Copyright (C) 2007 AM Waterhouse, J Procter, G Barton, M Clamp, S Searle - * - * This program 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 2 - * of the License, or (at your option) any later version. - * - * This program 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 this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA - */ -package jalview.datamodel; - -public class UniprotSequence -{ - /** - * internal content storage - */ - private java.lang.String _content = ""; - - public void setContent(String seq) - { - StringBuffer sb = new StringBuffer(); - for (int i = 0; i < seq.length(); i++) - { - if (seq.charAt(i) != ' ') - { - sb.append(seq.charAt(i)); - } - } - _content = sb.toString(); - } - - public String getContent() - { - return _content; - } - -} +/* + * Jalview - A Sequence Alignment Editor and Viewer (Version 2.8.2) + * Copyright (C) 2014 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.datamodel; + +public class UniprotSequence +{ + /** + * internal content storage + */ + private java.lang.String _content = ""; + + public void setContent(String seq) + { + StringBuffer sb = new StringBuffer(); + for (int i = 0; i < seq.length(); i++) + { + if (seq.charAt(i) != ' ') + { + sb.append(seq.charAt(i)); + } + } + _content = sb.toString(); + } + + public String getContent() + { + return _content; + } + +}