java.lang.Object
org.gjt.sp.util.Task
org.gjt.sp.jedit.bufferio.IoTask
org.gjt.sp.jedit.bufferio.BufferIORequest
org.gjt.sp.jedit.bufferio.BufferAutosaveRequest
- All Implemented Interfaces:
Runnable
,ProgressObserver
A buffer autosave request.
- Version:
- $Id: BufferAutosaveRequest.java 25270 2020-04-18 19:11:28Z kpouer $
- Author:
- Slava Pestov
-
Field Summary
Fields inherited from class org.gjt.sp.jedit.bufferio.BufferIORequest
buffer, END_OFFSETS, ERROR_OCCURRED, IOBUFSIZE, LOAD_DATA, markersPath, NEW_PATH, path, PROGRESS_INTERVAL, session, vfs, view
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
_run()
This is the method you have to implement and that will be executed in the thread.Methods inherited from class org.gjt.sp.jedit.bufferio.BufferIORequest
autodetect, endSessionQuietly, getByteIOBufferSize, getCharIOBufferSize, read, toString, write
Methods inherited from class org.gjt.sp.util.Task
cancel, getLabel, getMaximum, getState, getStatus, getValue, isCancellable, run, setCancellable, setLabel, setMaximum, setStatus, setValue
-
Constructor Details
-
BufferAutosaveRequest
Creates a new buffer I/O request.- Parameters:
view
- The viewbuffer
- The buffersession
- The VFS sessionvfs
- The VFSpath
- The path
-
-
Method Details