Interface IFileErrorHandler

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void close()
      This method closes the handler;
      void handleFile​(org.apache.commons.vfs2.FileObject file)
      Tells the handler which file is being processed.
      void handleLineError​(long lineNr, String filePart)
      This method handles an error when processing the line with corresponding lineNr.
      void handleNonAccessibleFile​(org.apache.commons.vfs2.FileObject file)
      This method handles a file that is required, but is not accessible.
      void handleNonExistantFile​(org.apache.commons.vfs2.FileObject file)
      This method handles a file that is required, but does not exist.
    • Method Detail

      • handleFile

        void handleFile​(org.apache.commons.vfs2.FileObject file)
                 throws HopException
        Tells the handler which file is being processed.
        Parameters:
        file -
        Throws:
        HopException
      • handleLineError

        void handleLineError​(long lineNr,
                             String filePart)
                      throws HopException
        This method handles an error when processing the line with corresponding lineNr.
        Parameters:
        lineNr -
        filePart - allows us to split error according to a filePart
        Throws:
        HopException
      • handleNonExistantFile

        void handleNonExistantFile​(org.apache.commons.vfs2.FileObject file)
                            throws HopException
        This method handles a file that is required, but does not exist.
        Parameters:
        file -
        Throws:
        HopException
      • handleNonAccessibleFile

        void handleNonAccessibleFile​(org.apache.commons.vfs2.FileObject file)
                              throws HopException
        This method handles a file that is required, but is not accessible.
        Parameters:
        file -
        Throws:
        HopException