edu.jhu.pha.ivoa
Class VOTWrap
java.lang.Object
|
+--edu.jhu.pha.ivoa.VOTWrap
- public class VOTWrap
- extends java.lang.Object
Current Version
===============
ID: $Id: VOTWrap.html,v 1.1 2003/08/18 18:05:02 carliles Exp $
Revision: $Revision: 1.1 $
Date/time: $Date: 2003/08/18 18:05:02 $
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JAVOT
public static final int JAVOT
- See Also:
- Constant Field Values
SAVOT
public static final int SAVOT
- See Also:
- Constant Field Values
DEFAULT_PARSER
public static final int DEFAULT_PARSER
- See Also:
- Constant Field Values
JAVOT_STRING
public static final java.lang.String JAVOT_STRING
- See Also:
- Constant Field Values
SAVOT_STRING
public static final java.lang.String SAVOT_STRING
- See Also:
- Constant Field Values
VOTWrap
public VOTWrap()
createVOTable
public static VOTWrap.VOTable createVOTable(java.io.InputStream votableStream)
throws java.lang.Exception
- Parameters:
votableStream - an InputStream containing the VOTable data.
- Returns:
- a VOTable with the underlying implementation provided by the
default parser, currently set to Savot. If the VOTParser system property
has been set (for instance with -DVOTParser="JAVOT"), then the specified
parser will be used. Currently, recoginized values are "JAVOT" and
"SAVOT".
- Throws:
java.lang.Exception
createVOTable
public static VOTWrap.VOTable createVOTable(java.io.InputStream votableStream,
int parser)
throws java.lang.Exception
- Parameters:
votableStream - an InputStream containing the VOTable data.parser - the macro value specifying which parser to use.
- Returns:
- a VOTable with the underlying implementation provided by the
parser specified by
parser. Currently, recognized values for
parser are JAVOT and SAVOT.
- Throws:
java.lang.Exception
revision
public static java.lang.String revision()
- Returns:
- CVS Revision number.