Class FileSystemInternalUtil


  • public class FileSystemInternalUtil
    extends java.lang.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) $
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.io.File getSingleCopyFileFile​(IFile file)
      Returns the related file of the given IFile if it is an instance of SingleCopyFile.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • FileSystemInternalUtil

        public FileSystemInternalUtil()
    • Method Detail

      • getSingleCopyFileFile

        public static java.io.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:
        java.lang.IllegalArgumentException - if the given IFile is not an instance of SingleCopyFile.
        Since:
        12.1.0