Package weka.gui
Class SaveBuffer
- java.lang.Object
-
- weka.gui.SaveBuffer
-
public class SaveBuffer extends java.lang.Object
This class handles the saving of StringBuffers to files. It will pop up a file chooser allowing the user to select a destination file. If the file exists, the user is prompted for the correct course of action, ie. overwriting, appending, selecting a new filename or canceling.- Version:
- $Revision 1.0 $
- Author:
- Mark Hall (mhall@cs.waikato.ac.nz)
-
-
Constructor Summary
Constructors Constructor Description SaveBuffer(Logger log, java.awt.Component parent)
Constructor
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static void
main(java.lang.String[] args)
Main method for testing this classboolean
save(java.lang.StringBuffer buf)
Save a buffer
-
-
-
Constructor Detail
-
SaveBuffer
public SaveBuffer(Logger log, java.awt.Component parent)
Constructor- Parameters:
log
- the logger to send messages toparent
- the parent component will be requesting a save
-
-