Interface VFSConnectionFileNameTransformer<T extends VFSConnectionDetails>

All Known Implementing Classes:
DefaultVFSConnectionFileNameTransformer

public interface VFSConnectionFileNameTransformer<T extends VFSConnectionDetails>
The VFSConnectionFileNameTransformer interface contains functionality for transforming file names between the PVFS and connection/provider namespaces.
  • Method Summary

    Modifier and Type
    Method
    Description
    org.apache.commons.vfs2.FileName
    toProviderFileName(ConnectionFileName pvfsFileName, T details)
    Transforms a PVFS file name to a provider file name.
    toPvfsFileName(org.apache.commons.vfs2.FileName providerFileName, T details)
    Transforms a provider file name to a PVFS file name.
  • Method Details

    • toProviderFileName

      @NonNull org.apache.commons.vfs2.FileName toProviderFileName(@NonNull ConnectionFileName pvfsFileName, @NonNull T details) throws KettleException
      Transforms a PVFS file name to a provider file name.
      Parameters:
      pvfsFileName - The PVFS file name.
      details - The connection details of the connection referenced by pvfsFileName.
      Returns:
      The provider file name.
      Throws:
      KettleException
    • toPvfsFileName

      @NonNull ConnectionFileName toPvfsFileName(@NonNull org.apache.commons.vfs2.FileName providerFileName, @NonNull T details) throws KettleException
      Transforms a provider file name to a PVFS file name.
      Parameters:
      providerFileName - The provider file name.
      details - The connection details associated with providerFileName.
      Returns:
      The PVFS file name.
      Throws:
      KettleException