extensions/net.sf.basedb.xfiles/trunk/src/net/sf/basedb/xfiles/XFiles.java

Code
Comments
Other
Rev Date Author Line
2517 23 Jun 14 nicklas 1 /**
2517 23 Jun 14 nicklas 2   $Id $
2517 23 Jun 14 nicklas 3
2517 23 Jun 14 nicklas 4   Copyright (C) 2014 Nicklas Nordborg
2517 23 Jun 14 nicklas 5
2517 23 Jun 14 nicklas 6   This file is part of BASE - BioArray Software Environment.
2517 23 Jun 14 nicklas 7   Available at http://base.thep.lu.se/
2517 23 Jun 14 nicklas 8
2517 23 Jun 14 nicklas 9   BASE is free software; you can redistribute it and/or
2517 23 Jun 14 nicklas 10   modify it under the terms of the GNU General Public License
2517 23 Jun 14 nicklas 11   as published by the Free Software Foundation; either version 3
2517 23 Jun 14 nicklas 12   of the License, or (at your option) any later version.
2517 23 Jun 14 nicklas 13
2517 23 Jun 14 nicklas 14   BASE is distributed in the hope that it will be useful,
2517 23 Jun 14 nicklas 15   but WITHOUT ANY WARRANTY; without even the implied warranty of
2517 23 Jun 14 nicklas 16   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
2517 23 Jun 14 nicklas 17   GNU General Public License for more details.
2517 23 Jun 14 nicklas 18
2517 23 Jun 14 nicklas 19   You should have received a copy of the GNU General Public License
2517 23 Jun 14 nicklas 20   along with BASE. If not, see <http://www.gnu.org/licenses/>.
2517 23 Jun 14 nicklas 21 */
2517 23 Jun 14 nicklas 22 package net.sf.basedb.xfiles;
2517 23 Jun 14 nicklas 23
2517 23 Jun 14 nicklas 24
2517 23 Jun 14 nicklas 25 /**
2517 23 Jun 14 nicklas 26   Global functions for the External files support package.
2517 23 Jun 14 nicklas 27   @author Nicklas
2517 23 Jun 14 nicklas 28   @since 1.0
2517 23 Jun 14 nicklas 29 */
2517 23 Jun 14 nicklas 30 public final class XFiles 
2517 23 Jun 14 nicklas 31 {
2517 23 Jun 14 nicklas 32   /**
2517 23 Jun 14 nicklas 33     The current version of this package.
2517 23 Jun 14 nicklas 34   */
7311 28 Aug 23 nicklas 35   public static final String VERSION = "1.8-dev";
2517 23 Jun 14 nicklas 36
2518 24 Jun 14 nicklas 37   /**
2518 24 Jun 14 nicklas 38     Default port when using SSH is 22.
2518 24 Jun 14 nicklas 39   */
2518 24 Jun 14 nicklas 40   public static final int DEFAULT_SSH_PORT = 22;
2520 25 Jun 14 nicklas 41
2520 25 Jun 14 nicklas 42   /**
2521 25 Jun 14 nicklas 43     Default port when using FTP is 21.
2521 25 Jun 14 nicklas 44   */
2521 25 Jun 14 nicklas 45   public static final int DEFAULT_FTP_PORT = 21;
2521 25 Jun 14 nicklas 46
2521 25 Jun 14 nicklas 47   /**
2521 25 Jun 14 nicklas 48     Default port when using FTPS is 990.
2521 25 Jun 14 nicklas 49   */
2521 25 Jun 14 nicklas 50   public static final int DEFAULT_FTPS_PORT = 990;
2521 25 Jun 14 nicklas 51
2521 25 Jun 14 nicklas 52   /**
2520 25 Jun 14 nicklas 53     Default size of internal buffer when downloading files is 1MB.
2520 25 Jun 14 nicklas 54   */
2520 25 Jun 14 nicklas 55   public static final int DEFAULT_BUFFER_SIZE = 1024*1024;
2517 23 Jun 14 nicklas 56 }