public interface IDependencyScanner
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
|
LogicalFile scan(java.lang.String file, java.lang.String sourceDir) throws java.io.FileNotFoundException
file
- the name of the filesourceDir
- the directory where the file can be locatedjava.io.FileNotFoundException
- an exception occurredLogicalFile scan(java.lang.String file, java.lang.String sourceDir, java.lang.String encoding) throws java.io.FileNotFoundException
file
- the name of the filesourceDir
- the directory where the file can be locatedencoding
- the encoding to be used to read the content of the filejava.io.FileNotFoundException
- an exception occurredLogicalFile scan(java.lang.String file, java.io.InputStream inputStream)
file
- the name of the fileinputStream
- inputStream the file contentLogicalFile scan(java.lang.String file, java.io.InputStream inputStream, java.lang.String encoding)
file
- the name of the fileinputStream
- inputStream the file contentencoding
- the encoding of the file contentjava.util.List<LogicalFile> scanArchive(java.lang.String archive, java.lang.String sourceDir, java.lang.String encoding) throws BuildException
archive
- the name of the archivesourceDir
- the directory where the archive can be locatedencoding
- the encodingBuildException
- an exception occurredjava.util.List<LogicalFile> scanArchive(java.lang.String archive, java.lang.String sourceDir) throws BuildException
archive
- the name of the archivesourceDir
- the directory where the archive can be locatedBuildException
- an exception occurredLogicalFile scanArchivedFile(java.lang.String archive, java.lang.String sourceDir, java.lang.String file) throws BuildException
archive
- the name of the archivesourceDir
- the directory where the archive can be locatedfile
- the name of the fileBuildException
- an exception occurredLogicalFile scanArchivedFile(java.lang.String archive, java.lang.String sourceDir, java.lang.String file, java.lang.String encoding) throws BuildException
archive
- the name of the archivesourceDir
- the directory where the archive can be locatedfile
- the name of the fileencoding
- the encodingBuildException
- an exception occurred<IBM Copyright © 2018 IBM Corp. All Rights Reserved.