Class ResultTreesLocalSaver

java.lang.Object
  extended by ResultTreesLocalSaver
All Implemented Interfaces:
java.awt.event.ActionListener, java.util.EventListener, SavingFinishedListener

public class ResultTreesLocalSaver
extends java.lang.Object
implements java.awt.event.ActionListener, SavingFinishedListener

This object initializes saving of the result trees to the local disc. It shows a progress bar and allows the user to cancel the saving.


Constructor Summary
ResultTreesLocalSaver(NGClient p_jaaa, ShowMessagesAble p_mess, java.util.ResourceBundle p_i18n)
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
           
 java.lang.String getDestinationDirectory()
           
 java.lang.String getFilesPrefix()
           
 long getFilesSize()
           
 boolean getPutMatchingMetaTag()
           
 boolean getSaveMultipleOccurrences()
           
 void readGeneralProperties(Properties properties)
           
 void saveResultDialog()
           
 void savingCanceled(java.lang.Object source)
          Invoked when saving of trees is canceled; an object envoking the function is provided.
 void savingFinished()
          SavingFinishedListener implementation
 void setDestinationDirectory(java.lang.String path)
           
 void setFilesPrefix(java.lang.String prefix)
           
 void setFilesSize(long size)
           
 void setPutMatchingMetaTag(boolean put)
           
 void setSaveMultipleOccurrences(boolean save)
           
 void writeGeneralProperties(Properties properties)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResultTreesLocalSaver

public ResultTreesLocalSaver(NGClient p_jaaa,
                             ShowMessagesAble p_mess,
                             java.util.ResourceBundle p_i18n)
Method Detail

getDestinationDirectory

public java.lang.String getDestinationDirectory()

setDestinationDirectory

public void setDestinationDirectory(java.lang.String path)

getFilesPrefix

public java.lang.String getFilesPrefix()

setFilesPrefix

public void setFilesPrefix(java.lang.String prefix)

getFilesSize

public long getFilesSize()

setFilesSize

public void setFilesSize(long size)

getPutMatchingMetaTag

public boolean getPutMatchingMetaTag()

setPutMatchingMetaTag

public void setPutMatchingMetaTag(boolean put)

getSaveMultipleOccurrences

public boolean getSaveMultipleOccurrences()

setSaveMultipleOccurrences

public void setSaveMultipleOccurrences(boolean save)

readGeneralProperties

public void readGeneralProperties(Properties properties)

writeGeneralProperties

public void writeGeneralProperties(Properties properties)

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)
Specified by:
actionPerformed in interface java.awt.event.ActionListener

savingCanceled

public void savingCanceled(java.lang.Object source)
Description copied from interface: SavingFinishedListener
Invoked when saving of trees is canceled; an object envoking the function is provided.

Specified by:
savingCanceled in interface SavingFinishedListener

savingFinished

public void savingFinished()
SavingFinishedListener implementation

Specified by:
savingFinished in interface SavingFinishedListener

saveResultDialog

public void saveResultDialog()