Package org.syncany.config.to
Class MasterTO
- java.lang.Object
- 
- org.syncany.config.to.MasterTO
 
- 
 public class MasterTO extends java.lang.Object The master transfer object is used to create and load the master file from/to XML. The master file only contains the salt for the master key.The master file is stored locally and on the remote storage. The salt is used to create the master key from a password. It uses the Simple framework for XML serialization, and its corresponding annotation-based configuration. - See Also:
- Simple framework
 
- 
- 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcommit()byte[]getSalt()voidprepare()voidrelease()voidsave(java.io.File file)voidsetSalt(byte[] salt)
 
- 
- 
- 
Method Detail- 
getSaltpublic byte[] getSalt() 
 - 
setSaltpublic void setSalt(byte[] salt) 
 - 
savepublic void save(java.io.File file) throws ConfigException - Throws:
- ConfigException
 
 - 
preparepublic void prepare() 
 - 
releasepublic void release() 
 - 
commitpublic void commit() 
 
- 
 
-