Class PathFileFactory

java.lang.Object
com.sshtools.common.files.vfs.PathFileFactory
All Implemented Interfaces:
com.sshtools.common.files.AbstractFileFactory<PathFile>

@Deprecated(since="3.1.0", forRemoval=true) public class PathFileFactory extends Object implements com.sshtools.common.files.AbstractFileFactory<PathFile>
Deprecated, for removal: This API element is subject to removal in a future version.
Deprecated. Use NioFileFactory and NioFile.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Deprecated, for removal: This API element is subject to removal in a future version.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    com.sshtools.common.events.Event
    populateEvent(com.sshtools.common.events.Event evt)
    Deprecated, for removal: This API element is subject to removal in a future version.
     

    Methods inherited from class java.lang.Object

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

    • PathFileFactory

      public PathFileFactory(Path base)
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • getFile

      public PathFile getFile(String path) throws com.sshtools.common.permissions.PermissionDeniedException, IOException
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      getFile in interface com.sshtools.common.files.AbstractFileFactory<PathFile>
      Throws:
      com.sshtools.common.permissions.PermissionDeniedException
      IOException
    • populateEvent

      public com.sshtools.common.events.Event populateEvent(com.sshtools.common.events.Event evt)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      populateEvent in interface com.sshtools.common.files.AbstractFileFactory<PathFile>
    • getDefaultPath

      public PathFile getDefaultPath() throws com.sshtools.common.permissions.PermissionDeniedException, IOException
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      getDefaultPath in interface com.sshtools.common.files.AbstractFileFactory<PathFile>
      Throws:
      com.sshtools.common.permissions.PermissionDeniedException
      IOException