|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<SourceCatalogTextFormat> edu.nrao.sss.model.source.parser.SourceCatalogTextFormat
public enum SourceCatalogTextFormat
Text formats for the import and export of a source catalog.
Version Info:
$Revision: 877 $ |
$Date: 2007-09-18 11:02:30 -0600 (Tue, 18 Sep 2007) $ |
$Author: jrochfor $ |
Enum Constant Summary | |
---|---|
GBT
|
|
PST
|
|
VLA
|
|
VLBA
|
|
XML
|
Method Summary | |
---|---|
boolean |
isExportSupported()
Returns true if the export of a catalog into this text format is supported. |
boolean |
isImportSupported()
Returns true if the import of a catalog from this text format is supported. |
abstract SourceCatalogReader |
makeNewReader()
Returns a new source catalog reader that understands this format. |
abstract SourceCatalogWriter |
makeNewWriter()
Returns a new source catalog writer that understands this format. |
void |
setExportSupported(boolean isSupported)
Configures this format to either support, or not support, the export of a source catalog into this type of text. |
void |
setImportSupported(boolean isSupported)
Configures this format to either support, or not support, the import of a source catalog from this type of text. |
String |
toString()
Returns a text representation of this enumeration constant. |
static SourceCatalogTextFormat |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static SourceCatalogTextFormat[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final SourceCatalogTextFormat XML
public static final SourceCatalogTextFormat VLA
public static final SourceCatalogTextFormat VLBA
public static final SourceCatalogTextFormat GBT
public static final SourceCatalogTextFormat PST
Method Detail |
---|
public static SourceCatalogTextFormat[] values()
for (SourceCatalogTextFormat c : SourceCatalogTextFormat.values()) System.out.println(c);
public static SourceCatalogTextFormat valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic void setImportSupported(boolean isSupported)
isSupported
- true if the import of this format should
be supported.public void setExportSupported(boolean isSupported)
isSupported
- true if the export of this format should
be supported.public boolean isImportSupported()
public boolean isExportSupported()
public abstract SourceCatalogReader makeNewReader()
public abstract SourceCatalogWriter makeNewWriter()
public String toString()
toString
in class Enum<SourceCatalogTextFormat>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |