JDeveloper SCM API

oracle.ide.scm.env
Interface SCMFileFactory


public interface SCMFileFactory

Convenience factory for framework version files.


Method Summary
 SCMFile createFile(java.io.File f)
          Creates a file for the given location, identified by a File wrapper.
 SCMFile createFile(oracle.ide.model.Locatable l)
          Creates a file for the given location, identified by a locatable element in the IDE model.
 SCMFile createFile(java.lang.String path)
          Creates a file for the given location, identified by an abstract path String for the file location.
 SCMFile createFile(java.net.URL url)
          Creates a file for the given location, identified by a URL.
 

Method Detail

createFile

public SCMFile createFile(oracle.ide.model.Locatable l)
Creates a file for the given location, identified by a locatable element in the IDE model.
Parameters:
l - the locatable entity identifying file location.
Returns:
the constructed file instance.

createFile

public SCMFile createFile(java.net.URL url)
Creates a file for the given location, identified by a URL.
Parameters:
url - the URL identifying file location.
Returns:
the constructed file instance.

createFile

public SCMFile createFile(java.io.File f)
Creates a file for the given location, identified by a File wrapper.
Parameters:
file - the File identifying file location.
Returns:
the constructed file instance.

createFile

public SCMFile createFile(java.lang.String path)
Creates a file for the given location, identified by an abstract path String for the file location.
Parameters:
path - the String identifying file location by absolute path.
Returns:
the constructed file instance.

Copyright © 2002 Oracle Corporation