Package lumis.portal.filesystem
Interface IFileSystemManager
-
- All Known Implementing Classes:
FileSystemManager
@StableMinor(version="14.2", sinceVersion="4.1") public interface IFileSystemManager
Provides operations for manipulating the file system.- Since:
- 4.1.0
- Version:
- $Revision: 24985 $ $Date: 2022-05-02 23:04:30 -0300 (Mon, 02 May 2022) $
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description void
copyFile(PortalFile source, PortalFile destination)
Deprecated.since 8.0.0 replaced byIFile.copyTo(IFile)
.IFile
getFile(PortalFilePath portalFilePath)
Returns theIFile
to perform operations in portal known files.void
writeFile(PortalFile file, byte[] content)
Deprecated.since 8.0.0 replaced byIFile.getOutputStream()
.void
writeFile(PortalFile file, InputStream content)
Deprecated.since 8.0.0 replaced byIFile.getOutputStream()
.
-
-
-
Method Detail
-
writeFile
@Deprecated void writeFile(PortalFile file, byte[] content) throws IOException
Deprecated.since 8.0.0 replaced byIFile.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:
IOException
- Since:
- 4.1.0
-
writeFile
@Deprecated void writeFile(PortalFile file, InputStream content) throws IOException
Deprecated.since 8.0.0 replaced byIFile.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:
IOException
- Since:
- 4.1.0
-
copyFile
@Deprecated void copyFile(PortalFile source, PortalFile destination) throws IOException
Deprecated.since 8.0.0 replaced byIFile.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:
IOException
- Since:
- 4.1.0
-
getFile
IFile getFile(PortalFilePath portalFilePath)
Returns theIFile
to perform operations in portal known files.- Parameters:
portalFilePath
- thePortalFilePath
that represents the desired file.- Returns:
- the
IFile
to perform operations in portal known files. - Throws:
IllegalArgumentException
- ifportalFilePath
isnull
.- Since:
- 8.0.0
- See Also:
lumis.portal.filesystem
-
-