Package eirb.pub.app.vault
Class PlainVault
java.lang.Object
eirb.pub.app.vault.PlainVault
- All Implemented Interfaces:
Serializable
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumstatic class -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidclean()static PlainVaultbooleanfindWithUrl(String url) javafx.collections.ObservableList<UserData> getAll()byte[]getBytes()inthashCode()voidimportCSV(InputStream inputStream, PlainVault.CSVType type) voidvoidvoidsaveToCSV(OutputStream outputStream) voidsaveToCSV(OutputStream outputStream, PlainVault.CSVType type) Save PlainFile in the file systemvoidvoidsaveToCSV(Path filePath, PlainVault.CSVType type) Save PlainFile in the file systemvoidsetFrom(PlainVault newPlainVault) toString()
-
Constructor Details
-
PlainVault
- Throws:
VaultException
-
-
Method Details
-
getBytes
- Throws:
VaultOperationException
-
addPropertyChangeListener
-
removePropertyChangeListener
-
get
- Throws:
VaultOperationException
-
getAll
-
getById
-
add
- Throws:
VaultOperationException
-
remove
- Throws:
VaultOperationException
-
emptyVault
-
setFrom
-
clean
public void clean() -
hashCode
public int hashCode() -
equals
-
toString
-
saveToCSV
Save PlainFile in the file system- Throws:
PlainVaultIOException- if the writing operation failed
-
saveToCSV
- Throws:
PlainVaultIOException
-
saveToCSV
public void saveToCSV(OutputStream outputStream, PlainVault.CSVType type) throws PlainVaultIOException Save PlainFile in the file system- Throws:
PlainVaultIOException- if the writing operation failed
-
saveToCSV
- Throws:
PlainVaultIOException
-
importCSV
public void importCSV(InputStream inputStream, PlainVault.CSVType type) throws VaultException, IOException - Throws:
VaultExceptionIOException
-
findWithUrl
-