public class IniWriter extends Thread
de.uni_leipzig.asv.bordag.sgz.util.IniFile,
de.uni_leipzig.asv.bordag.sgz.util.IniReaderThread.State, Thread.UncaughtExceptionHandler| Modifier and Type | Field and Description |
|---|---|
protected Hashtable<String,Hashtable<String,String>> |
entries
A double Hashtable containing the structure of the file
|
protected String |
file
The filename which was used to read the information
|
protected Vector<String> |
fileLines
The lines in the file previously
|
protected BufferedWriter |
writer
This is the Writer we write the data into
|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY| Constructor and Description |
|---|
IniWriter(IniFile reader)
Creates an instance of the IniReader and reads the file, thus cashing the
data
|
| Modifier and Type | Method and Description |
|---|---|
void |
run()
Turn by turn write the lines into the file
|
String |
toString()
Returns a printrepresentation of this instance
|
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, yieldprotected Hashtable<String,Hashtable<String,String>> entries
protected String file
protected BufferedWriter writer
public IniWriter(IniFile reader)
Copyright © 2013. All rights reserved.