Class FileExtractionMode

  • All Implemented Interfaces:
    ExtractionMode

    public class FileExtractionMode
    extends java.lang.Object
    implements ExtractionMode

    In the adapter configuration file this class is aliased as file-extraction-mode which is the preferred alternative to the fully qualified classname when building your configuration.

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void extract​(org.apache.commons.compress.archivers.tar.TarArchiveInputStream tarArchiveInputStream, AdaptrisMessage adaptrisMessage)  
      java.lang.String getFilenameMatch()
      A resolvable regular expression to match which files within the archive to extract.
      void setFilenameMatch​(java.lang.String filenameMatch)
      A resolvable regular expression to match which files within the archive to extract.
      FileExtractionMode withFilenameMatch​(java.lang.String filenameMatch)  
      • Methods inherited from class java.lang.Object

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

      • FileExtractionMode

        public FileExtractionMode()
      • FileExtractionMode

        public FileExtractionMode​(java.lang.String filenameMatch)
    • Method Detail

      • withFilenameMatch

        public FileExtractionMode withFilenameMatch​(java.lang.String filenameMatch)
      • getFilenameMatch

        public java.lang.String getFilenameMatch()
        A resolvable regular expression to match which files within the archive to extract.
      • setFilenameMatch

        public void setFilenameMatch​(java.lang.String filenameMatch)
        A resolvable regular expression to match which files within the archive to extract.