public class JaxbDatabase extends org.linguafranca.pwdb.base.AbstractDatabase<JaxbDatabase,JaxbGroup,JaxbEntry,JaxbIcon>
Database for JAXB.| Constructor and Description |
|---|
JaxbDatabase() |
JaxbDatabase(KeePassFile keePassFile) |
| Modifier and Type | Method and Description |
|---|---|
static JaxbDatabase |
createEmptyDatabase() |
void |
enableRecycleBin(boolean enable) |
String |
getDescription() |
KeePassFile |
getKeePassFile() |
String |
getName() |
JaxbGroup |
getRecycleBin() |
JaxbGroup |
getRootGroup() |
boolean |
isRecycleBinEnabled() |
static JaxbDatabase |
load(org.linguafranca.pwdb.Credentials creds,
InputStream inputStream) |
static @NotNull JaxbDatabase |
load(StreamFormat format,
org.linguafranca.pwdb.Credentials creds,
InputStream inputStream) |
JaxbEntry |
newEntry() |
JaxbGroup |
newGroup() |
JaxbIcon |
newIcon() |
JaxbIcon |
newIcon(Integer i) |
void |
save(org.linguafranca.pwdb.Credentials creds,
OutputStream outputStream) |
void |
save(StreamFormat format,
org.linguafranca.pwdb.Credentials creds,
OutputStream outputStream) |
void |
setDescription(String description) |
void |
setName(String s) |
boolean |
shouldProtect(String propertyName) |
deleteEntry, deleteGroup, emptyRecycleBin, findEntries, findEntries, findEntry, findGroup, isDirty, newEntry, newEntry, newGroup, newGroup, setDirty, supportsBinaryProperties, supportsNonStandardPropertyNames, supportsRecycleBin, visit, visitpublic JaxbDatabase()
public JaxbDatabase(KeePassFile keePassFile)
public static JaxbDatabase createEmptyDatabase()
public static JaxbDatabase load(org.linguafranca.pwdb.Credentials creds, InputStream inputStream)
@NotNull public static @NotNull JaxbDatabase load(StreamFormat format, org.linguafranca.pwdb.Credentials creds, InputStream inputStream)
public void save(org.linguafranca.pwdb.Credentials creds,
OutputStream outputStream)
throws IOException
IOExceptionpublic void save(StreamFormat format, org.linguafranca.pwdb.Credentials creds, OutputStream outputStream) throws IOException
IOExceptionpublic JaxbGroup getRootGroup()
public JaxbGroup getRecycleBin()
public boolean isRecycleBinEnabled()
public void enableRecycleBin(boolean enable)
public JaxbGroup newGroup()
public JaxbEntry newEntry()
public JaxbIcon newIcon()
public String getDescription()
public void setDescription(String description)
public boolean shouldProtect(String propertyName)
public String getName()
public void setName(String s)
public KeePassFile getKeePassFile()
Copyright © 2018. All rights reserved.