Class FileSystem.ForLegacyVm

  • Enclosing class:
    FileSystem

    @Enhance
    protected static class FileSystem.ForLegacyVm
    extends FileSystem
    A file system representation for a VM that does not support NIO2.
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected ForLegacyVm()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void copy​(java.io.File source, java.io.File target)
      Copies a file.
      void move​(java.io.File source, java.io.File target)
      Moves a file.
      • Methods inherited from class java.lang.Object

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

      • ForLegacyVm

        protected ForLegacyVm()
    • Method Detail

      • copy

        public void copy​(java.io.File source,
                         java.io.File target)
                  throws java.io.IOException
        Description copied from class: FileSystem
        Copies a file.
        Specified by:
        copy in class FileSystem
        Parameters:
        source - The source file.
        target - The target file.
        Throws:
        java.io.IOException - If an I/O exception occurs.
      • move

        public void move​(java.io.File source,
                         java.io.File target)
                  throws java.io.IOException
        Description copied from class: FileSystem
        Moves a file.
        Specified by:
        move in class FileSystem
        Parameters:
        source - The source file.
        target - The target file.
        Throws:
        java.io.IOException - If an I/O exception occurs.