VTT Java
2010 Version

gov.nih.nlm.nls.vtt.Model
Class VttText

java.lang.Object
  extended by gov.nih.nlm.nls.vtt.Model.VttText

public class VttText
extends java.lang.Object

This class provides methods to format the original text to vtt format.

History:

Version:
V-2010
Author:
NLM NLS Development Team, clu

Method Summary
static java.lang.String ToString(java.lang.String text)
          Convert text to string representation by adding text banner to text.
static void WriteTextToFile(java.io.BufferedWriter out, java.lang.String text)
          Write Vtt text to an output file.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

WriteTextToFile

public static void WriteTextToFile(java.io.BufferedWriter out,
                                   java.lang.String text)
                            throws java.io.IOException
Write Vtt text to an output file.

Parameters:
out - buffered writer to be written to
text - Vtt text
Throws:
java.io.IOException

ToString

public static java.lang.String ToString(java.lang.String text)
Convert text to string representation by adding text banner to text.

Parameters:
text - Vtt text
Returns:
String representation of Vtt text

VTT Java
2010 Version

Submit a bug or feature

Copyright © 2010 National Library of Medicine