org.jext.misc
Class AutoSave

java.lang.Object
  extended byjava.lang.Thread
      extended byorg.jext.misc.AutoSave
All Implemented Interfaces:
java.lang.Runnable

public class AutoSave
extends java.lang.Thread


Field Summary
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
AutoSave(JextFrame parent)
          Starts the auto save thread.
 
Method Summary
protected  void finalize()
          Patch -> Memory management improvements : it may help the garbage collector.
static int getInterval()
          Returns the intervale, in seconds, between each save.
 void run()
           
static void setInterval(int newInterval)
          Sets the interval, in seconds, between each save.
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AutoSave

public AutoSave(JextFrame parent)
Starts the auto save thread.

Method Detail

getInterval

public static int getInterval()
Returns the intervale, in seconds, between each save.


setInterval

public static void setInterval(int newInterval)
Sets the interval, in seconds, between each save.


run

public void run()

finalize

protected void finalize()
                 throws java.lang.Throwable
Patch -> Memory management improvements : it may help the garbage collector. -> Author : Julien Ponge (julien@izforge.com) -> Date : 23, May 2001

Throws:
java.lang.Throwable


Copyright ? 2002 Romain Guy.