holoedit.util
Class Text

java.lang.Object
  extended by holoedit.util.Text

public class Text
extends java.lang.Object


Constructor Summary
Text()
           
 
Method Summary
static java.io.BufferedReader appendFileToTextArea(java.io.File file, javax.swing.JTextArea textArea)
           
static java.io.BufferedReader appendFileToTextArea(java.lang.String name, javax.swing.JTextArea textArea)
           
static java.io.BufferedReader appendFileToTextArea(java.lang.String name, javax.swing.JTextArea textArea, java.io.BufferedReader _reader)
           
static java.io.BufferedReader appendFileToTextArea(java.lang.String name, javax.swing.JTextArea textArea, java.lang.String stop)
           
static void textAreaToFile(java.io.File file, javax.swing.JTextArea textArea)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Text

public Text()
Method Detail

appendFileToTextArea

public static java.io.BufferedReader appendFileToTextArea(java.lang.String name,
                                                          javax.swing.JTextArea textArea,
                                                          java.lang.String stop)
Parameters:
name - The complete name of the file ("./algo/groovyFile.groovy" for example)
textArea - The JTextArea where the text of the file has to be copied
Returns:
the textArea after the copy

appendFileToTextArea

public static java.io.BufferedReader appendFileToTextArea(java.io.File file,
                                                          javax.swing.JTextArea textArea)
Parameters:
name - The complete name of the file ("./algo/groovyFile.groovy" for example)
textArea - The JTextArea where the text of the file has to be copied
Returns:
the textArea after the copy

appendFileToTextArea

public static java.io.BufferedReader appendFileToTextArea(java.lang.String name,
                                                          javax.swing.JTextArea textArea,
                                                          java.io.BufferedReader _reader)
Parameters:
name - The complete name of the file ("./algo/groovyFile.groovy" for example)
textArea - The JTextArea where the text of the file has to be copied
Returns:
the textArea after the copy

appendFileToTextArea

public static java.io.BufferedReader appendFileToTextArea(java.lang.String name,
                                                          javax.swing.JTextArea textArea)
Parameters:
name - The complete name of the file ("./algo/groovyFile.groovy" for example)
textArea - The JTextArea where the text of the file has to be copied
Returns:
the textArea after the copy

textAreaToFile

public static void textAreaToFile(java.io.File file,
                                  javax.swing.JTextArea textArea)