Class PrometheusDataValuesFormatter
java.lang.Object
io.github.tonywasher.joceanus.prometheus.data.PrometheusDataValuesFormatter
Formatter/Parser class for DataValues.
-
Constructor Summary
ConstructorsConstructorDescriptionPrometheusDataValuesFormatter(TethysUIThreadStatusReport pReport, PrometheusSecurityPasswordManager pPasswordMgr) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionvoidcreateBackup(PrometheusDataSet pData, File pFile) Create a Backup ZipFile.voidcreateBackup(PrometheusDataSet pData, OutputStream pZipStream) Create a Backup ZipFile.voidcreateExtract(PrometheusDataSet pData, File pFile) Create a Backup ZipFile.voidcreateExtract(PrometheusDataSet pData, OutputStream pZipStream) Create an Extract ZipFile.voidloadZipFile(PrometheusDataSet pData, File pFile) Load a ZipFile.voidloadZipFile(PrometheusDataSet pData, InputStream pInStream, String pName) Load a ZipFile.
-
Constructor Details
-
PrometheusDataValuesFormatter
public PrometheusDataValuesFormatter(TethysUIThreadStatusReport pReport, PrometheusSecurityPasswordManager pPasswordMgr) throws io.github.tonywasher.joceanus.prometheus.exc.PrometheusIOException Constructor.- Parameters:
pReport- the reportpPasswordMgr- the password manager- Throws:
io.github.tonywasher.joceanus.prometheus.exc.PrometheusIOException- on error
-
-
Method Details
-
createBackup
Create a Backup ZipFile.- Parameters:
pData- Data to write outpFile- the backup file to write to- Throws:
OceanusException- on error
-
createBackup
Create a Backup ZipFile.- Parameters:
pData- Data to write outpZipStream- the output stream- Throws:
OceanusException- on error
-
createExtract
Create a Backup ZipFile.- Parameters:
pData- Data to write outpFile- the backup file to write to- Throws:
OceanusException- on error
-
createExtract
Create an Extract ZipFile.- Parameters:
pData- Data to write outpZipStream- the output stream- Throws:
OceanusException- on error
-
loadZipFile
Load a ZipFile.- Parameters:
pData- DataSet to load intopFile- the file to load- Throws:
OceanusException- on error
-
loadZipFile
public void loadZipFile(PrometheusDataSet pData, InputStream pInStream, String pName) throws OceanusException Load a ZipFile.- Parameters:
pData- DataSet to load intopInStream- the input streampName- the file to load- Throws:
OceanusException- on error
-