Class FileBrowseController.FileBrowseBean

    • Field Detail

      • myFile

        protected File myFile
      • myClazz

        protected String myClazz
    • Constructor Detail

      • FileBrowseBean

        public FileBrowseBean​(@Nullable
                              File file)
    • Method Detail

      • isShowFile

        public boolean isShowFile()
      • getFileName

        public String getFileName()
      • getFileContent

        public String getFileContent()
      • getLastModifiedTimestamp

        @Nullable
        public Date getLastModifiedTimestamp()
      • getFileSize

        public String getFileSize()
      • isHasFiles

        public boolean isHasFiles()
      • getFiles

        public String[] getFiles()
      • getWebAccess

        public WebAccess getWebAccess()
      • isDownloadZip

        public boolean isDownloadZip()
      • getLinkForZip

        public String getLinkForZip()
      • getLinkForFile

        public String getLinkForFile()
      • getAdditionalDownloadLinks

        @Nullable
        public Map<String,​String> getAdditionalDownloadLinks()
        Returns:
        title - url for additional download links
      • getClazz

        public String getClazz()
      • isHighlightContent

        public boolean isHighlightContent()
      • isDeleteSupported

        public boolean isDeleteSupported()
      • isEditSupported

        public boolean isEditSupported()
      • isUploadSupported

        public boolean isUploadSupported()
      • isUploadToAnySubdirectory

        public boolean isUploadToAnySubdirectory()
      • getInitUploadFileName

        public String getInitUploadFileName()
      • isShowTotalSize

        public boolean isShowTotalSize()
      • isShowEmptyFiles

        public boolean isShowEmptyFiles()
      • shouldGetTotalSizeRecursively

        protected boolean shouldGetTotalSizeRecursively()
      • getTotalSize

        public String getTotalSize()
      • getMessageOnDelete

        public String getMessageOnDelete()
      • getPathToRoot

        public String getPathToRoot()