@StableMinor(version="12.5", sinceVersion="4.1") public interface IFileSystemManager
Modifier and Type | Method and Description |
---|---|
void |
copyFile(PortalFile source,
PortalFile destination)
Deprecated.
since 8.0.0 replaced by
IFile.copyTo(IFile) . |
IFile |
getFile(PortalFilePath portalFilePath)
Returns the
IFile to perform operations in portal known files. |
void |
writeFile(PortalFile file,
byte[] content)
Deprecated.
since 8.0.0 replaced by
IFile.getOutputStream() . |
void |
writeFile(PortalFile file,
InputStream content)
Deprecated.
since 8.0.0 replaced by
IFile.getOutputStream() . |
@Deprecated void writeFile(PortalFile file, byte[] content) throws IOException
IFile.getOutputStream()
.file
- the file to write. If it already exists it is overwritten.content
- the content.IOException
@Deprecated void writeFile(PortalFile file, InputStream content) throws IOException
IFile.getOutputStream()
.file
- the file to write. If it already exists it is overwritten.content
- the content.IOException
@Deprecated void copyFile(PortalFile source, PortalFile destination) throws IOException
IFile.copyTo(IFile)
.source
- the source file.destination
- the destination file. If it already exists it is overwritten.IOException
IFile getFile(PortalFilePath portalFilePath)
IFile
to perform operations in portal known files.portalFilePath
- the PortalFilePath
that represents the desired file.IFile
to perform operations in portal known files.IllegalArgumentException
- if portalFilePath
is null
.lumis.portal.filesystem
LumisXP 12.5.0.200928 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.