| 
 | Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.6.0) E13403-07 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectoracle.javatools.patch.PatchContributor
public class PatchContributor
This class contributes index files to a patch-related operation performed by
 a PatchEngine instance.
| Constructor Summary | |
|---|---|
| PatchContributor(java.io.File directoryFile)Constructs a new PatchContributorfor the given directory. | |
| PatchContributor(java.io.File directoryFile,
                 java.lang.String argumentFilePath)Constructs a new PatchContributorfor the given directory and 
 argument file path. | |
| Method Summary | |
|---|---|
| protected  PatchIndexFile | constructIndexFile(java.lang.String path)Constructs an index file object representing the given file path. | 
| protected  PatchIndexFile | constructIndexFileImpl(java.io.File directoryFile,
                       java.lang.String path)Constructs an index file object representing the given directory and path. | 
|  java.lang.String | getArgumentFilePath()Gets the argument file path for file contribution. | 
| protected  java.lang.String | getBaseDirectoryPath()Gets the base directory path for file contribution. | 
|  java.io.File | getDirectoryFile()Gets the working directory file for file contribution. | 
| protected  java.lang.String | getFilePath()Gets the single file path for file contribution. | 
| protected  boolean | isArgumentDirectory()Gets whether the argument file exists on the filesystem as a directory. | 
| protected  boolean | isArgumentFileExists()Gets whether the argument file exists on the filesystem. | 
| protected  java.lang.String[] | listFilePaths(boolean recursive)Lists contributed file paths for comparison. | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public PatchContributor(java.io.File directoryFile)
PatchContributor for the given directory.
directoryFile - the working directory file.
public PatchContributor(java.io.File directoryFile,
                        java.lang.String argumentFilePath)
PatchContributor for the given directory and 
 argument file path.
directoryFile - the working directory file.argumentFilePath - the path of file(s) to contribute.| Method Detail | 
|---|
public java.io.File getDirectoryFile()
public java.lang.String getArgumentFilePath()
protected java.lang.String getBaseDirectoryPath()
PatchEngine.createModel(oracle.javatools.patch.PatchContributor, oracle.javatools.patch.PatchCreateOptions).
null if the argument is not a directory.protected java.lang.String getFilePath()
PatchEngine.createModel(oracle.javatools.patch.PatchContributor, oracle.javatools.patch.PatchCreateOptions).
null if the argument is not a regular file.protected java.lang.String[] listFilePaths(boolean recursive)
PatchEngine.createModel(oracle.javatools.patch.PatchContributor, oracle.javatools.patch.PatchCreateOptions).
recursive - true if directories should be listed recursively.
protected PatchIndexFile constructIndexFile(java.lang.String path)
path - the file path.
protected PatchIndexFile constructIndexFileImpl(java.io.File directoryFile,
                                                java.lang.String path)
directoryFile - the working directory file.path - the path.
protected boolean isArgumentFileExists()
true if the file exists.protected boolean isArgumentDirectory()
true if the file exists as a directory.| 
 | Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.6.0) E13403-07 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||