- Timestamp:
- 2004-10-08T12:26:44+13:00 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gli/src/org/greenstone/gatherer/util/AppendLineOnlyFileDocument.java
r8236 r8240 39 39 import javax.swing.text.*; 40 40 import org.greenstone.gatherer.DebugStream; 41 import org.greenstone.gatherer.Gatherer;42 41 import org.greenstone.gatherer.gui.GLIButton; 43 42 import org.greenstone.gatherer.util.StaticStrings; … … 77 76 /** The constructor is responsible for creating several necessary data structures as well as opening the random access file. When it creates the new file, as it is wont to do, it will immediately add the special header line defined above. 78 77 * @param filename the absolute path name of the file as a String 79 * @see org.greenstone.gatherer.Gatherer#println80 * @see org.greenstone.gatherer.Gatherer#printStackTrace81 78 * @see org.greenstone.gatherer.util.AppendLineOnlyFileDocument.AppendLineOnlyFileDocumentElement 82 79 * @see org.greenstone.gatherer.util.AppendLineOnlyFileDocument.WriterThread … … 131 128 /** Append some content after the document. 132 129 * @param str the String to add as a new line in the document 133 * @see org.greenstone.gatherer.Gatherer#printStackTrace134 130 * @see org.greenstone.gatherer.util.AppendLineOnlyFileDocument.AppendLineOnlyFileDocumentElement 135 131 * @see org.greenstone.gatherer.util.AppendLineOnlyFileDocument.AppendLineOnlyFileDocumentEvent … … 178 174 179 175 /** The destructor is implemented to ensure the current log file has finished transferring from memory to disk, and that the random access file is properly closed, before GLI exits. 180 * @see org.greenstone.gatherer.Gatherer#println181 * @see org.greenstone.gatherer.Gatherer#printStackTrace182 176 * @see org.greenstone.gatherer.util.AppendLineOnlyFileDocument.WriterThread#finish 183 177 */ … … 240 234 * @param offset the starting offset for the fragment of text required, as an int 241 235 * @param l the length of the text, also as an int 242 * @see org.greenstone.gatherer.Gatherer#printStackTrace243 236 * @see org.greenstone.gatherer.util.AppendLineOnlyFileDocument.AppendLineOnlyFileDocumentElement 244 237 * @see org.greenstone.gatherer.util.StaticStrings#EMPTY_STR … … 358 351 /** To record the final state of the logging process we reserve a single character at the start of the file, and then replace it when the build process is complete. 359 352 * @param character the final status char to replace the X at the start of the log 360 * @see org.greenstone.gatherer.Gatherer#printStackTrace361 353 */ 362 354 public synchronized void setSpecialCharacter(char character) { … … 779 771 780 772 /** The run method of this thread checks if there are any document elements queued to be written to file, and then writes them as necessary. 781 * @see org.greenstone.gatherer.Gatherer#printStackTrace782 773 * @see org.greenstone.gatherer.util.AppendLineOnlyFileDocument 783 774 * @see org.greenstone.gatherer.util.AppendLineOnlyFileDocument.AppendLineOnlyFileDocumentElement … … 886 877 /** Print a message to the GLI debug file stream. 887 878 * @param message the message to be written as a String 888 * @see org.greenstone.gatherer.Gatherer#println889 879 */ 890 880 static synchronized public void print(String message) {
Note:
See TracChangeset
for help on using the changeset viewer.