com.notuvy.xml
Class FileStorage

java.lang.Object
  extended by com.notuvy.xml.BaseStorage
      extended by com.notuvy.xml.FileStorage
All Implemented Interfaces:
XmlStorable

public class FileStorage
extends BaseStorage

Save the XML to the file system. User: murali Date: Dec 30, 2007 Time: 7:56:40 AM


Field Summary
 
Fields inherited from class com.notuvy.xml.BaseStorage
fObject, LOG
 
Constructor Summary
FileStorage(SimpleJdom pObject, File pFileImage)
           
 
Method Summary
 XmlIOStatus<Void> delete()
           
 XmlIOStatus<Boolean> exists()
           
 File getFileImage()
           
 XmlIOStatus<Void> read()
           
 XmlIOStatus<Void> readIfStoredImageExists()
           
 XmlIOStatus<Void> readIfStoredImageExists(boolean pVerboseWarn)
           
 XmlIOStatus<Void> readOrCreate()
           
 XmlIOStatus<Void> save()
           
 
Methods inherited from class com.notuvy.xml.BaseStorage
getObject, isOnlySaveIfChanged, setOnlySaveIfChanged, skipSave, takeContentSnapshot
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileStorage

public FileStorage(SimpleJdom pObject,
                   File pFileImage)
Method Detail

getFileImage

public File getFileImage()

readIfStoredImageExists

public XmlIOStatus<Void> readIfStoredImageExists(boolean pVerboseWarn)

save

public XmlIOStatus<Void> save()

read

public XmlIOStatus<Void> read()

exists

public XmlIOStatus<Boolean> exists()

readIfStoredImageExists

public XmlIOStatus<Void> readIfStoredImageExists()

readOrCreate

public XmlIOStatus<Void> readOrCreate()

delete

public XmlIOStatus<Void> delete()


Copyright © 2013. All Rights Reserved.