StarTableWriterpublic class TstTableWriter extends StreamStarTableWriter
| Constructor | Description |
|---|---|
TstTableWriter() |
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.String |
getFormatName() |
Returns "TST".
|
java.lang.String |
getMimeType() |
Returns "text/plain".
|
boolean |
looksLikeFile(java.lang.String location) |
Returns true for
location argument which ends in
".tst", ".TST" or ".TAB". |
void |
writeStarTable(StarTable st,
java.io.OutputStream out) |
Writes a StarTable object to a given output stream.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitwriteStarTablepublic java.lang.String getFormatName()
public java.lang.String getMimeType()
public boolean looksLikeFile(java.lang.String location)
location argument which ends in
".tst", ".TST" or ".TAB".location - the intended destination of the outputpublic void writeStarTable(StarTable st, java.io.OutputStream out) throws java.io.IOException
StarTableWriterBufferedOutputStream), and should not close it
at the end of the call.
Not all table writers are capable of writing to a stream;
an implementation may throw a TableFormatException to
indicate that it cannot do so.
st - the table to writeout - the output stream to which startab should be
writtenTableFormatException - if this table cannot be written to a
streamjava.io.IOException - if there is some I/O errorCopyright © 2018 Central Laboratory of the Research Councils. All Rights Reserved.