Class ExportsUtil

java.lang.Object
cz.cuni.kubinja.hospitalsystem.util.ExportsUtil

public final class ExportsUtil extends Object
Contains contains connected with exporting data into files.
  • Field Details

    • exportDirectoryDestination

      public static String exportDirectoryDestination
      Location of the exports directory
    • patientExportDestination

      public static String patientExportDestination
      Location of the file where will be exported patients data
    • doctorExportDestination

      public static String doctorExportDestination
      Location of the file where will be exported doctor data
    • appointmentExportDestination

      public static String appointmentExportDestination
      Location of the file where will be exported appointment data
    • unableToPrepareExportsDirectoryErrMsg

      public static String unableToPrepareExportsDirectoryErrMsg
      Exception message which denotes that while exporting was unsuccessfully created export directory
  • Method Details

    • getExportFileName

      public static String getExportFileName(String name)
      Returns name of the file with export date prefix.
      Parameters:
      name - Base name of the file.
      Returns:
      Name of the file with export date prefix.