Interface ExportFile


public interface ExportFile
This interface represents a project export file existing on the server.
Since:
4.0
See Also:
  • Field Details

  • Method Details

    • getExportVersion

      String getExportVersion()
      Returns the version string of the FirstSpirit version which created this export file.
      Returns:
      the export version or UNKNOWN_EXPORT_VERSION if the export version is unknown.
      Since:
      4.0.52
    • getExportDate

      Date getExportDate()
      Returns the date of the export or UNKNOWN_EXPORT_DATE if the date of the export is unknown.
      Since:
      4.0.52
    • getProjectName

      String getProjectName()
      Returns the project name of the export file.
      Since:
      4.0.52
    • getName

      String getName()
      Returns the file name of this export file.
      e.g. myProject.tar.gz
      Since:
      4.0
    • getLength

      long getLength()
      Returns the length of the export file or -1 if content length is unknown (e.g. for directories)
      Since:
      4.0
    • isParted

      boolean isParted()
      Indicates whether this export file is parted or not.
      Since:
      4.0
      See Also:
    • getParts

      int getParts()
      Returns the amount of parts of this exportfile
      Since:
      4.0
      See Also:
    • getType

      Returns the type of this export file
      Since:
      4.0
    • isBackup

      boolean isBackup()
      Returns true is this file is in backup directory.
      Since:
      4.2.3