Class FileSystemInternalUtil


  • public class FileSystemInternalUtil
    extends Object
    Internal use only helper class wrapping utility methods for any implementations of IFileSystem.
    Since:
    12.1.0
    Version:
    $Revision: 23263 $ $Date: 2019-10-09 18:03:57 -0300 (Wed, 09 Oct 2019) $
    • Constructor Detail

      • FileSystemInternalUtil

        public FileSystemInternalUtil()
    • Method Detail

      • getSingleCopyFileFile

        public static File getSingleCopyFileFile​(IFile file)
        Returns the related file of the given IFile if it is an instance of SingleCopyFile.
        Parameters:
        file - The file to get the related file from.
        Returns:
        the related file of the given IFile if it is an instance of SingleCopyFile.
        Throws:
        IllegalArgumentException - if the given IFile is not an instance of SingleCopyFile.
        Since:
        12.1.0