public class TstTableWriter extends DocumentedStreamStarTableWriter
| Constructor and Description | 
|---|
TstTableWriter()  | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
docIncludesExample()
Indicates whether the serialization of some (short) example table
 should be added to the user documentation for this handler. 
 | 
java.lang.String | 
getFormatName()
Returns "TST". 
 | 
java.lang.String | 
getMimeType()
Returns "text/plain". 
 | 
java.lang.String | 
getXmlDescription()
Returns user-directed documentation in XML format. 
 | 
void | 
writeStarTable(StarTable st,
              java.io.OutputStream out)
Writes a  
StarTable object to a given output stream. | 
getExtensions, looksLikeFile, writeStarTableclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitmatchesExtension, readText, toLinkpublic java.lang.String getFormatName()
public java.lang.String getMimeType()
public boolean docIncludesExample()
DocumentedIOHandlerDocumented.getXmlDescription()
 method already includes some example output, should return false.public java.lang.String getXmlDescription()
DocumentedThe output should be a sequence of one or more <P> elements, using XHTML-like XML. Since rendering may be done in a number of contexts however, use of the full range of XHTML elements is discouraged. Where possible, the content should stick to simple markup such as the elements P, A, UL, OL, LI, DL, DT, DD EM, STRONG, I, B, CODE, TT, PRE.
public void writeStarTable(StarTable st, java.io.OutputStream out) throws java.io.IOException
StarTableWriterStarTable object to a given output stream.
 The implementation can assume that out is suitable for
 direct writing (for instance it should not normally wrap it in a 
 BufferedOutputStream), 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 error