public class FileSystemManager extends Object implements IFileSystemManager
Constructor and Description |
---|
FileSystemManager() |
Modifier and Type | Method and Description |
---|---|
void |
copyFile(PortalFile source,
PortalFile destination)
Deprecated.
|
IFile |
getFile(PortalFilePath portalFilePath)
Returns the
IFile to perform operations in portal known files. |
static void |
initFileSystem()
Initializes the file system.
|
static boolean |
isInitialized()
Returns whether the file system is initialized.
|
void |
writeFile(PortalFile file,
byte[] content)
Deprecated.
|
void |
writeFile(PortalFile file,
InputStream content)
Deprecated.
|
@Deprecated public void writeFile(PortalFile file, byte[] content) throws IOException
IFileSystemManager
writeFile
in interface IFileSystemManager
file
- the file to write. If it already exists it is overwritten.content
- the content.IOException
@Deprecated public void writeFile(PortalFile file, InputStream content) throws IOException
IFileSystemManager
writeFile
in interface IFileSystemManager
file
- the file to write. If it already exists it is overwritten.content
- the content.IOException
@Deprecated public void copyFile(PortalFile source, PortalFile destination) throws IOException
IFileSystemManager
copyFile
in interface IFileSystemManager
source
- the source file.destination
- the destination file. If it already exists it is overwritten.IOException
public IFile getFile(PortalFilePath portalFilePath)
IFileSystemManager
IFile
to perform operations in portal known files.getFile
in interface IFileSystemManager
portalFilePath
- the PortalFilePath
that represents the desired file.IFile
to perform operations in portal known files.lumis.portal.filesystem
public static void initFileSystem()
public static boolean isInitialized()
LumisXP 12.5.0.200928 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.