insensa.XMLProperties
Class CXmlViewProperties
java.lang.Object
insensa.XMLProperties.CXmlViewProperties
public class CXmlViewProperties
- extends java.lang.Object
Field Summary |
private org.jdom.Document |
doc
|
private java.lang.String |
filename
|
(package private) java.util.concurrent.locks.Lock |
lock
|
private org.jdom.Element |
rootDoc
|
private java.lang.String |
separator
|
private java.io.FileOutputStream |
streamOut
|
private java.io.File |
xmlFile
|
private org.jdom.output.XMLOutputter |
xmlOut
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
filename
private java.lang.String filename
doc
private org.jdom.Document doc
rootDoc
private org.jdom.Element rootDoc
xmlOut
private org.jdom.output.XMLOutputter xmlOut
streamOut
private java.io.FileOutputStream streamOut
xmlFile
private java.io.File xmlFile
separator
private java.lang.String separator
lock
final java.util.concurrent.locks.Lock lock
CXmlViewProperties
public CXmlViewProperties(java.lang.String path)
- Parameters:
path
-
addExpandList
public void addExpandList(java.util.List<java.lang.Integer> iList)
throws java.io.IOException
- Parameters:
iList
-
- Throws:
java.io.IOException
close
public void close()
delete
public boolean delete()
- Returns:
getExpandList
public java.util.List<java.lang.Integer> getExpandList()
- Returns:
getLastImportedFilePath
public java.lang.String getLastImportedFilePath()
throws java.io.IOException
- Returns:
-
- Throws:
java.io.IOException
getLastImportedFolderPath
public java.lang.String getLastImportedFolderPath()
throws java.io.IOException
- Returns:
- path of the last imported folder or an empty String
if this there is no property available
- Throws:
java.io.IOException
setLastImportedFilePath
public void setLastImportedFilePath(java.lang.String path)
throws java.io.IOException
- Parameters:
path
-
- Throws:
java.io.IOException
setLastImportedFolderPath
public void setLastImportedFolderPath(java.lang.String path)
throws java.io.IOException
- Parameters:
path
-
- Throws:
java.io.IOException
writeConfig
public void writeConfig()
throws java.io.IOException
- Throws:
java.io.IOException