edu.mayo.informatics.lexgrid.convert.formats.inputFormats
Class SemNetFiles
java.lang.Object
edu.mayo.informatics.lexgrid.convert.formats.baseFormats.CommonBase
edu.mayo.informatics.lexgrid.convert.formats.baseFormats.URIBase
edu.mayo.informatics.lexgrid.convert.formats.inputFormats.SemNetFiles
- All Implemented Interfaces:
- InputFormatInterface
- Direct Known Subclasses:
- SemNetFilesSWT
public class SemNetFiles
- extends URIBase
- implements InputFormatInterface
Format interface for converting RRF files to SQL.
- Version:
- subversion $Revision: $ checked in on $Date: $
- Author:
- Dan Armbrust
Fields inherited from class edu.mayo.informatics.lexgrid.convert.formats.baseFormats.URIBase |
fileLocation |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
description
public static final java.lang.String description
- See Also:
- Constant Field Values
SemNetFiles
public SemNetFiles()
SemNetFiles
public SemNetFiles(java.net.URI location)
getSupportedOutputFormats
public java.lang.String[] getSupportedOutputFormats()
- Description copied from interface:
InputFormatInterface
- Get the supported Output formats for this input format.
- Specified by:
getSupportedOutputFormats
in interface InputFormatInterface
- Returns:
getDescription
public java.lang.String getDescription()
- Description copied from interface:
InputFormatInterface
- Get the description of the input type.
- Specified by:
getDescription
in interface InputFormatInterface
- Returns:
testConnection
public java.lang.String testConnection()
throws ConnectionFailure
- Description copied from interface:
InputFormatInterface
- See if the provided parameters make a valid connection
- Specified by:
testConnection
in interface InputFormatInterface
- Overrides:
testConnection
in class URIBase
- Returns:
- An optional warning about the connection - for example, SQL
implementations may want to return a warning if the existing sql
tables are a different version than what is expected.
- Throws:
ConnectionFailure
- If a connection can't be made.
getOptions
public Option[] getOptions()
- Description copied from interface:
InputFormatInterface
- Get the additional options that must be supplied before the reading can
happen.
- Specified by:
getOptions
in interface InputFormatInterface
- Returns:
getConnectionSummary
public java.lang.String getConnectionSummary()
- Description copied from interface:
InputFormatInterface
- Get a summary of the connection parameters.
- Specified by:
getConnectionSummary
in interface InputFormatInterface
- Returns:
- the summary.
getAvailableTerminologies
public java.lang.String[] getAvailableTerminologies()
throws ConnectionFailure,
UnexpectedError
- Specified by:
getAvailableTerminologies
in interface InputFormatInterface
- Throws:
ConnectionFailure
UnexpectedError