View Javadoc

1   /*
2    * $Id: MimeTypes.java,v 1.3 2005/01/26 17:31:56 mch Exp $
3    *
4    */
5   
6   
7   package org.astrogrid.slinger.mime ;
8   
9   /***
10   * Defines some 'standard' mime types used by astrogrid/the IVO.
11   * @see http://www.iana.org/assignments/media-types/
12   *
13   */
14  public interface MimeTypes  {
15  
16     public static final String PLAINTEXT   = "text/plain"  ;
17     public static final String XML         = "text/xml"  ;
18     public static final String HTML        = "text/html"  ;
19     public static final String TSV        = "text/tab-separated-values"  ; //tab separated
20     public static final String CSV        = "text/comma-separated-values"  ; //not official?
21  
22     
23     public static final String FITS        = "application/fits"  ;
24  
25     //see ivoa forum comments http://www.ivoa.net/forum/dal/0406/0198.htm.
26     public static final String VOTABLE  = "application/x-votable+xml";
27     
28     public static final String JOB      = "text/xml +org.astrogrid.job"      ;
29     public static final String WORKFLOW = "text/xml +org.astrogrid.workflow" ;
30  
31     public static final String ADQL     = "text/xml +org.astrogrid.adql"     ;
32     public static final String VOLIST   = "text/xml +org.astrogrid.volist"  ;
33  
34  }
35  /*
36   *   $Log: MimeTypes.java,v $
37   *   Revision 1.3  2005/01/26 17:31:56  mch
38   *   Split slinger out to scapi, swib, etc.
39   *
40   *   Revision 1.1.2.2  2004/12/06 00:07:31  mch
41   *   Added clip, addstore and fixes
42   *
43   *   Revision 1.1.2.1  2004/11/25 07:18:13  mch
44   *   added mime names
45   *
46   */