Interface IFileSystemManager

    • Method Detail

      • writeFile

        @Deprecated
        void writeFile​(PortalFile file,
                       byte[] content)
                throws java.io.IOException
        Deprecated.
        since 8.0.0 replaced by IFile.getOutputStream().
        Writes content in the specified file. The change is replicated across the cluster.
        Parameters:
        file - the file to write. If it already exists it is overwritten.
        content - the content.
        Throws:
        java.io.IOException
        Since:
        4.1.0
      • writeFile

        @Deprecated
        void writeFile​(PortalFile file,
                       java.io.InputStream content)
                throws java.io.IOException
        Deprecated.
        since 8.0.0 replaced by IFile.getOutputStream().
        Writes content in the specified file. The change is replicated across the cluster.
        Parameters:
        file - the file to write. If it already exists it is overwritten.
        content - the content.
        Throws:
        java.io.IOException
        Since:
        4.1.0
      • copyFile

        @Deprecated
        void copyFile​(PortalFile source,
                      PortalFile destination)
               throws java.io.IOException
        Deprecated.
        since 8.0.0 replaced by IFile.copyTo(IFile).
        Performs a file copy. The copy operation is repeated across the cluster.
        Parameters:
        source - the source file.
        destination - the destination file. If it already exists it is overwritten.
        Throws:
        java.io.IOException
        Since:
        4.1.0
      • getFile

        IFile getFile​(PortalFilePath portalFilePath)
        Returns the IFile to perform operations in portal known files.
        Parameters:
        portalFilePath - the PortalFilePath that represents the desired file.
        Returns:
        the IFile to perform operations in portal known files.
        Throws:
        java.lang.IllegalArgumentException - if portalFilePath is null.
        Since:
        8.0.0
        See Also:
        lumis.portal.filesystem