Blame view

src/main/java/eu/omp/irap/vespa/epntapclient/votable/Consts.java 1.84 KB
eb1414bb   Nathanael Jourdane   Minor style modif...
1
/*
af879274   Nathanael Jourdane   First 'real' commit.
2
3
4
5
 * This file is a part of EpnTAPClient.
 * This program aims to provide EPN-TAP support for software clients, like CASSIS spectrum analyzer.
 * See draft specifications: https://voparis-confluence.obspm.fr/pages/viewpage.action?pageId=559861
 * Copyright (C) 2016 Institut de Recherche en Astrophysique et Planétologie.
1e543ea0   Nathanael Jourdane   Code clean-up
6
 *
af879274   Nathanael Jourdane   First 'real' commit.
7
8
9
10
11
12
13
14
15
16
 * 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 3 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, see
 * <http://www.gnu.org/licenses/>.
 */

ffe64e74   Nathanael Jourdane   move Const.java a...
17
package eu.omp.irap.vespa.epntapclient.votable.utils;
af879274   Nathanael Jourdane   First 'real' commit.
18
19
20

/**
 * This class defines widely-used constants.
1e543ea0   Nathanael Jourdane   Code clean-up
21
 *
af879274   Nathanael Jourdane   First 'real' commit.
22
23
 * @author N. Jourdane
 */
041cc394   Nathanael Jourdane   improve utils pac...
24
public class Consts {
aa2a59ba   Nathanael Jourdane   [coding style] 2 ...
25

af879274   Nathanael Jourdane   First 'real' commit.
26
	/** The character set used (for http requests, writing in files, etc.). */
fe1e4470   Nathanael Jourdane   Minor code improv...
27
	public static final String ENCODING = "UTF-8";
af879274   Nathanael Jourdane   First 'real' commit.
28
29
30

	/** The temporary directory path. */
	public static final String TMP_DIR = System.getProperty("java.io.tmpdir");
34ddb630   Nathanael Jourdane   Remove type argum...
31

6415d908   Nathanael Jourdane   Get all tap servi...
32
	/** The URL of the registry used by default to get the services. */
27fa4198   Nathanael Jourdane   use Gavo registry...
33
	public static final String DEFAULT_REGISTRY_URL = "http://gavo.aip.de/tap";
6415d908   Nathanael Jourdane   Get all tap servi...
34
35
36
37
	// http://reg.g-vo.org/tap
	// http://dc.zah.uni-heidelberg.de/tap
	// http://gavo.aip.de/tap
	// http://voparis-cdpp.obspm.fr/tap
34ddb630   Nathanael Jourdane   Remove type argum...
38

d03dc8a7   Nathanael Jourdane   Make VOTableConne...
39
40
41
42
	public static final String QUERY_LANG = "ADQL";

	public static final String QUERY_REQUEST = "doQuery";

ece9006c   Nathanael Jourdane   bugFix bad query ...
43
44
	public static final String QUERY_FORMAT = "votable";

aa2a59ba   Nathanael Jourdane   [coding style] 2 ...
45

a7aff3e3   Nathanael Jourdane   Fix Sonar issues
46
	/** Constructor to hide the implicit public one. */
041cc394   Nathanael Jourdane   improve utils pac...
47
	private Consts() {
a7aff3e3   Nathanael Jourdane   Fix Sonar issues
48
	}
af879274   Nathanael Jourdane   First 'real' commit.
49
}