public abstract class DocumentedStreamStarTableWriter extends java.lang.Object implements StarTableWriter, DocumentedIOHandler
| Modifier | Constructor and Description |
|---|---|
protected |
DocumentedStreamStarTableWriter(java.lang.String[] extensions)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String[] |
getExtensions()
Returns the list of filename extensions recognised by this handler.
|
boolean |
looksLikeFile(java.lang.String filename)
Indicates whether the destination is of a familiar form for this
kind of writer.
|
void |
writeStarTable(StarTable table,
java.lang.String location,
StarTableOutput sto)
Writes a StarTable object to a given location.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetFormatName, getMimeType, writeStarTabledocIncludesExample, matchesExtension, readText, toLinkgetXmlDescriptionprotected DocumentedStreamStarTableWriter(java.lang.String[] extensions)
extensions - list of lower-cased filename extensions,
excluding the '.' characterpublic java.lang.String[] getExtensions()
DocumentedIOHandlergetExtensions in interface DocumentedIOHandlerpublic boolean looksLikeFile(java.lang.String filename)
StarTableWriterlooksLikeFile in interface StarTableWriterfilename - the location name (probably filename)public void writeStarTable(StarTable table, java.lang.String location, StarTableOutput sto) throws java.io.IOException
StarTableWriterStreamStarTableWriter provides a suitable implementation
for this case.writeStarTable in interface StarTableWritertable - table to writelocation - destination for startabsto - StarTableOutput which dispatched this requestTableFormatException - if startab cannot be written
to locationjava.io.IOException - if there is some I/O error