com.ibm.dbb.dependency

Interface IDependencyScanner

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method and Description
      LogicalFile scan(java.lang.String file, java.io.InputStream inputStream)
      Scan and collect logical dependency of a file.
      LogicalFile scan(java.lang.String file, java.io.InputStream inputStream, java.lang.String encoding)
      Scan and collect logical dependency of a file
      LogicalFile scan(java.lang.String file, java.lang.String sourceDir)
      Scan and collect logical dependency of a file.
      LogicalFile scan(java.lang.String file, java.lang.String sourceDir, java.lang.String encoding)
      Scan and collect logical dependency of a file
      java.util.List<LogicalFile> scanArchive(java.lang.String archive, java.lang.String sourceDir)
      Scan and collect logical dependencies from an archive.
      java.util.List<LogicalFile> scanArchive(java.lang.String archive, java.lang.String sourceDir, java.lang.String encoding)
      Scan and collect logical dependencies from an archive
      LogicalFile scanArchivedFile(java.lang.String archive, java.lang.String sourceDir, java.lang.String file)
      Scan and collect the logical dependency from an archived file.
      LogicalFile scanArchivedFile(java.lang.String archive, java.lang.String sourceDir, java.lang.String file, java.lang.String encoding)
      Scan and collect the logical dependency from an archived file
    • Method Detail

      • scan

        LogicalFile scan(java.lang.String file,
                         java.lang.String sourceDir)
                  throws java.io.FileNotFoundException
        Scan and collect logical dependency of a file. Assumes encoding is IBM-1047.
        Parameters:
        file - the name of the file
        sourceDir - the directory where the file can be located
        Returns:
        scan
        Throws:
        java.io.FileNotFoundException - an exception occurred
      • scan

        LogicalFile scan(java.lang.String file,
                         java.lang.String sourceDir,
                         java.lang.String encoding)
                  throws java.io.FileNotFoundException
        Scan and collect logical dependency of a file
        Parameters:
        file - the name of the file
        sourceDir - the directory where the file can be located
        encoding - the encoding to be used to read the content of the file
        Returns:
        scan
        Throws:
        java.io.FileNotFoundException - an exception occurred
      • scan

        LogicalFile scan(java.lang.String file,
                         java.io.InputStream inputStream)
        Scan and collect logical dependency of a file. Assumes encoding is IBM-1047.
        Parameters:
        file - the name of the file
        inputStream - inputStream the file content
        Returns:
        scan
      • scan

        LogicalFile scan(java.lang.String file,
                         java.io.InputStream inputStream,
                         java.lang.String encoding)
        Scan and collect logical dependency of a file
        Parameters:
        file - the name of the file
        inputStream - inputStream the file content
        encoding - the encoding of the file content
        Returns:
        scan
      • scanArchive

        java.util.List<LogicalFile> scanArchive(java.lang.String archive,
                                                java.lang.String sourceDir,
                                                java.lang.String encoding)
                                         throws BuildException
        Scan and collect logical dependencies from an archive
        Parameters:
        archive - the name of the archive
        sourceDir - the directory where the archive can be located
        encoding - the encoding
        Returns:
        scanArchive
        Throws:
        BuildException - an exception occurred
      • scanArchive

        java.util.List<LogicalFile> scanArchive(java.lang.String archive,
                                                java.lang.String sourceDir)
                                         throws BuildException
        Scan and collect logical dependencies from an archive. Assumes encoding is IBM-1047.
        Parameters:
        archive - the name of the archive
        sourceDir - the directory where the archive can be located
        Returns:
        scanArchive
        Throws:
        BuildException - an exception occurred
      • scanArchivedFile

        LogicalFile scanArchivedFile(java.lang.String archive,
                                     java.lang.String sourceDir,
                                     java.lang.String file)
                              throws BuildException
        Scan and collect the logical dependency from an archived file. Assumes encoding is IBM-1047.
        Parameters:
        archive - the name of the archive
        sourceDir - the directory where the archive can be located
        file - the name of the file
        Returns:
        scanArchivedFile
        Throws:
        BuildException - an exception occurred
      • scanArchivedFile

        LogicalFile scanArchivedFile(java.lang.String archive,
                                     java.lang.String sourceDir,
                                     java.lang.String file,
                                     java.lang.String encoding)
                              throws BuildException
        Scan and collect the logical dependency from an archived file
        Parameters:
        archive - the name of the archive
        sourceDir - the directory where the archive can be located
        file - the name of the file
        encoding - the encoding
        Returns:
        scanArchivedFile
        Throws:
        BuildException - an exception occurred

<IBM Copyright © 2018 IBM Corp. All Rights Reserved.